aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2002-04-09 00:53:28 +0000
committerKevin Buettner <kevinb@redhat.com>2002-04-09 00:53:28 +0000
commitcc9836a8aaec1ed1bf4cb5dce7158eb4c1fcc940 (patch)
tree54cddb4d8b601f03dd50000385be36b66483c0a5 /gdb
parent7495d1dc3f24a562979b1895add40babaa572b97 (diff)
downloadgdb-cc9836a8aaec1ed1bf4cb5dce7158eb4c1fcc940.zip
gdb-cc9836a8aaec1ed1bf4cb5dce7158eb4c1fcc940.tar.gz
gdb-cc9836a8aaec1ed1bf4cb5dce7158eb4c1fcc940.tar.bz2
* config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete.
* rs6000-tdep.c (rs6000_push_arguments): Eliminate ELF_OBJECT_FORMAT ifdef.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/config/powerpc/tm-ppc-eabi.h3
-rw-r--r--gdb/rs6000-tdep.c3
3 files changed, 7 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e9dbffc..70ef97c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2002-04-08 Kevin Buettner <kevinb@redhat.com>
+ * config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete.
+ * rs6000-tdep.c (rs6000_push_arguments): Eliminate
+ ELF_OBJECT_FORMAT ifdef.
+
+2002-04-08 Kevin Buettner <kevinb@redhat.com>
+
From Jimi X <jimix@watson.ibm.com>:
* rs6000-tdep.c (rs6000_gdbarch_init): Use set_gdbarch_print_insn().
diff --git a/gdb/config/powerpc/tm-ppc-eabi.h b/gdb/config/powerpc/tm-ppc-eabi.h
index 92e4127..1e6a053 100644
--- a/gdb/config/powerpc/tm-ppc-eabi.h
+++ b/gdb/config/powerpc/tm-ppc-eabi.h
@@ -36,9 +36,6 @@
#undef TEXT_SEGMENT_BASE
#define TEXT_SEGMENT_BASE 1
-/* Say that we're using ELF, not XCOFF. */
-#define ELF_OBJECT_FORMAT 1
-
/* The value of symbols of type N_SO and N_FUN maybe null when
it shouldn't be. */
#define SOFUN_ADDRESS_MAYBE_MISSING
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index b96f1ad..18e6619 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -1039,7 +1039,7 @@ rs6000_push_arguments (int nargs, struct value **args, CORE_ADDR sp,
ran_out_of_registers_for_arguments:
saved_sp = read_sp ();
-#ifndef ELF_OBJECT_FORMAT
+
/* location for 8 parameters are always reserved. */
sp -= wordsize * 8;
@@ -1048,7 +1048,6 @@ ran_out_of_registers_for_arguments:
/* stack pointer must be quadword aligned */
sp &= -16;
-#endif
/* if there are more arguments, allocate space for them in
the stack, then push them starting from the ninth one. */