[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Problems compiling gdbserver



Hi Sridhar,

Sridhar Addagada wrote:

> In file included from ../gdb/gdbserver/linux-mb-low.c:28:
> /home/sridhar/uClinux-dist-test.11_07/include/asm/ptrace.h:108:1:
> warning: "PT_SYSCALL" redefined
> In file included from ../gdb/gdbserver/linux-mb-low.c:27:
> /home/sridhar/uClinux-dist-test.11_07/include/sys/ptrace.h:82:1:
> warning: this is the location of the previous definition
> ../gdb/gdbserver/linux-mb-low.c:48: error: `PT_FSR' undeclared here
> (not in a function)

gdbserver includes some kernel headers (via uClibc) - can you check your
linux-2.4.x/include/asm-microblaze/ptrace.h file?

PT_FSR should be defined in there, if not then you need to checkout a more
recent version of the kernel from CVS.

Regards,

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/