diff options
author | marcel <marcel@FreeBSD.org> | 2004-12-05 06:59:01 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2004-12-05 06:59:01 +0000 |
commit | 89c49e51786da50dd459228a0b14239fe1e2a03b (patch) | |
tree | 7df2ea36f8331888c5cec3cddd30480812478751 /gnu/usr.bin/gdb/arch/ia64 | |
parent | b8987584644f2f14d3f9c058783c4b15aef90553 (diff) | |
download | FreeBSD-src-89c49e51786da50dd459228a0b14239fe1e2a03b.zip FreeBSD-src-89c49e51786da50dd459228a0b14239fe1e2a03b.tar.gz |
Source changes to allow building a cross-debugger. Move solib.c and
solib-svr4.c to the MD makefiles because they are native files for
alpha and sparc64, but target files for amd64, i386 and ia64.
Note that kgdb(1) does not yet build as a cross-debugger due to
libkvm.
Diffstat (limited to 'gnu/usr.bin/gdb/arch/ia64')
-rw-r--r-- | gnu/usr.bin/gdb/arch/ia64/Makefile | 1 | ||||
-rw-r--r-- | gnu/usr.bin/gdb/arch/ia64/config.h | 2 | ||||
-rw-r--r-- | gnu/usr.bin/gdb/arch/ia64/init.c | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/gnu/usr.bin/gdb/arch/ia64/Makefile b/gnu/usr.bin/gdb/arch/ia64/Makefile index 191e139..5462cc2 100644 --- a/gnu/usr.bin/gdb/arch/ia64/Makefile +++ b/gnu/usr.bin/gdb/arch/ia64/Makefile @@ -4,6 +4,7 @@ LIBSRCS+= fbsd-proc.c gcore.c LIBSRCS+= ia64-fbsd-nat.c .endif +LIBSRCS+= solib.c solib-svr4.c LIBSRCS+= ia64-fbsd-tdep.c ia64-tdep.c nm.h: diff --git a/gnu/usr.bin/gdb/arch/ia64/config.h b/gnu/usr.bin/gdb/arch/ia64/config.h index f912b8a..5faa96b 100644 --- a/gnu/usr.bin/gdb/arch/ia64/config.h +++ b/gnu/usr.bin/gdb/arch/ia64/config.h @@ -174,7 +174,9 @@ #define GDB_TM_FILE config/ia64/tm-fbsd.h /* nativefile */ +#ifndef CROSS_DEBUGGER #define GDB_NM_FILE config/ia64/nm-fbsd.h +#endif /* Define to 1 so <sys/proc.h> gets a definition of anon_hdl. Works around a <sys/proc.h> problem on IRIX 5. */ diff --git a/gnu/usr.bin/gdb/arch/ia64/init.c b/gnu/usr.bin/gdb/arch/ia64/init.c index 5e3ec18..c2cd71f 100644 --- a/gnu/usr.bin/gdb/arch/ia64/init.c +++ b/gnu/usr.bin/gdb/arch/ia64/init.c @@ -124,12 +124,14 @@ initialize_all_files (void) _initialize_ser_hardwire (); _initialize_ser_pipe (); _initialize_ser_tcp (); +#ifndef CROSS_DEBUGGER _initialize_fbsd_proc (); _initialize_gcore (); _initialize_ia64_fbsd_nat (); _initialize_kernel_u_addr (); _initialize_infptrace (); _initialize_inftarg (); +#endif _initialize_remote (); _initialize_dcache (); _initialize_sr_support (); |