[hatari-devel] Debugger address base

Thomas Huth huth at users.berlios.de
Mon Aug 3 22:34:54 CEST 2009


On Mon, 3 Aug 2009 00:12:44 +0300
Eero Tamminen <eerot at users.berlios.de> wrote:

> > > > The debugger prompt could show this mode.
> >
> > I'd rather would just show the mode when one enters the "value"
> > command without arguments. I think you don't change the base too
> > often, so showing it at each prompt sounds a little bit too much.
> 
> Why?  Currently prompt is just ">" and I'd rather have some
> redundancy than debug something for a long time because I'd given
> something in wrong base (e.g. because I forgot that I just switched
> to other number base).

Why? Just personal taste ;-) But showing it at the prompt is ok for me,
too.

> Maybe the prompt should have also the current address for disasm /
> memdumping:
> 	0x2000 [dec]>
> :-)

Nice idea, but how do you then differentiate between memdump and disasm
address? (I think there are two separate variables which are storing
these addresses)

> > > > In the config file this option could be named e.g.
> > > > NumberInputBase.  But what should be the prefix used for decimal
> > > > numbers when non-the prefixed input is being interpreted as hex
> > > > or binary?
> > >
> > > Yes, that's what I wondered too :) Maybe we could use '+' or '#' ?
> >
> > Sounds good, I'd prefer '+'
> 
> So debugger isn't going at some point going to have support for doing
> also simple calcuations? :-)

Ok, you're right. Let's better use '#' then.

 Thomas



More information about the hatari-devel mailing list