This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: prgregset_t vs gdb_gregset_t on Linux: not the same!
"H . J . Lu" <hjl@lucon.org> writes:
> 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. But in order to do that, please make sure you do
>
> #include <nm-linux.h>
> #include <tm-linux.h>
>
> 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.
Bullshit.
Mark