summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger
AgeCommit message (Collapse)Author
2015-06-07Remove ARMv7 support.Ryan Houdek
2015-05-31Break out the disassembler code from the WXWidgets UI.Ryan Houdek
This cleans up some of the code between core and UI for disassembling and dumping code blocks. Should help the QT UI in bringing up its debug UI since it won't have to deal with this garbage now.
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2015-05-23DolphinWX: Add missing breaks to a switch in RegisterViewLioncash
Technically the fallthrough would never happen, as the row numbers correspond to the grid view (which will always be zero or greater). However, it gets rid of compiler warnings on higher warning levels.
2015-05-20JitWindow: Add missing virtual destructor to HostDisassemblerLioncash
HostDisassemblerLLVM has a destructor, but the class uses a pointer to the base class.
2015-05-08DolphinWX: Remove unnecessary includesLioncash
2015-04-28DolphinWX: Remove unnecessary forward declarationsLioncash
These are all fully defined
2015-04-27DolphinWX: Make some debugger functions/vars privateLioncash
Some classes expose things that aren't used outside of them (and in some cases, shouldn't be exposed).
2015-04-24To make up for it, make pressing enter on the value textbox set the value.comex
2015-04-24Remove mnemonics in MemoryWindow.comex
On OS X, this broke Cmd-V to paste in the text boxes. Apparently wx thinks having mnemonics (which are Alt-* on Windows) be Cmd-* on OS X, even if this disables standard shortcuts, is a good idea. Lioncash suggested just getting rid of the accelerators on non-menu controls, so I'm doing that rather than disabling them only on OS X.
2015-04-24Fix wx bullshit which made the watch view assert on my machine.comex
1) Apparently wxString::Format is type safe, and passing a u32 to it with the format "%lu" crashes with a meaningless assertion failure. Sure, it's the wrong type, but the error sure doesn't help... 2) "A MenuItem ID of Zero does not work under Mac". Thanks for the helpful assert message, no thanks for making your construct have random platform-specific differences for no reason (it's not like menu item IDs directly correspond to a part of Cocoa's menu API like they do on Win32).
2015-04-15Debugger: Update the registers/watches before refreshing grids.Lioncash
2015-04-07Debugger: Fix memory leaks related to grid tablesLioncash
Incrementing the reference count here isn't necessary, as they construct with a count of 1. Incrementing again results in the attributes not being freed.
2015-03-24DolphinWX: Get rid of wxGrid-based casts in the debugger.Lioncash
This technically also fixes a memory leak in WatchView.cpp, because the table setting was done such that the grid wouldn't take ownership of the table, which means said table wouldn't be deleted in the grid's destructor.
2015-03-07Added the ability to split the Debugger window horizontally and vertically ↵skidau
via the Add Panes menu.
2015-02-26DolphinWX: Remove an unnecessary sizer from the watch windowLioncash
The AUI manager already has the grid in place. Setting the sizer isn't needed.
2015-02-26Merge pull request #2117 from lioncash/idskidau
DolphinWX: Remove unnecessary control IDs
2015-02-25Merge pull request #2127 from lioncash/auiRyan Houdek
DolphinWX: Relocate the address search into the code window
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-24Merge pull request #2118 from lioncash/auiLioncash
DolphinWX: Use AUI in the code window.
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-24DolphinWX: Remove unnecessary control IDsLioncash
These don't need to be specifically identified.
2015-02-23DolphinWX: Make RAM watch strings translateableLioncash
2015-02-23Merge pull request #1978 from lioncash/dspwindskidau
DSPDebugWindow: Fix issue where the DSPLLE window would hang Dolphin on OSX
2015-02-19PowerPC: Get rid of magic numbers related to interp/JIT initialization.Lioncash
2015-02-14DolphinWX: Change Enable(false) calls into Disable() where possibleLioncash
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.
2015-01-28DSPDebugWindow: Fix issue where the DSPLLE window would hang Dolphin on OSXLioncash
2015-01-18Improve the LLVM disassembler in the debug window.Ryan Houdek
There are a couple things in this PR. Fixes a bug where if we hit an invalid instruction we would infinite loop. Fixes an issue where on AArch64 it would show invalid instructions for all NEON instructions. This was due to asimd and crc being optional extensions and LLVM not enabling them by default. So we have to specify a CPU which has the feature. LLVM 3.6 will let us select by features instead of CPUs, but we don't have a release of that quite yet. If we are on an architecture that has a known instruction size, we will continue onward after hitting the invalid instruction. If we don't have a known instruction size like on x86, we will instead just dump the rest of the block.
2014-12-20DolphinWX/Globals: Variable naming consistencyStevoisiak
2014-12-17Merge pull request #1702 from CarlKenner/DebugSymbolsskidau
Fix many bugs with the Symbols menu (when run with -d argument).
2014-12-17Rename menu items, stop using PanicAlertT, remove -d when running from ↵CarlKenner
visual studio. I accidentally committed my addition of the -d option that I used for testing, now it's fixed.
2014-12-17Merge bad map file loading into the original function.CarlKenner
2014-12-17Apparently c_str doesn't return a C str.CarlKenner
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-12-12MemoryWindow: Remove wxSprintf call, use wxString::Format instead.Lioncash
2014-11-15WatchView: Pass string by reference in SetWatchNameLioncash
2014-11-13MemoryView: Fix a dealloc of a stack referenceLioncash
stack allocation only works with the root menu. Any other children must be heap allocated. These however, will be freed by wxWidgets.
2014-11-11DolphinWX: Eliminate some memory leaksLioncash
Since the menus aren't actually assigned a parent, they would not be freed by wx. Plus, these should have initially been constructed on the stack in the first place. Technically any time someone right-clicked the game list they would be leaking memory.
2014-11-09DolphinWX: Kill off trivial event tablesLioncash
Also fixes some of the wonky stuff in Main where we would fire an event to do post-init stuff which isn't necessary anymore.
2014-11-07DolphinWX: Remove unnecessary forward declarationsLioncash
2014-11-05DolphinWX: Eliminate most usages of event tables in the debugger.Lioncash
Moves things over to Bind.
2014-11-02MemoryWindow: Use p_pFakeVMEM, not the virtual mirrorJasper St. Pierre
They point to the same contents, so there's no reason to use the mirror. This lets us make all the mirrors static.
2014-10-31Fixed a warning in the add memcheck from Watch windowskidau
2014-10-28DolphinWX: Fix -Wsign-compare warnings.Rohit Nirmal
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-26Added a new option to add memchecks from the Watch window.skidau
Fixed watch labels from being truncated at the first whitespace.