summaryrefslogtreecommitdiffstats
path: root/src/core/gdbstub (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-08-07GDBStub works with both Unicorn and Dynarmic now (#941)Hedges1-0/+10
* GDBStub works with both Unicorn and Dynarmic now * Tidy up
2018-08-05gdbstub: Use type alias for breakpoint mapsLioncash1-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.
2018-08-05gdbstub: Move all file-static variables into the GDBStub namespaceLioncash1-35/+36
Keeps everything under the same namespace. While we're at it, enclose them all within an inner anonymous namespace.
2018-08-05gdbstub: Replace PAddr alias with VAddrLioncash2-14/+14
In all cases, a virtual address is being passed in, not a physical one.
2018-08-02kernel: Move object class to its own source filesLioncash1-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.
2018-07-19gdbstub: Get rid of a few signed/unsigned comparisonsLioncash1-7/+7
Ensures both operands in comparisons are the same signedness.
2018-07-13More improvements to GDBStub (#653)Hedges2-47/+155
* 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
2018-07-03Update clang formatJames Rowe1-9/+8
2018-07-03Rename logging macro back to LOG_*James Rowe1-28/+28
2018-06-06GDB Stub Improvements (#508)Hedges2-26/+153
* GDB Stub should work now. * Applied clang-format. * Replaced htonll with swap64. * Tidy up.
2018-05-11core: Implement multicore support.bunnei1-12/+12
2018-04-26core/gdbstub: Move logging macros to new fmt-compatible onesLioncash1-38/+37
2018-03-19Clean Warnings (?)N00byKing1-1/+1
2018-02-14gdbstub: Silence formatting specifier warningsLioncash1-6/+9
2018-01-21gdbstub: Update registers and sizes for aarch64Rozlette1-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.
2018-01-21Format: Run the new clang format on everythingJames Rowe1-1/+1
2018-01-20Fixes some cast warnings, partial port of citra #3064 (#106)River City Ransomware1-13/+14
* Fixes some cast warnings, partially fixes citra #3064 * Converted casts to uint32_t to u32 * Ran clang-format
2018-01-17Fix gdbstub typo, fixes Citra #3318River City Ransomware1-1/+1
Core::System().GetInstance().IsPoweredOn() -> Core::System::GetInstance().IsPoweredOn()
2018-01-03arm: Remove SkyEye/Dyncom code that is ARMv6-only.bunnei1-6/+3
2017-10-04Memory: Remove all GetPointer usages from the GDB stub.Subv1-8/+12
2017-09-30arm: Use 64-bit addressing in a bunch of places.bunnei1-2/+2
2017-09-30Fixed type conversion ambiguityHuw Pascoe1-2/+2
2017-02-27Doxygen: Amend minor issues (#2593)Mat M1-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.
2017-01-04Fix some warnings (#2399)Jonathan Hao1-5/+0
2016-12-22core: Replace "AppCore" nomenclature with just "CPU".bunnei1-20/+19
2016-12-22Address clang-format issues.bunnei1-2/+2
2016-12-22core: Consolidate core and system state, remove system module & cleanups.bunnei1-19/+20
2016-12-16gdbstub: const correctness changesLioncash1-9/+8
Also uses size_t as the length indicator type, as is common with buffers.
2016-12-15gdbstub: Remove global variable from public interfaceLioncash2-12/+19
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.
2016-12-05gdbstub: Remove unused includeJannik Vogel1-1/+0
2016-12-05Support mingw cross-compileJannik Vogel1-1/+2
2016-11-14Add mingw compile supportJames Rowe1-1/+1
2016-10-28Small fix to let IDA see target.xmlmailwl1-1/+1
2016-09-21Remove special rules for Windows.h and library includesYuri Kunde Schlesner1-1/+1
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot1-1/+0
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot2-52/+63
2016-06-08gdbstub: E0 should be E00shinyquagsire231-1/+1
2016-05-10gdbstub: Silence missing prototype warningsLioncash1-3/+3
2016-05-07fixup simple type conversions where possibleAlexander Laties1-10/+10
2016-04-23gdbstub: Don't check if unsigned int is > 0Sam Spilsbury1-2/+2
2016-04-06Adopted WinterMute's gdbstub changespolaris-1-23/+85
This fixes the comments left on the PR (whitespace, SO_REUSEADDR, comment changes).
2016-03-20Fix missing headerLittleWhite1-0/+2
2015-11-22Fix read and write register blocks in gdbstubpolaris-1-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.
2015-11-04Fix bug with reading addresses and lengthspolaris-1-45/+55
2015-10-29Change headerspolaris-1-2/+2
2015-10-22Add some headers so TravisCI will hopefully workpolaris-1-0/+2
2015-10-22Use CHAR_BIT instead of 8polaris-1-11/+11
2015-10-22Handle changes pointed out in comments on PRpolaris-1-61/+34
2015-10-21Add a register variable to loopspolaris-1-6/+9
2015-10-21Update register read loops to go with last commitpolaris-1-6/+7
2015-10-21Pad responses to gdb for VFP registerspolaris-1-0/+3
2015-10-21Try to add support for VFP registerspolaris-1-4/+21
2015-10-21Fix buffer overflow commentspolaris-1-2/+3
2015-10-12Remove unnecessary new lines, changed Deinit to Shutdownpolaris-2-6/+6
2015-10-04Use BreakpointAddress struct instead of passing address directlypolaris-2-5/+15
2015-10-04Implement gdbstubpolaris-2-0/+1029
2015-09-20Implement gdbstubpolaris-2-0/+1029