* rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable
authorKevin Buettner <kevinb@redhat.com>
Fri, 5 Apr 2002 22:36:32 +0000 (22:36 +0000)
committerKevin Buettner <kevinb@redhat.com>
Fri, 5 Apr 2002 22:36:32 +0000 (22:36 +0000)
clause.

gdb/ChangeLog
gdb/rs6000-tdep.c

index ad192936d25573b70513cce4e03e07fd47790444..365bc34bcfc93276b8be663a57143b361a45999b 100644 (file)
@@ -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',
index 097d51de85a267106b036792e896854741f4dbeb..b541c23c84237185d92ba24e3f4f815432c6f546 100644 (file)
@@ -591,15 +591,6 @@ skip_prologue (CORE_ADDR pc, CORE_ADDR lim_pc, struct rs6000_framedata *fdata)
        {                       /* b .+4 (xlc) */
          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 */