This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Consistent format for memory addresses
> > However "info frame" gives:
> >
> > (gdb) info frame
> > Stack level 0, frame at 0xbffff730:
> > eip = 0x80484d9 in main (myprog.c:55); saved eip 0x4006015a
> > ^^^^^^^^^
> >
> > Still seven digits. The human mind adjusts easily to such differences, but
> > front ends---or at least the one I'm writing for Emacs---don't.
>
> I have no objection - but is it really that hard to treat it as a
> number?
In truth I don't mind seven or eight digits. What makes it difficult for me
is if the output of the CLI commands constantly change. I know the answer is
GDB/MI but I'm (still!) hoping to get one release of Emacs out using
annotations.
I don't know the logic behind the change in disassemble but my concern is that
it will mean that others like "info frame" will change at some unspecified
time in the future. I realise that I have to expect CLI output to move
forward, I'm just trying to ensure it happens in a co-ordinated manner.
Nick