This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [eliz@is.elta.co.il: GDB: fine print in 387 info]


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]