summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/JitWindow.cpp
AgeCommit message (Collapse)Author
2016-06-24Reformat all the things. Have fun with merge conflicts.Pierre Bourdon
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-08DolphinWX: Remove unnecessary includesLioncash
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-11-05DolphinWX: Eliminate most usages of event tables in the debugger.Lioncash
Moves things over to Bind.
2014-10-24Implements LLVM based disassembler for the debugger.Ryan Houdek
This will work for all of our platforms, x86, ARMv7, and AArch64. Main issue with this is that LLVM's cmake files aren't correctly finding the LLVM install. Not sure if this is Ubuntu's issue or not, it may just work on other operating systems. We could potentially improve this, you can pass in a specific CPU in to the LLVM disassembler. This would probably affect latency times that are reported by LLVM's disassembly? This needs to be further investigated later.
2014-10-21Cleans up the JIT block viewer in the WX UI.Ryan Houdek
This code was an absolute mess. It had allocated an arbitrarily large string buffer to hold instructions that were disassembled. Strip out all of the nasty raw C string manipulation and replaces it with ostringstream usage. Fixes an issue where if you didn't have a JIT recompiler running then Dolphin would instantly crash if you tried comparing PPC to x86 code. Changed the disassembly of the host side code from being inline to the function to instead being in a class, this will be required when I add support for ARMv7 and AArch64 to this window.
2014-09-08Include CommonTypes.h instead of Common.h.Rohit Nirmal
2014-08-30DolphinWX: Clean up brace placementsLioncash
2014-08-17Merge pull request #821 from FioraAeterna/fixjitcompareDolphin Bot
Debugger: fix JIT block viewer PPC view
2014-08-16Debugger: fix JIT block viewer PPC viewFiora
The JIT block compare code didn't set the same options for the PPCAnalyzer as the actual JIT did, which made the PPC side of the JIT block viewer stop at the first branch instead of the end of the block.
2014-08-15Debugger: fix blowup calculation againFiora
Wasn't quiiite right in 3c2567 either.
2014-08-14Debugger: fix blowup calculationFiora
2014-08-04Common: Introduce the new Gekko disassembler to Common.Lioncash
This moves the Gekko disassembler to Common where it should be. Having it in the Bochs disassembly Externals is incorrect. Unlike the PowerPC disassembler prior however, this one is updated to have an API that is more fitting for C++. e.g. Not needing to specify a string buffer and size. It does all of this under the hood. This modifies all the DebuggingInterfaces as necessary to handle this.
2014-08-03Remove x86_32 from DolphinWX.Ryan Houdek
2014-05-18Fix a typo in the JIT debugger windowLioncash
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.
2014-04-30Move the JitWindow debugging window over to using the new PPCAnalyzer class.Ryan Houdek
2014-03-04Make our architecture defines less stupid.Ryan Houdek
Our defines were never clear between what meant 64bit or x86_64 This makes a clear cut between bitness and architecture. This commit also has the side effect of bringing up aarch64 compiling support.
2014-02-23Make DolphinWX/ mostly IWYU clean.Pierre Bourdon
2014-02-20Fix more header sorting issues in DolphinWX/ (now check-includes clean).Pierre Bourdon
2014-02-18Convert all includes to relative paths.Lioncash
2014-02-17Second and final pass of clearing out tabs.Lioncash
2013-12-31Remove unnecessary Src/ foldersJasper St. Pierre