prgregset_t vs gdb_gregset_t on Linux: not the same!

Andrew Cagney ac131313@cygnus.com
Mon Jun 11 10:45:00 GMT 2001


> On Mon, Jun 11, 2001 at 09:48:43AM -0400, Andrew Cagney wrote:
> 
>> 
>> With regard to #include "tm-linux.h", I'd mimic *bsd.  That way it is 
>> clear exactly what is going on.  Regardless of the semantics of "" vs <>.
> 
> 
> I disagree. I prefer the gcc way. The gdb only gets away with "" is
> we copy/link tm.h/xm.h/nm.h. If one day we ever want to have the gcc
> style tm.h/xm.h/nm.h, where you have


You've lost me here.  How can #include "config/tm-nbsd.h" not work?

BTW, it wouldn't make sense for GDB to adopt GCC's tm/xm/nm arangement 
since that doesn't facilitate multi-arch.  See the TODO file.

	enjoy,
		Andrew




More information about the Gdb mailing list