This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Remove ia64-*-aix* support
On Wed, 5 Jan 2005 00:04:39 +0100 (CET)
Mark Kettenis <kettenis@gnu.org> wrote:
> AIX for Itanium was never released, and its support has been removed
> from BFD in July 2003. I can't delete it all since for some reason
> Linux includes ia64-aix-tdep.c, but this removes the obvious stuff.
Thanks for doing this.
I've just committed the patch below which eliminates ia64-aix-tdep.c.
I've done a test build of --target=ia64-linux, but have not actually
run the testsuite with these changes.
* ia64-tdep.c (ia64_gdbarch_init): Eliminate dependency on
functions in ia64-aix-tdep.c.
* ia64-tdep.h (ia64_aix_sigcontext_register_address): Remove
function defined in ia64-aix-tdep.c.
* ia64-aix-tdep.c: Remove file.
* config/ia64/linux.mt (TDEPFILES): Remove ia64-aix-tdep.o from
this list.
* Makefile.in (ia64-aix-tdep.o): Delete.
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.681
diff -u -p -r1.681 Makefile.in
--- Makefile.in 4 Jan 2005 22:59:44 -0000 1.681
+++ Makefile.in 5 Jan 2005 16:55:09 -0000
@@ -2051,7 +2051,6 @@ i386v-nat.o: i386v-nat.c $(defs_h) $(fra
i387-tdep.o: i387-tdep.c $(defs_h) $(doublest_h) $(floatformat_h) $(frame_h) \
$(gdbcore_h) $(inferior_h) $(language_h) $(regcache_h) $(value_h) \
$(gdb_assert_h) $(gdb_string_h) $(i386_tdep_h) $(i387_tdep_h)
-ia64-aix-tdep.o: ia64-aix-tdep.c $(defs_h)
ia64-linux-nat.o: ia64-linux-nat.c $(defs_h) $(gdb_string_h) $(inferior_h) \
$(target_h) $(gdbcore_h) $(regcache_h) $(gdb_wait_h) $(gregset_h)
ia64-linux-tdep.o: ia64-linux-tdep.c $(defs_h) $(ia64_tdep_h) \
Index: ia64-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/ia64-tdep.c,v
retrieving revision 1.125
diff -u -p -r1.125 ia64-tdep.c
--- ia64-tdep.c 13 Nov 2004 02:15:32 -0000 1.125
+++ ia64-tdep.c 5 Jan 2005 16:55:09 -0000
@@ -3268,8 +3268,6 @@ ia64_gdbarch_init (struct gdbarch_info i
to do it. */
if (info.osabi == GDB_OSABI_LINUX)
tdep->sigcontext_register_address = ia64_linux_sigcontext_register_address;
- else if (native_find_global_pointer != 0)
- tdep->sigcontext_register_address = ia64_aix_sigcontext_register_address;
else
tdep->sigcontext_register_address = 0;
Index: ia64-tdep.h
===================================================================
RCS file: /cvs/src/src/gdb/ia64-tdep.h,v
retrieving revision 1.2
diff -u -p -r1.2 ia64-tdep.h
--- ia64-tdep.h 24 Feb 2004 22:35:01 -0000 1.2
+++ ia64-tdep.h 5 Jan 2005 16:55:09 -0000
@@ -23,7 +23,6 @@
#define IA64_TDEP_H
extern CORE_ADDR ia64_linux_sigcontext_register_address (CORE_ADDR, int);
-extern CORE_ADDR ia64_aix_sigcontext_register_address (CORE_ADDR, int);
extern unsigned long ia64_linux_getunwind_table (void *, size_t);
extern void ia64_write_pc (CORE_ADDR, ptid_t);
extern void ia64_linux_write_pc (CORE_ADDR, ptid_t);
Index: config/ia64/linux.mt
===================================================================
RCS file: /cvs/src/src/gdb/config/ia64/linux.mt,v
retrieving revision 1.9
diff -u -p -r1.9 linux.mt
--- config/ia64/linux.mt 13 Sep 2004 20:55:40 -0000 1.9
+++ config/ia64/linux.mt 5 Jan 2005 16:55:10 -0000
@@ -1,4 +1,4 @@
# Target: Intel IA-64 running GNU/Linux
-TDEPFILES= ia64-tdep.o ia64-aix-tdep.o ia64-linux-tdep.o \
+TDEPFILES= ia64-tdep.o ia64-linux-tdep.o \
solib.o solib-svr4.o solib-legacy.o
DEPRECATED_TM_FILE= tm-linux.h