* sparc-tdep.c (sparc_init_extra_frame_info): Fix number of
authorAndrew Cagney <cagney@redhat.com>
Thu, 10 Aug 2000 23:53:45 +0000 (23:53 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 10 Aug 2000 23:53:45 +0000 (23:53 +0000)
        arguments to fetch_instruction.

gdb/ChangeLog
gdb/sparc-tdep.c

index 043a0c8c2fd91623b4f18bb53d968cc1561f9137..fcea98b2f9267b278337bc4d7b1de2ec8676a17c 100644 (file)
@@ -1,3 +1,8 @@
+Thu Aug 10 15:28:17 2000  Andrew Cagney  <cagney@ryobi.cygnus.com>
+
+       * sparc-tdep.c (sparc_init_extra_frame_info): Fix number of
+       arguments to fetch_instruction.
+
 2000-08-10  Kazu Hirata  <kazu@hxi.com>
 
        * hppa_tdep.c: Fix a comment typo.
index 50b56ad7f7756d2cdb073921b51a35e7c461f976..d6e0456447d2fea23120a143d7415d59e496ef6d 100644 (file)
@@ -340,7 +340,7 @@ sparc_init_extra_frame_info (int fromleaf, struct frame_info *fi)
          negative number if a flat frame) to the sp.  FIXME: Does not
          handle large frames which will need more than one instruction
          to adjust the sp.  */
-      insn = fetch_instruction (prologue_start, 4);
+      insn = fetch_instruction (prologue_start);
       if (X_OP (insn) == 2 && X_RD (insn) == 14 && X_OP3 (insn) == 0
          && X_I (insn) && X_SIMM13 (insn) < 0)
        {
This page took 0.029663 seconds and 4 git commands to generate.