Commit Graph

225 Commits

Author SHA1 Message Date
Vicki Pfau 821c8988a3 Debugger: Add more operators 2017-12-27 20:57:33 -05:00
Vicki Pfau f3ea4caf84 All: Support building on PPC Mac 2017-12-23 16:23:51 -08:00
Vicki Pfau d484c98eba Debugger: Add get/set register functions 2017-10-13 00:29:38 -07:00
Vicki Pfau a2447d09e3 Debugger: Redo argument handling 2017-10-13 00:28:35 -07:00
Vicki Pfau 220b786c9c Core: Add symbol lookups from scripts 2017-07-15 19:51:51 -07:00
Vicki Pfau 6a3002d398 Python: Add CLI debugger support 2017-07-15 07:30:32 -07:00
Vicki Pfau a033f8783b Core: Add scripting debugger callbacks 2017-07-12 17:43:04 -07:00
Vicki Pfau 25b4faef12 Python: Implement Python script backend 2017-07-12 17:43:04 -07:00
Vicki Pfau 1a7a544ba7 Core: Add basic scripting bridge 2017-07-12 17:43:04 -07:00
Vicki Pfau bd30fbeb81 Debugger: Export debugger interface 2017-06-11 13:28:55 -07:00
Vicki Pfau 201da5adac Debugger: Add mDebuggerRunFrame convenience function 2017-06-11 12:04:42 -07:00
Vicki Pfau 70a6622a5c Debugger: Execution tracing 2017-06-11 09:26:26 -07:00
Vicki Pfau 9c144266ec LR35902: Add watchpoints 2017-06-02 19:15:13 -07:00
Vicki Pfau c4175846d8 Debugger: Print segment numbers 2017-05-22 22:19:46 -07:00
Vicki Pfau 404332e689 Debugger: Add symbol table skeleton, GB support 2017-05-22 22:19:46 -07:00
Vicki Pfau fcc8b5c805 Debugger: Add segment breakpoints 2017-05-22 22:19:46 -07:00
Vicki Pfau b8c6bba712 Debugger: Allow segment values for read/write 2017-05-22 22:19:46 -07:00
Vicki Pfau 8b805b3909 Debugger: Make attaching a backend idempotent 2017-04-21 16:20:52 -07:00
Jeremy Herbert 93dbae1e5f Fix GDB stub reporting of CPSR 2017-03-28 21:51:15 -07:00
Vicki Pfau 000f232c58 Core: Begin log revamp 2017-03-05 15:58:00 -08:00
Vicki Pfau 1e7a62fbb3 Revert "ARM: Overhaul PSR access"
This reverts commit 37f5feb713 and fixup commits.
2017-01-31 11:46:24 -08:00
Vicki Pfau 37f5feb713 ARM: Overhaul PSR access 2017-01-28 11:11:59 -08:00
Jeffrey Pfau fa884d071e All: Migrate includes to separate directory 2016-12-30 21:25:07 -08:00
Jeffrey Pfau 6d898542c7 Merge branch 'feature/python-bindings' 2016-12-29 01:23:31 -08:00
Jeffrey Pfau 2f1cb61d01 All: Add C++ header guards 2016-12-26 21:01:55 -08:00
Jeffrey Pfau f72a582382 Debugger: Fix included file 2016-12-25 15:22:40 -08:00
Jeffrey Pfau e5c61e0093 Python: Preliminary, incomplete bindings 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 6eadd35ee6 Debugger: Add functions for read- or write-only watchpoints 2016-12-23 15:40:24 -08:00
Jeffrey Pfau 0870c98c6c Debugger: Fix debug build on Windows 2016-10-31 11:36:32 -07:00
Jeffrey Pfau 02c3ea80fd Debugger: Don't automatically free CLI backend 2016-10-26 21:43:24 -07:00
Jeffrey Pfau 26a62cce64 Debugger: Fix missing newline 2016-10-26 21:40:35 -07:00
Jeffrey Pfau a0d223eef7 Debugger: Modularize CLI debugger 2016-10-25 21:12:35 -07:00
Jeffrey Pfau 82df0e1cab Debugger: Remove unused data structures 2016-10-11 13:12:09 -07:00
Jeffrey Pfau 5e02cbd6f3 Debugger: Turn off watchpoints if they aren't supported 2016-09-16 11:47:12 -07:00
Jeffrey Pfau d618bf8d7b Debugger: Fix warning in GDB stub 2016-09-15 09:37:21 -07:00
Jeffrey Pfau d390bd6b7f Debugger: Remove meaningless file 2016-09-07 22:57:19 -07:00
Jeffrey Pfau c45d91d311 Debugger: Add software breakpoints, fix cleanup 2016-09-07 17:49:27 -07:00
Jeffrey Pfau 819062a9a5 Debugger: Add segment parsing 2016-08-23 12:17:39 -07:00
Jeffrey Pfau 73f4fad5c3 Debugger: Fix GDB writing to PC 2016-08-07 11:07:54 -07:00
Jeffrey Pfau a967f9aac4 Debugger: Fix GDB breakpoints 2016-08-07 10:45:50 -07:00
Touched 5e4e00938c Debugger: Support additional GDB stub packets
Implements memory writing packets 'X' and 'M', and register writing
packets 'G' and 'P'.

Fixes the checksum verification to allow inclusion of '\0', which is
needed for the binary data argument of packet 'X'.
2016-07-20 16:43:03 +02:00
Jeffrey Pfau 87758b274c Debugger: CLI debugger now exits when end-of-stream is reached 2016-06-06 22:08:22 -07:00
Jeffrey Pfau 1a42ed2b37 SDL, Debugger: Fix some deinitialization issues 2016-06-04 15:28:21 -07:00
Jeffrey Pfau 24c0893cf5 All: Put version.h somewhere better 2016-05-04 01:36:25 -07:00
Jeffrey Pfau 93e5b6da7b All: Rearrange some directories to make more sense 2016-05-04 01:28:30 -07:00
Jeffrey Pfau c03f9bcc03 Debugger: Fix identifier lookup 2016-04-25 22:44:44 -07:00
Jeffrey Pfau 1cc0bdeec1 Debugger: Refactor large portions of debugger to allow for multiplatform 2016-04-25 21:49:29 -07:00
Jeffrey Pfau ab44084236 Core: Get thread log level working again 2016-02-17 21:10:21 -08:00
Jeffrey Pfau ff637c84d1 GBA: Kill GBALog 2016-02-11 23:50:58 -08:00
Jeffrey Pfau d86440e04f Debugger: Begin refactoring ARMDebugger into Debugger 2016-02-10 22:40:21 -08:00
Jeffrey Pfau fbfbbbf279 Core: Merge ARMComponent and LR35902Component 2016-02-10 22:40:21 -08:00
Jeffrey Pfau ce45f6ea3f Debugger: Further differentiate read and write watchpoints, fix gdb watch behavior 2016-01-16 11:16:03 -08:00
Jeffrey Pfau e30674d053 Debugger: Convert breakpoints and watchpoints from linked-lists to vectors 2016-01-12 18:07:04 -08:00
Jeffrey Pfau 16ba5bd05f Debugger: Fix watchpoints 2016-01-12 18:06:13 -08:00
Jeffrey Pfau 3a15553c09 All: Reset next event to cycles instead of zero to interrupt 2015-10-05 19:20:17 -07:00
Jeffrey Pfau 76663c41cd Util: Migrate popcount32 to a header 2015-08-19 01:29:21 -07:00
Jeffrey Pfau 3a9ac188d4 Debugger: Fix use-after-free in breakpoint clearing code (again) 2015-08-15 22:12:26 -07:00
Jeffrey Pfau c9c9ff802c Debugger: Only support breaking into the external debugger in debug builds 2015-08-08 02:26:35 -07:00
Anthony J. Bentley 7506bf8f19 Debugger: Accept break/a, break/t 2015-07-29 02:08:36 -06:00
Augustin Cavalier fc74db8c09 All: Initial work on MSVC support. 2015-06-30 22:09:17 -04:00
Jeffrey Pfau 908e61f415 All: Add clang-format options and run them 2015-06-29 20:45:08 -07:00
Jeffrey Pfau 12505766e1 All: MSVS2015 fixes (via zeromus) 2015-06-06 21:43:24 -07:00
Jeffrey Pfau 47d945bf75 All: Make version.c 2015-05-15 08:56:28 -07:00
Jeffrey Pfau 3ae3b292ee Debugger: Fix boundary conditions in tab completion 2015-04-23 23:54:35 -07:00
Jeffrey Pfau c4aedfa69a Debugger: Free watchpoints in addition to breakpoints 2015-04-22 21:24:56 -07:00
Jeffrey Pfau 2666c77837 Debugger: Fix use-after-free in breakpoint clearing code 2015-04-22 21:24:02 -07:00
Jeffrey Pfau 86bf02b9d5 Debugger: Fix uninitialized variables 2015-04-22 20:42:32 -07:00
Jeffrey Pfau 31d39bbd1d Debugger: Fix software breakpoints not being properly initialized 2015-03-01 12:16:38 -08:00
Jeffrey Pfau a0b94db9a7 All: Fix *nix build 2015-02-23 23:49:40 -08:00
Jeffrey Pfau 5d1b05c990 Debugger: Use new SocketWouldBlock layer 2015-02-23 23:29:01 -08:00
Jeffrey Pfau 27c4308ef5 Debugger: Add CLI function for writing a register 2015-02-22 17:33:35 -08:00
Jeffrey Pfau f0e99779d4 All: Fix more warnings 2015-02-14 23:47:08 -08:00
Jeffrey Pfau 1f08d4c3c5 Debugger: Add CLI functions for examining memory regions 2015-02-13 01:14:08 -08:00
Jeffrey Pfau 90e57c027b Debugger: Rename read/write commands 2015-02-13 00:56:43 -08:00
Jeffrey Pfau 8eeaa11256 ARM7: Add ARMRunFake for rolling back the PC and running a fake opcode 2015-02-04 23:30:04 -08:00
Jeffrey Pfau f9110fc51e ARM7: Make component numbers be size_t instead of int 2015-02-04 02:35:30 -08:00
Jeffrey Pfau 56291e63e5 Debugger: Add support for soft breakpoints 2015-02-03 03:12:04 -08:00
Jeffrey Pfau 96ac72fbf9 Debugger: Watchpoints now report address watched (fixes #68) 2015-01-26 01:16:24 -08:00
Jeffrey Pfau f4fcdf35d4 Debugger: Clean up debugger interface, removing obsolete state (fixes #67) 2015-01-25 13:28:14 -08:00
Jeffrey Pfau acb510619f Qt: Add error message if listening for GDB port fails 2015-01-21 22:57:45 -08:00
Jeffrey Pfau 973f1a64a0 Debugger: Ensure GDB stub never hard-blocks 2015-01-19 02:34:36 -08:00
Jeffrey Pfau 6d43fb7890 Debugger: Merge Thumb BL instructions when disassembling (fixes #133) 2015-01-18 13:28:58 -08:00
Jeffrey Pfau 99d75ee9ed Debugger: Simplify debugger state machine to play nicer with the GBA thread loop 2015-01-18 02:27:25 -08:00
Jeffrey Pfau 56d5fb579d Debugger: Clean up GDB stub network interfacing 2015-01-16 00:50:15 -08:00
Jeffrey Pfau d5ce3d5ee1 Debugger: Enable GDB stub to update while running 2015-01-15 21:23:32 -08:00
Jeffrey Pfau 6f11092565 Debugger: Make watchpoints work with STM/LDM (fixes #169) 2015-01-14 20:51:07 -08:00
Jeffrey Pfau 6d18b9aea5 GBA Memory: Simplify memory API and use fixed bus width 2015-01-10 01:20:21 -08:00
Jeffrey Pfau 76bf0427f1 Util: Support IPv6 2015-01-09 02:03:57 -08:00
Jeffrey Pfau da094de3da Debugger: Fix binary print putting spaces between digits 2015-01-08 01:03:27 -08:00
Jeffrey Pfau 747fcca3b2 Debugger: Add CLI functions for writing to memory 2014-12-26 01:40:50 -08:00
Jeffrey Pfau f25821524d Debugger: Fix watchpoints triggering too late 2014-12-25 14:48:30 -08:00
Jeffrey Pfau da612b51e8 Debugger: Add CLI "frame", frame advance command 2014-12-20 01:43:48 -08:00
Jeffrey Pfau a4a7ef4a1b Debugger: Properly isolate CLI debugger code 2014-12-08 15:59:17 -08:00
Jeffrey Pfau f6a7fedb28 All: Add MPL 2.0 license and associated headers 2014-12-03 00:39:06 -08:00
Jeffrey Pfau 55ba676d7c Debugger: Actually execute system commands 2014-11-27 11:02:47 -08:00
Jeffrey Pfau a8731d280f Debugger: Add support for additional platforms in CLI 2014-11-27 09:47:03 -08:00
Jeffrey Pfau 8ec961d2e8 Debugger: Add reset command 2014-11-27 08:58:22 -08:00
Jeffrey Pfau 732e29e3c6 Fix argument number errors 2014-10-25 01:48:55 -07:00
Jeffrey Pfau 344364695e Fix parsing of numbers starting with 0 (and disregarding octal) 2014-10-23 01:53:18 -07:00
Jeffrey Pfau 768316a8d3 Fix two small consistency issues 2014-10-23 01:53:18 -07:00