From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: "H . J . Lu" Cc: gdb@sources.redhat.com Subject: Re: prgregset_t vs gdb_gregset_t on Linux: not the same! Date: Sat, 09 Jun 2001 13:34:00 -0000 Message-id: <3B22492E.5020908@cygnus.com> References: <20010608132730.A4056@nevyn.them.org> <20010608155907.A21698@nevyn.them.org> <20010608221452.B3344@lucon.org> X-SW-Source: 2001-06/msg00065.html > I believe your Linux/MIPS patch is wrong. Please follow the examples in > linux/alpha, linux/i386 and linux/ppc. Basically, you have to include > config/tm-linux.h and config/nm-linux.h from the linux/mips header > files. Most likely, yes. > not > > #include "nm-linux.h" > #include "tm-linux.h" > > Otherwise, you may not get the header files you want since mips has > both liltle and big endians. Once you have done that, your problem > should go away. Just FYI, this isn't correct. GDB configurations don't have -Isrc/gdb/config/$MACHINE added to the include path (if one does then it is broken). Consequently "tm-linux.h" will find the header in src/gdb/config. Besides, there are old farts that still believe that <> is reserved for system headers :-) Andrew