summaryrefslogtreecommitdiffstats
path: root/src/core/gdbstub/gdbstub.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* GDBStub works with both Unicorn and Dynarmic now (#941)Hedges2018-08-071-0/+10
| | | | | | * GDBStub works with both Unicorn and Dynarmic now * Tidy up
* gdbstub: Use type alias for breakpoint mapsLioncash2018-08-051-37/+42
| | | | | | | | Rather than having to type out the full std::map type signature, we can just use a straightforward alias. While we're at it, rename GetBreakpointList to GetBreakpointMap, which makes the name more accurate. We can also get rid of unnecessary u64 static_casts, since VAddr is an alias for a u64.
* gdbstub: Move all file-static variables into the GDBStub namespaceLioncash2018-08-051-35/+36
| | | | | Keeps everything under the same namespace. While we're at it, enclose them all within an inner anonymous namespace.
* gdbstub: Replace PAddr alias with VAddrLioncash2018-08-051-10/+10
| | | | In all cases, a virtual address is being passed in, not a physical one.
* kernel: Move object class to its own source filesLioncash2018-08-021-1/+0
| | | | | | General moving to keep kernel object types separate from the direct kernel code. Also essentially a preliminary cleanup before eliminating global kernel state in the kernel code.
* gdbstub: Get rid of a few signed/unsigned comparisonsLioncash2018-07-191-7/+7
| | | | Ensures both operands in comparisons are the same signedness.
* More improvements to GDBStub (#653)Hedges2018-07-131-45/+149
| | | | | | | | | | | * More improvements to GDBStub - Debugging of threads should work correctly with source and assembly level stepping and modifying registers and memory, meaning threads and callstacks are fully clickable in VS. - List of modules is available to the client, with assumption that .nro and .nso are backed up by an .elf with symbols, while deconstructed ROMs keep N names. - Initial support for floating point registers. * Tidy up as requested in PR feedback * Tidy up as requested in PR feedback
* Update clang formatJames Rowe2018-07-031-9/+8
|
* Rename logging macro back to LOG_*James Rowe2018-07-031-28/+28
|
* GDB Stub Improvements (#508)Hedges2018-06-061-26/+144
| | | | | | | | | | * GDB Stub should work now. * Applied clang-format. * Replaced htonll with swap64. * Tidy up.
* core: Implement multicore support.bunnei2018-05-111-12/+12
|
* core/gdbstub: Move logging macros to new fmt-compatible onesLioncash2018-04-261-38/+37
|
* Clean Warnings (?)N00byKing2018-03-191-1/+1
|
* gdbstub: Silence formatting specifier warningsLioncash2018-02-141-6/+9
|
* gdbstub: Update registers and sizes for aarch64Rozlette2018-01-211-113/+155
| | | | | | | | | | | | | | | | | This gets gdbstub working at least to the point where clients can communicate with it. What works: - Reading/writing GPRegs - Reading/writing memory - Interrupting the emulated program and continuing What does NOT work: - Breakpoints. Sizes have been updated to u64, but support will need to be added in the interpreter for them to work. - VRegs. Mostly because my gdb was having issues with 128-bit regs for some reason. However, the current u128 representation is a bit awkward to use and should probably be updated first.
* Fixes some cast warnings, partial port of citra #3064 (#106)River City Ransomware2018-01-201-13/+14
| | | | | | | | * Fixes some cast warnings, partially fixes citra #3064 * Converted casts to uint32_t to u32 * Ran clang-format
* Fix gdbstub typo, fixes Citra #3318River City Ransomware2018-01-171-1/+1
| | | Core::System().GetInstance().IsPoweredOn() -> Core::System::GetInstance().IsPoweredOn()
* arm: Remove SkyEye/Dyncom code that is ARMv6-only.bunnei2018-01-031-6/+3
|
* Memory: Remove all GetPointer usages from the GDB stub.Subv2017-10-041-8/+12
|
* Fixed type conversion ambiguityHuw Pascoe2017-09-301-2/+2
|
* Doxygen: Amend minor issues (#2593)Mat M2017-02-271-0/+1
| | | | | | | | | Corrects a few issues with regards to Doxygen documentation, for example: - Incorrect parameter referencing. - Missing @param tags. - Typos in @param tags. and a few minor other issues.
* Fix some warnings (#2399)Jonathan Hao2017-01-041-5/+0
|
* core: Replace "AppCore" nomenclature with just "CPU".bunnei2016-12-221-20/+19
|
* Address clang-format issues.bunnei2016-12-221-2/+2
|
* core: Consolidate core and system state, remove system module & cleanups.bunnei2016-12-221-19/+20
|
* gdbstub: const correctness changesLioncash2016-12-161-9/+8
| | | | Also uses size_t as the length indicator type, as is common with buffers.
* gdbstub: Remove global variable from public interfaceLioncash2016-12-151-6/+14
| | | | | | | | | Currently, this is only ever queried, so adding a function to check if the server is enabled is more sensible. If directly modifying this externally is ever desirable, it should be done by adding a function to the interface, rather than exposing implementation details directly.
* gdbstub: Remove unused includeJannik Vogel2016-12-051-1/+0
|
* Support mingw cross-compileJannik Vogel2016-12-051-1/+2
|
* Add mingw compile supportJames Rowe2016-11-141-1/+1
|
* Small fix to let IDA see target.xmlmailwl2016-10-281-1/+1
|
* Remove special rules for Windows.h and library includesYuri Kunde Schlesner2016-09-211-1/+1
|
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-181-45/+56
|
* gdbstub: E0 should be E00shinyquagsire232016-06-081-1/+1
|
* gdbstub: Silence missing prototype warningsLioncash2016-05-101-3/+3
|
* fixup simple type conversions where possibleAlexander Laties2016-05-071-10/+10
|
* gdbstub: Don't check if unsigned int is > 0Sam Spilsbury2016-04-231-2/+2
|
* Adopted WinterMute's gdbstub changespolaris-2016-04-061-23/+85
| | | | | This fixes the comments left on the PR (whitespace, SO_REUSEADDR, comment changes).
* Fix read and write register blocks in gdbstubpolaris-2015-11-221-26/+31
| | | | Previously, the padding wasn't correctly accounted for which caused the gdbstub to read and write everything after R15 (starting with the dummy FPA registers) incorrectly, which caused CPSR to not be handled correctly. Everything appears to be working as expected with this change.
* Fix bug with reading addresses and lengthspolaris-2015-11-041-45/+55
|
* Change headerspolaris-2015-10-291-2/+2
|
* Add some headers so TravisCI will hopefully workpolaris-2015-10-221-0/+2
|
* Use CHAR_BIT instead of 8polaris-2015-10-221-11/+11
|
* Handle changes pointed out in comments on PRpolaris-2015-10-221-61/+34
|
* Add a register variable to loopspolaris-2015-10-211-6/+9
|
* Update register read loops to go with last commitpolaris-2015-10-211-6/+7
|
* Pad responses to gdb for VFP registerspolaris-2015-10-211-0/+3
|
* Try to add support for VFP registerspolaris-2015-10-211-4/+21
|
* Fix buffer overflow commentspolaris-2015-10-211-2/+3
|
* Remove unnecessary new lines, changed Deinit to Shutdownpolaris-2015-10-121-5/+5
|
* Use BreakpointAddress struct instead of passing address directlypolaris-2015-10-041-4/+9
|
* Implement gdbstubpolaris-2015-10-041-0/+940