summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/CodeWindow.cpp
AgeCommit message (Collapse)Author
2016-05-13Core: Threadsafety Synchronization Fixes (Frame Advance / FifoPlayer)EmptyChaos
Fix Frame Advance and FifoPlayer pause/unpause/stop. CPU::EnableStepping is not atomic but is called from multiple threads which races and leaves the system in a random state; also instruction stepping was unstable, m_StepEvent had an almost random value because of the dual purpose it served which could cause races where CPU::Run would SingleStep when it was supposed to be sleeping. FifoPlayer never FinishStateMove()d which was causing it to deadlock. Rather than partially reimplementing CPU::Run, just use CPUCoreBase and then call CPU::Run(). More DRY and less likely to have weird bugs specific to the player (i.e the previous freezing on pause/stop). Refactor PowerPC::state into CPU since it manages the state of the CPU Thread which is controlled by CPU, not PowerPC. This simplifies the architecture somewhat and eliminates races that can be caused by calling PowerPC state functions directly instead of using CPU's (because they bypassed the EnableStepping lock).
2016-01-16Fix debugger address lookup search control.Ryan Houdek
The dumb wxAUI stuff isn't fully implemented for GTK. So the wxAuiToolBar doesn't properly deduce the size it needs to be when it contains a wxSearchCtrl object. Force the manager to set its minimum size to something reasonable.
2016-01-05DolphinWX: Stop using XPM imagesJosJuice
Using the XPM format for images has become a maintenance problem because people don't know how to create them. This commit removes all XPM images and all C files that contain PNG images. DolphinWX now uses the PNGs in the Resources folder instead, just like DolphinQt and DolphinQt2 do.
2015-10-11Merge pull request #2798 from lioncash/searchflacs
Debugger: Use wxSearchCtrls instead of wxTextCtrl for address searching.
2015-10-04CPU: Convert CCPU into a namespaceLioncash
There's not much point to a class with only static member functions.
2015-09-26CodeWindow: Ignore search error highlighting on empty stringLioncash
Doesn't make sense to flag these as errors, since someone might search for another address.
2015-09-26CodeWindow: Replace wxStaticText/wxTextCtrl combo with a wxSearchCtrlLioncash
Same thing, one control.
2015-06-12Options: merge SCoreStartupParameter into SConfigdegasus
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2015-05-08DolphinWX: Remove unnecessary includesLioncash
2015-03-07Added the ability to split the Debugger window horizontally and vertically ↵skidau
via the Add Panes menu.
2015-02-25DolphinWX: Relocate the address search into the code windowLioncash
It's only function is in this pane. Leaving it on the main application toolbar not only looks gross, but subverts what a user might think it applies to.
2015-02-24DolphinWX: Use AUI in the code window.Lioncash
Allows for resizing of the callstack, function call/callers windows etc. First step in slightly improving the code window.
2015-02-19PowerPC: Get rid of magic numbers related to interp/JIT initialization.Lioncash
2015-02-11Make address translation respect the CPU translation mode.magumagu
The PowerPC CPU has bits in MSR (DR and IR) which control whether addresses are translated. We should respect these instead of mixing physical addresses and translated addresses into the same address space. This is mostly mass-renaming calls to memory accesses APIs from places which expect address translation to use a different version from those which do not expect address translation. This does very little on its own, but it's the first step to a correct BAT implementation.
2014-12-20DolphinWX/Globals: Variable naming consistencyStevoisiak
2014-12-17Add "Load bad map file" option for map files on disc that don't quite match.CarlKenner
Currently it is very simple and naive, but filters out most of the bad matches.
2014-12-17Fix many bugs with the Symbols menu (when run with -d argument).CarlKenner
The Symbols menu is now fully useable.
2014-11-05DolphinWX: Eliminate most usages of event tables in the debugger.Lioncash
Moves things over to Bind.
2014-10-28DolphinWX: Remove unused variable.Rohit Nirmal
2014-10-26Fixed a crash that would occur if a new watch were added by entering a watch ↵skidau
name. Code style updates.
2014-10-26Disable block linking while debugger stepping or if there are breakpointsskidau
2014-10-26Added a RAM Watch window to the debuggerskidau
Conflicts: Source/Core/Core/HW/Memmap.cpp Source/Core/Core/HW/Memmap.h Source/Core/DolphinWX/Debugger/CodeWindow.h
2014-10-26Changed the step over routine to a single stepping version that steps until ↵skidau
a blr is encountered. Cleared out all temporary breakpoints on each step to prevent phantom breakpoints from stopping the debugger.
2014-10-26Added a "Step Out" (aka "Step return") function to the debugger.skidau
Conflicts: Source/Core/DolphinWX/Debugger/CodeWindow.h
2014-10-13Core: Use an enum for indicating CPU coresLioncash
2014-10-08Debug: fix disable block linking optionFiora
Previously it did the opposite of what it was supposed to; when checked, it'd turn block linking on, and when unchecked, it'd turn it off. Also update JITIL's block linking disabling in debug mode to match the behavior of the regular JIT.
2014-09-30JIT: properly remove FIFO write addresses when code is invalidatedFiora
Fixes a bug caused by interaction with carry optimizations; might fix other issues too.
2014-09-18Debugger: make opcode search a bit betterFiora
Search a wider range (not all games fit in the originally searched range). Print a notice if the opcode isn't found, instead of silently failing.
2014-09-10Merge pull request #1027 from rohit-n/change-includeRyan Houdek
Include CommonTypes.h instead of Common.h.
2014-09-09Kill Core::g_CoreStartupParameter.Rachel Bryk
2014-09-08Include CommonTypes.h instead of Common.h.Rohit Nirmal
2014-08-17Wx: further cleanup to toolbar creation processarchshift
2014-08-17Fixed toolbar's disabled button color.archshift
2014-08-15Core: Kill off Host_ShowJitResultsLioncash
Another host function that can be killed off by simple wx event handling
2014-08-11Merge pull request #761 from archshift/better-toolbarshuffle2
Changed main toolbar to be flush with the rest of the window.
2014-08-09Removed TBDebug, using TBMain instead. Fixed debugger assert.archshift
2014-08-09Removed AuiTB, moved functions to menubar (Debug->Perspectives)archshift
2014-08-08Core: Kill off Host_UpdateLogDisplay()Lioncash
This was actually never used as far as I can tell. There was no wx event handling done whatsoever for the global ID, So this is basically a dead function.
2014-08-08Included toolbar headers, preventing forward-decl errorsarchshift
2014-08-08Changed toolbar to be static, increasing UI integrationarchshift
2014-07-13DolphinWX: Remove the use of some wx 1.0 compatibility functions.Lioncash
Uses the recommended replacements.
2014-07-11DolphinWX: Allow short-hand searching in the code windowLioncash
Lessens the restrictions on the searching in the code view. Now typing out the full 8 digit hex number isn't needed. For example, you don't need to type 000000FF to go to FF, you just literally type FF. Also makes JumpToAddress a boolean function to remain consistent with the DSP code view. This will also change the address search box to have a red background if either an invalid hex number is given, or if it's longer than 8 characters
2014-07-10DolphinWX: Remove unnecessary true within event Skip callsLioncash
2014-07-10DolphinWX: Get rid of an unneccessary cast in CodeWindowLioncash
CFrame inherits from CRenderFrame which inherits from wxFrame which eventually inherits from wxWindow, so this cast is not required.
2014-07-07Revert "Don't add segfault handler in interpreter mode"Pierre Bourdon
2014-07-05CoreParameter: add enum CPUBackendTillmann Karras
2014-05-18Remove an unnecessary null check in CodeWindow.cpp.Lioncash
The validity of ToolBar is checked at the beginning of the function
2014-05-17Kill off _T and wxT macrosLioncash
Minor other alterations that relate to above as well. Also added the PanicAlertT version of alerts for some error messages that use PanicAlert. We want the user to actually understand why the error occurred.