aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2002-04-08 22:56:46 +0000
committerKevin Buettner <kevinb@redhat.com>2002-04-08 22:56:46 +0000
commit4288e83618ab866259a30839780ebfe015f147c5 (patch)
tree76ba78bc3ec57ac314b9d5d63004fa3e37da3809
parent3a63e3f9b9fa675e1718de5a463fdd1eb72b863d (diff)
downloadgdb-4288e83618ab866259a30839780ebfe015f147c5.zip
gdb-4288e83618ab866259a30839780ebfe015f147c5.tar.gz
gdb-4288e83618ab866259a30839780ebfe015f147c5.tar.bz2
From Jimi X <jimix@watson.ibm.com>:
* rs6000-tdep.c (rs6000_fix_call_dummy): Delete unused macro definitions for TOC_ADDR_OFFSET and TARGET_ADDR_OFFSET.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/rs6000-tdep.c3
2 files changed, 6 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d8b337d..da61812 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2002-04-08 Kevin Buettner <kevinb@redhat.com>
+
+ From Jimi X <jimix@watson.ibm.com>:
+ * rs6000-tdep.c (rs6000_fix_call_dummy): Delete unused macro
+ definitions for TOC_ADDR_OFFSET and TARGET_ADDR_OFFSET.
+
2002-04-07 Mark Kettenis <kettenis@gnu.org>
* fbsd-proc.c (child_pid_to_exec_file, fbsd_find_memory_regions):
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index 35da499..828ba02 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -909,9 +909,6 @@ rs6000_fix_call_dummy (char *dummyname, CORE_ADDR pc, CORE_ADDR fun,
int nargs, struct value **args, struct type *type,
int gcc_p)
{
-#define TOC_ADDR_OFFSET 20
-#define TARGET_ADDR_OFFSET 28
-
int ii;
CORE_ADDR target_addr;