Commit Graph
43 Commits
Author SHA1 Message Date
Kelvin Sherlock a6b58bf382 the loader "tool" was also doing macsbug decoding, so unify that as well.
This also fixes the interrupt bug with the debug shell, where it
manifested as a stack underflow warning.
2026-08-12 23:12:18 -04:00
Kelvin Sherlock a4c2d362c5 --trace-macsbug improvements
1. actual macsbug names weren't supported.
2. --trace-macsbug was also printing toolcalls
3. unify the macsbug name fetching code since it was implemented
multiple times
4. add safe read functions so disasm won't trigger memory breakspoints.
2026-08-10 21:44:15 -04:00
Kelvin Sherlock 534e81ffb6 enhance to debugger help to include some undocumented functionality. 2026-08-08 16:50:01 -04:00
Kelvin Sherlock 6151ca1e87 use rl_attempted_completion_over to suppress standard filename completion logic. 2023-06-30 18:17:50 -04:00
Kelvin Sherlock c8310c0dbd fixup clang range warnings. 2020-11-05 18:53:52 -05:00
Kelvin Sherlock 2766493398 clean up trailing whitespace / end of file linefeed. 2015-02-18 12:00:21 -05:00
tsupplis 88bc42d153 gcc-4.9 support/c11 fixes 2015-02-17 00:23:12 +00:00
Kelvin Sherlock b1d647d695 debugger - don't add history line if it's identical to previous line 2015-02-13 20:26:26 -05:00
Kelvin Sherlock d0d1e84162 debugger/List - make sure end > start 2015-02-06 19:56:57 -05:00
Kelvin Sherlock cb08a2e4c2 fix bug with tab completion -- rl_completion_entry_function has 2 entries (and null terminator) if there's only 1 match. 2015-01-12 18:12:00 -05:00
Kelvin Sherlock 2adbe82704 merge in debug template code 2015-01-05 20:28:56 -05:00
Kelvin Sherlock a111120033 add ;error and ;date debugger commands 2014-12-30 14:09:07 -05:00
Kelvin Sherlock ab783ea4c9 inline macsbug names for JSR address, adjust macsbug name printing. 2014-12-28 12:55:16 -05:00
Kelvin Sherlock 6d3ba9430e debugger - print jsr/jmp macsbug in disassembly. 2014-12-27 13:11:26 -05:00
Kelvin Sherlock 45269178b4 reserve the inverted error table. 2014-12-25 18:39:01 -05:00
Kelvin Sherlock 22a8d6f588 debugger - ;i will show error code information. 2014-12-24 19:08:54 -05:00
Kelvin Sherlock 8c9e50cd8f Add backtrace support to the debug console.
Squashed commit of the following:

commit b3afbbf15839d5ad9343d4540674510cbd6cd16d
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Wed Dec 24 17:44:20 2014 -0500

    improve the debugger help a little bit

commit 82e1e4e3e4d802defbf49c965500ffc72c7be1af
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Wed Dec 24 17:32:21 2014 -0500

    prevent filename tab completion in the debugger.

commit 8765e5f428562e5ab6f8d59ec0e0460a834c66b5
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Wed Dec 24 16:06:21 2014 -0500

    skip macsbug names when disassembling via ;list

commit 9b87cfb3851fedc6423629608f53076741116991
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Wed Dec 24 15:43:13 2014 -0500

    improved backtracing.

commit f8e364d7c568fe6728c8efd5587f7edeb49f5816
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Wed Dec 24 15:17:28 2014 -0500

    BackTrace support
2014-12-24 17:44:48 -05:00
Kelvin Sherlock 7196a85c36 support pstring macsbugs names 2013-09-01 22:27:09 -04:00
Kelvin Sherlock d275c389e6 better debugger memory logging 2013-09-01 15:32:39 -04:00
Kelvin Sherlock 9c9decbe3b store symbol table as a range 2013-08-23 23:04:23 -04:00
Kelvin Sherlock a11eacf317 load error and global files 2013-08-21 22:41:08 -04:00
Kelvin Sherlock c7acd1d8e1 more info for ;info 2013-08-21 22:40:53 -04:00
Kelvin Sherlock cff61ead03 rewrite trap file parser 2013-08-19 22:12:55 -04:00
Kelvin Sherlock 05317be1e1 hex dump should fit within 80 columns 2013-08-18 21:07:47 -04:00
Kelvin Sherlock 7c2cf3d1fd debugger completion for symbols 2013-08-18 21:07:24 -04:00
Kelvin Sherlock b7b6d8656b EnvMap -> Variable 2013-08-18 19:03:32 -04:00
Kelvin Sherlock 810b521a11 Debugger -load debug names 2013-08-18 17:07:07 -04:00
Kelvin Sherlock fc04a2b2cb add license 2013-07-30 01:06:19 -04:00
Kelvin Sherlock eacb0d4716 debugger - print value as binary 2013-07-19 19:58:30 -04:00
Kelvin Sherlock 81ce611bfc RootDirForPath 2013-07-14 15:17:35 -04:00
Kelvin Sherlock 6e68357051 misc fixes 2013-07-13 13:46:54 -04:00
Kelvin Sherlock 69cd091397 fix pc = expression (clear fellow cpu cache) 2013-07-13 13:42:49 -04:00
Kelvin Sherlock 0c87dbd545 memory read/write breaks 2013-07-13 13:42:19 -04:00
Kelvin Sherlock fa92c2fca7 print 4cc interpretation of data 2013-07-09 23:26:21 -04:00
Kelvin Sherlock eedf675ebd debugger updates 2013-07-07 23:42:27 -04:00
Kelvin Sherlock 6fbde7e1bf move debugger code into bin, clean up dispatch 2013-07-07 23:42:27 -04:00
Kelvin Sherlock 5d87528367 debugger / macsbug names 2013-07-07 23:42:26 -04:00
Kelvin Sherlock 0a729dcacf AddressMap / ToolMap class 2013-07-07 23:42:26 -04:00
Kelvin Sherlock 4bdac5a62a SIGINT handler, continue 2013-07-07 23:42:25 -04:00
Kelvin Sherlock 27cd692790 more debugger functionality 2013-07-07 23:42:25 -04:00
Kelvin Sherlock 552d95f9e0 breakpoint code 2013-07-07 23:42:25 -04:00
Kelvin Sherlock 03c0951253 debugger improvements 2013-07-07 23:42:24 -04:00
Kelvin Sherlock ba2fba246b cleanup to move debugger to separate file 2013-07-07 23:42:24 -04:00