aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2002-04-05 22:36:32 +0000
committerKevin Buettner <kevinb@redhat.com>2002-04-05 22:36:32 +0000
commitc69255e19cb25c86cdc32e164c75ffe9651ed6ed (patch)
treede8cad6c2477673f31f438a359f50855c2c88daf
parentae767bfb78e53e5586a10e6d7144dc3199e5aa36 (diff)
downloadgdb-c69255e19cb25c86cdc32e164c75ffe9651ed6ed.zip
gdb-c69255e19cb25c86cdc32e164c75ffe9651ed6ed.tar.gz
gdb-c69255e19cb25c86cdc32e164c75ffe9651ed6ed.tar.bz2
* rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable
clause.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/rs6000-tdep.c9
2 files changed, 5 insertions, 9 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ad19293..365bc34 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-05 Kevin Buettner <kevinb@redhat.com>
+
+ * rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable
+ clause.
+
2002-03-29 Jim Blandy <jimb@redhat.com>
* stack.c (get_selected_block): Add new argument `addr_in_block',
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index 097d51d..b541c23 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -592,15 +592,6 @@ skip_prologue (CORE_ADDR pc, CORE_ADDR lim_pc, struct rs6000_framedata *fdata)
break;
}
- else if (((op & 0xffff0000) == 0x801e0000 || /* lwz 0,NUM(r30), used
- in V.4 -mrelocatable */
- op == 0x7fc0f214) && /* add r30,r0,r30, used
- in V.4 -mrelocatable */
- lr_reg == 0x901e0000)
- {
- continue;
-
- }
else if ((op & 0xffff0000) == 0x3fc00000 || /* addis 30,0,foo@ha, used
in V.4 -mminimal-toc */
(op & 0xffff0000) == 0x3bde0000)