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

A problem in builting i386-rtems-gdb aware of ADA



Hello,everyone!Recently I want to build a i386-rtems-gdb aware of ADA so that I can debug ADA source program.My environmets is : Mandrake linux release 5.3(include gcc-2.7.2.3),binutils-2.9.1,newlib-1.8.0,gcc-2.8.1,gdb-4.17,rtems-4.0.0,gnat-3.11p-src.First,I apply rtems patches to newlib,binutils,gcc,gdb.Then I apply gnat-3.11p-src patches to gcc,gas,gdb,binutils.When I run ./bit_ada and ./bit_rtems,it all was fine.But when I run ./bit_gdb i386 to build i386-rtems-gdb,the error appeared.The error messages look likes the following:

../../gdb-4.17/gdb/i386-tdep.c: In function i386_linux_sigtramp_saved_pc':
../../gdb-4.17/gdb/i386-tdep.c:801: `SIGCONTEXT_PC_OFFSET' undeclared (first use this function)
../../gdb-4.17/gdb/i386-tdep.c:801: (Each undeclared identifier is reported only once
../../gdb-4.17/gdb/i386-tdep.c:801: for each function it appears in.)
gmake[1]: *** [i386-tdep.o] Error 1
gmake: *** [all-gdb] Error 2
ERROR: **** FAILED **** build

Why cause these error?What's something wrong with bit_gdb scripts?or I still need some patches?Thanks in advance for any help.


_____________________________________________
????????--???????????????????? http://www.263.net
???????? ???????? ???????? ???????? ??????????
???????? ???????? ???????? ???????? ????????
???????? ???????? ???????? ???????? ????????