diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-08-10 23:53:45 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-08-10 23:53:45 +0000 |
commit | d0901120f682b28411ec7769c0390e7496b45c78 (patch) | |
tree | 05a2a1e0ec2d87f1cb147a5adb32be70bdeab923 /gdb/sparc-tdep.c | |
parent | 9ac4db9c1c6312a2d2a7d73b816f9b5caeafe5c4 (diff) | |
download | gdb-d0901120f682b28411ec7769c0390e7496b45c78.zip gdb-d0901120f682b28411ec7769c0390e7496b45c78.tar.gz gdb-d0901120f682b28411ec7769c0390e7496b45c78.tar.bz2 |
* sparc-tdep.c (sparc_init_extra_frame_info): Fix number of
arguments to fetch_instruction.
Diffstat (limited to 'gdb/sparc-tdep.c')
-rw-r--r-- | gdb/sparc-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c index 50b56ad..d6e0456 100644 --- a/gdb/sparc-tdep.c +++ b/gdb/sparc-tdep.c @@ -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) { |