[hatari-devel] Command completion added to debugger

Eero Tamminen eerot at users.berlios.de
Fri Sep 11 07:55:13 CEST 2009


Hi,

On Friday 11 September 2009, Thomas Huth wrote:
> Eero Tamminen <eerot at users.berlios.de> wrote:
> > I just added support for realine based command completion to the
> > debugger.

Btw. As debugger will at some point get IKBD debugging support, maybe it
would make sense to split the debugger code up a bit?

I was thinking that I could (next week) move stuff to a "debugger/"
subdirectory where would eventually be following files:
	breakcond.c
	debugcpu.c
	debugdsp.c
	debugikbd.c
	debugui.c  -- just the parsing

I'll add also a separate "t" / "trace" command for setting tracing flags
(it will make it easier to implement showing/completion for trace flags).

I could maybe also move:
* test stuff from breakcond.c to top level tests/ dir.
* number base and range parsing from str.c back to debugui.c as that is
  only used in the debugger.
* some of the stuff from falcon/dsp.c to debugger/debugdsp.c if I at some
  point add support for completing DSP register names (more of
  a newbie "TAB" help command than really useful).


What do you think?


	- Eero



More information about the hatari-devel mailing list