Commit graph

40 commits

Author SHA1 Message Date
N00byKing
1212e9e231 Clean Warnings (?) 2018-03-19 17:07:08 +01:00
Lioncash
fbe2507693 gdbstub: Silence formatting specifier warnings 2018-02-14 01:50:01 -05:00
Rozlette
939be88b01 gdbstub: Update registers and sizes for aarch64
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-21 11:12:49 -06:00
River City Ransomware
39827d573a Fixes some cast warnings, partial port of citra #3064 (#106)
* Fixes some cast warnings, partially fixes citra #3064

* Converted casts to uint32_t to u32

* Ran clang-format
2018-01-19 18:01:41 -05:00
River City Ransomware
c365642bb8 Fix gdbstub typo, fixes Citra #3318
Core::System().GetInstance().IsPoweredOn() -> Core::System::GetInstance().IsPoweredOn()
2018-01-17 09:25:25 -05:00
bunnei
b055ea2699 arm: Remove SkyEye/Dyncom code that is ARMv6-only. 2018-01-02 22:24:12 -05:00
Subv
8226539902 Memory: Remove all GetPointer usages from the GDB stub. 2017-10-04 11:33:32 -05:00
Huw Pascoe
da1c8d1522 Fixed type conversion ambiguity 2017-09-30 09:34:35 +01:00
Mat M
dc1927a9d1 Doxygen: Amend minor issues (#2593)
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-02-26 17:58:51 -08:00
Jonathan Hao
1df720ed08 Fix some warnings (#2399) 2017-01-04 13:48:29 -03:00
bunnei
8cfd0762fd core: Replace "AppCore" nomenclature with just "CPU". 2016-12-22 00:27:46 -05:00
bunnei
1fd7cfb69e Address clang-format issues. 2016-12-21 23:48:14 -05:00
bunnei
d504f6cf08 core: Consolidate core and system state, remove system module & cleanups. 2016-12-21 23:29:13 -05:00
Lioncash
cae211f90c gdbstub: const correctness changes
Also uses size_t as the length indicator type, as is common with buffers.
2016-12-16 04:06:26 -05:00
Lioncash
bec7bc3ec9 gdbstub: Remove global variable from public interface
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-15 16:37:22 -05:00
Jannik Vogel
305cc20144 gdbstub: Remove unused include 2016-12-05 19:09:16 +01:00
Jannik Vogel
89e57a3fb0 Support mingw cross-compile 2016-12-05 19:09:16 +01:00
James Rowe
f0dcbd3f73 Add mingw compile support 2016-11-13 23:50:46 -07:00
mailwl
14b159aa64 Small fix to let IDA see target.xml 2016-10-28 20:50:45 +03:00
Yuri Kunde Schlesner
32bddfa1f5 Remove special rules for Windows.h and library includes 2016-09-21 00:16:33 -07:00
Emmanuel Gil Peyrot
628ed4376a Sources: Run clang-format on everything. 2016-09-18 09:38:01 +09:00
shinyquagsire23
c09f249f90 gdbstub: E0 should be E00 2016-06-08 14:14:59 -07:00
Lioncash
601a094367 gdbstub: Silence missing prototype warnings 2016-05-10 09:17:07 -04:00
Alexander Laties
17e9bc5392 fixup simple type conversions where possible 2016-05-07 11:41:55 -04:00
Sam Spilsbury
c098a96f7d gdbstub: Don't check if unsigned int is > 0 2016-04-23 11:54:02 +08:00
polaris-
eae9c73db0 Adopted WinterMute's gdbstub changes
This fixes the comments left on the PR (whitespace, SO_REUSEADDR,
comment changes).
2016-04-06 07:01:00 -04:00
polaris-
ec1195c252 Fix read and write register blocks in gdbstub
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-22 07:48:26 -05:00
polaris-
505489551d Fix bug with reading addresses and lengths 2015-11-03 21:50:53 -05:00
polaris-
fd7f61becf Change headers 2015-10-29 06:17:29 -04:00
polaris-
ac325ce61a Add some headers so TravisCI will hopefully work 2015-10-22 00:31:49 -04:00
polaris-
f4520eb266 Use CHAR_BIT instead of 8 2015-10-22 00:19:44 -04:00
polaris-
4e0ae45d99 Handle changes pointed out in comments on PR 2015-10-22 00:11:25 -04:00
polaris-
37b35180c5 Add a register variable to loops 2015-10-21 07:45:35 -04:00
polaris-
6c4f45627c Update register read loops to go with last commit 2015-10-21 07:40:30 -04:00
polaris-
86a42ff827 Pad responses to gdb for VFP registers 2015-10-21 07:19:03 -04:00
polaris-
82f537482d Try to add support for VFP registers 2015-10-21 07:14:43 -04:00
polaris-
0de246f668 Fix buffer overflow comments 2015-10-21 06:49:49 -04:00
polaris-
6621f16576 Remove unnecessary new lines, changed Deinit to Shutdown 2015-10-11 20:07:58 -04:00
polaris-
8205925b08 Use BreakpointAddress struct instead of passing address directly 2015-10-04 11:22:31 -04:00
polaris-
1d319e5b46 Implement gdbstub 2015-10-04 11:16:59 -04:00