gdbarch.sh -- new field
Michael Snyder
msnyder@redhat.com
Fri Aug 11 12:04:00 GMT 2000
Kevin Buettner wrote:
>
> On Aug 11, 2:40pm, David Taylor wrote:
>
> > I propose the addition of a new function field to gdbarch / new macro:
> >
> > addr_next_inst / ADDR_NEXT_INST (pc)
> >
> > which given the address of an instruction (pc), returns the address of
> > the next instruction (pc + 4 in the above).
>
> I think it's a good idea, but I'd be more inclined to name it
> NEXT_INSTRUCTION_ADDRESS instead. (But I sometimes tend to be
> more verbose about these things than necessary.)
Maybe, but I like your (Kevin's) name better.
More information about the Gdb-patches
mailing list