Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: Re: Remove ia64-*-aix* support
Date: Wed, 05 Jan 2005 17:09:00 -0000	[thread overview]
Message-ID: <20050105100855.138ee6c9@ironwood.lan> (raw)
In-Reply-To: <200501042304.j04N4drG001942@elgar.sibelius.xs4all.nl>

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


  reply	other threads:[~2005-01-05 17:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-04 23:04 Mark Kettenis
2005-01-05 17:09 ` Kevin Buettner [this message]
2005-01-05 21:19   ` Andreas Schwab
2005-01-05 21:51     ` Kevin Buettner
2005-01-05 17:25 ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050105100855.138ee6c9@ironwood.lan \
    --to=kevinb@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox