[eliz@is.elta.co.il: GDB: fine print in 387 info]
Andrew Cagney
ac131313@cygnus.com
Thu Jul 8 00:10:00 GMT 1999
Eli Zaretskii wrote:
>
> Date: Wed, 7 Jul 1999 18:17:06 -0700
> From: Stan Shebs <shebs@cygnus.com>
>
> > It's worth considering whether this ought to be done with macros or
> > with the new architecture machinery
>
> Can you give me a hint where to look for the "new architecture
> machinery" in the sources? Is it something that was introduced only
> after 4.18 was released?
It was introduced after 4.18 was released.
I wouldn't be trying to change any i386 target to the new architecture
machinary :-) I'd just be trying to approach the problem with a
mind-set that dictates that any compile time configury is to be avoided
- #if is bad; #define X {...;...;...} is also bad.
It should be possible to create a generic info_registers_387 function.
That always asks the target for information.
Enjoy,
Andrew
More information about the Gdb-patches
mailing list