Commit Graph

171 Commits

Author SHA1 Message Date
Jeffrey Pfau ab904f2cfd Don't tab complete null 2014-10-10 03:22:44 -07:00
Jeffrey Pfau ef6e1f9e74 Fix tab-completing past the end of the completions list 2014-10-10 02:56:13 -07:00
Jeffrey Pfau 0b736c9cc8 Add disassemble alias 2014-10-10 02:50:09 -07:00
Jeffrey Pfau be82f04618 Print address alongside disassembled instructions 2014-10-10 02:45:57 -07:00
Jeffrey Pfau 6aee0693ec Add support for 0b-style literals 2014-10-10 02:38:05 -07:00
Jeffrey Pfau fd1128f90a Fix 0 not being recognized as a valid token 2014-10-10 02:33:50 -07:00
Jeffrey Pfau 3cd0b50bce Add phony strndup implementation for when we do not have one 2014-09-30 22:05:07 -07:00
Jeffrey Pfau 834395d5d9 Add customizable parsers per command 2014-09-02 21:54:19 -07:00
Jeffrey Pfau 232ae47a6c CLI debugger help 2014-09-02 09:55:05 -07:00
Jeffrey Pfau 9cdc93eeed Add watchpoints to gdb stub 2014-09-01 02:24:00 -07:00
Jeffrey Pfau 21437e91f6 Implement watchpoint removing 2014-09-01 02:23:31 -07:00
Jeffrey Pfau 98cb4698f8 Fix GDB stub not responding to invalid Z packets 2014-09-01 02:06:07 -07:00
Jeffrey Pfau be13627d37 Send correct signal back to gdb when stepping 2014-09-01 01:57:11 -07:00
Jeffrey Pfau 9a87840e7e Add invalid commands to the CLI debugger history instead of discarding them 2014-08-30 04:02:19 -07:00
Jeffrey Pfau e6148ddb13 Add p/t to CLI debugger 2014-08-30 04:00:17 -07:00
Jeffrey Pfau 383c630891 Selectable disassemble modes in CLI debugger (fixes #113) 2014-08-30 03:48:14 -07:00
Jeffrey Pfau d48dad27d1 Fix build against C++ 2014-07-20 16:37:54 -07:00
Jeffrey Pfau d8654f3b88 Use stdbool for readability 2014-07-16 01:02:34 -07:00
Jeffrey Pfau 5958d8c0da Fix missing value for divide precedence 2014-07-12 18:41:11 -07:00
Jeffrey Pfau 4638e4a017 Add parenthesis support 2014-07-12 17:58:03 -07:00
Jeffrey Pfau a58f8f8675 Support identifiers 2014-07-12 17:25:51 -07:00
Jeffrey Pfau b89d6216ac Free identifiers 2014-07-12 17:13:58 -07:00
Jeffrey Pfau ce1dd4416f Proper parser, without identifier support currently 2014-07-12 17:12:35 -07:00
Jeffrey Pfau f71edb1684 Parse expressions in a separate function 2014-07-12 14:50:09 -07:00
Jeffrey Pfau 5b7da978d1 Remove project name strings from the code 2014-07-12 04:29:12 -07:00
Jeffrey Pfau 8f151ec90f DebugVectors should inherit failure 2014-07-12 04:12:04 -07:00
Jeffrey Pfau 903f384e05 Operations on numbers in CLI debugger 2014-07-12 04:04:15 -07:00
Jeffrey Pfau 5b7a551ed8 Add disassemble CLI debugger command 2014-07-12 03:36:04 -07:00
Jeffrey Pfau aefa5f0ab8 Merge branch 'decoder'
Conflicts:
	src/debugger/cli-debugger.c
2014-07-12 00:40:40 -07:00
Jeffrey Pfau a09d8649ee Begin work on ARM disassembler 2014-07-11 03:50:29 -07:00
Jeffrey Pfau 55977796f3 Move UNUSED macro to common.h 2014-07-10 01:00:38 -07:00
Jeffrey Pfau a6c8089601 Add read watchpoints (fixes #69) 2014-07-05 22:30:20 -07:00
Jeffrey Pfau 64e8d3fb83 Fix GBDStub build on Windows 2014-04-23 21:42:08 -07:00
Jeffrey Pfau 7a4ca414e5 Restructure watchpoints 2014-04-20 00:47:49 -07:00
Jeffrey Pfau 0f68dbc832 Redo component model/type punning 2014-04-20 00:19:55 -07:00
Jeffrey Pfau c0eb7c81f7 Remove ARMMemory and ARMBoard shims 2014-04-19 18:14:17 -07:00
Jeffrey Pfau b8ecabbaa9 Fix the build 2014-04-03 00:00:06 -07:00
Jeffrey Pfau ecb1939ff1 Move common headers to common.h, remove util and debugger from being first class include directories 2014-04-02 23:51:35 -07:00
Jeffrey Pfau c8e1a9cd59 PC-relative disassembling 2014-03-29 23:08:31 -07:00
Jeffrey Pfau e60cbfaf84 Begin disassembler 2014-03-29 23:06:07 -07:00
Jeffrey Pfau 20a5fa8476 Abstract out sockets 2014-02-03 23:01:26 -08:00
Jeffrey Pfau 020aec4e7b The debugger should not stop by default 2014-02-01 20:49:12 -08:00
Jeffrey Pfau d09004cf01 Fix infinite listen errors 2014-02-01 16:27:48 -08:00
Jeffrey Pfau b9f8955890 Add debugging logging interface 2014-02-01 16:26:48 -08:00
Jeffrey Pfau d97976d0df Add stepping and clean up 2014-02-01 15:50:12 -08:00
Jeffrey Pfau 325380989c Clean up unnecessary operation in GDB stub 2014-02-01 15:39:47 -08:00
Jeffrey Pfau 9435226c58 Breakpoint clearing in CLI debugger 2014-02-01 15:39:30 -08:00
Jeffrey Pfau c30807117f Breakpoint clearing 2014-02-01 15:37:15 -08:00
Jeffrey Pfau ea6b129509 LLDB compatibility 2014-02-01 15:21:17 -08:00
Jeffrey Pfau 1541e6e0b0 Expand packet size for lldb compat 2014-02-01 05:44:40 -08:00
Jeffrey Pfau cc9575228c Add support for qHostInfo command for lldb 2014-02-01 05:40:39 -08:00
Jeffrey Pfau e4375fd3d9 Stub out [qQvV].* commands 2014-02-01 05:23:56 -08:00
Jeffrey Pfau 1c60ada7de Add support for g, m and p GDB packets 2014-02-01 05:02:54 -08:00
Jeffrey Pfau 434099ac77 Parse GDB packet format 2014-02-01 04:10:22 -08:00
Jeffrey Pfau 244f197742 Begin GDB stub 2014-02-01 03:08:32 -08:00
Jeffrey Pfau 38aac38a0c Remove obsolete, dead code 2014-02-01 01:41:25 -08:00
Jeffrey Pfau 6616ca9111 Always enable the debugger framework 2014-02-01 01:14:41 -08:00
Jeffrey Pfau a214481b76 Fix typo in type 2014-02-01 01:02:26 -08:00
Jeffrey Pfau 5bbf7f2308 Separate out CLI debugger from debugging interface 2014-02-01 00:47:36 -08:00
Jeffrey Pfau 6822a0d770 Start separating out debugger logic 2014-02-01 00:27:53 -08:00
Jeffrey Pfau 1f8c1bcdfa Fix signal handling for debugger 2014-01-19 23:42:34 -08:00
Jeffrey Pfau a107243c7a Support pausing 2013-10-16 00:46:09 -07:00
Jeffrey Pfau 290b64b171 Compile-time flag for disabling debugger 2013-10-12 00:34:59 -07:00
Jeffrey Pfau 2ef64ede02 Basic tab-completion 2013-10-10 01:05:25 -07:00
Jeffrey Pfau 01d8569262 Remove reliance on linenoise 2013-10-10 00:29:41 -07:00
Jeffrey Pfau a7182b8df9 Add watchpoints 2013-09-26 00:26:11 -07:00
Jeffrey Pfau fc7aec557b Count cycles for load/store singles 2013-05-04 23:57:12 -07:00
Jeffrey Pfau 13c95a2aae Build fixes for linux 2013-04-26 03:08:59 -07:00
Jeffrey Pfau 0ba7451e3a Install SIGINT signal handler for debugger 2013-04-18 01:52:46 -07:00
Jeffrey Pfau 0b468a9db8 Null-check that DebugVectors get generated 2013-04-18 01:39:51 -07:00
Jeffrey Pfau 1ca6487151 Create subdirs 2013-04-14 13:04:24 -07:00