Building GDB problem

STEPHANE.S.P.PERIO@tts.thomson.fr STEPHANE.S.P.PERIO@tts.thomson.fr
Wed Aug 6 02:29:00 GMT 1997


Hi,
I apologize if this is an FAQ, but i see nothing about that in the mailing
lists.
I'm using gnu win32 b18 on NT 4.0 SP3 and i failed to build GDB.
Under bash, in the directory my-gdb, i run ../gdb/configure and it recognized
correctly the i386-pc-cygwin32 environment.
When i run make, the first problem i have is that the include files malloc.h
and bfd.h are missing but i found a copy of them in
/cdk/newlib/libc/stdlib/malloc.h and /gnuwin32/b18/include/bfd.h.
Are these two files the correct ones ?
If i use them, the make stops when compiling the i386-tdep.c file with the
error :

../gdb/i386-tdep.c: In function `get_longjmp_target':
../gdb/i386-tdep.c:592: `SP_ARG0' undeclared (first use this function)
../gdb/i386-tdep.c:592: (each undeclared identifier is reported only once
../gdb/i386-tdep.c:592: for each function it appears in.)
../gdb/i386-tdep.c: In function `set_assembly_language_command':
../gdb/i386-tdep.c:698: `bfd_mach_i386_i386' (first use this function)
../gdb/i386-tdep.c:698: `bfd_mach_i386_i8086' (first use this function)
../gdb/i386-tdep.c: In function _initialize_i386_tdep':
../gdb/i386-tdep.c:709: `bfd_mach_i386_i386' (first use this function)

Can someone help me ?
Thanks in advance.
S. PERIO

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list