aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-tdep.c
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>1994-12-18 19:55:28 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>1994-12-18 19:55:28 +0000
commit6cb4e9e036eebe517285a4c346edefd68ff6e306 (patch)
tree421379a02bd81955ccbdfd57167a9f239a8a058b /gdb/sparc-tdep.c
parentee7b9e92f6c3749b4657986ba2c3bfeb87d608c5 (diff)
downloadgdb-6cb4e9e036eebe517285a4c346edefd68ff6e306.zip
gdb-6cb4e9e036eebe517285a4c346edefd68ff6e306.tar.gz
gdb-6cb4e9e036eebe517285a4c346edefd68ff6e306.tar.bz2
* sparc-tdep.c (sparc_pop_frame): Remove erroneous extra argument
to write_register.
Diffstat (limited to 'gdb/sparc-tdep.c')
-rw-r--r--gdb/sparc-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c
index 8801136..59914b1 100644
--- a/gdb/sparc-tdep.c
+++ b/gdb/sparc-tdep.c
@@ -834,7 +834,7 @@ sparc_pop_frame ()
write_register (O0_REGNUM + 7,
read_memory_integer (fsr.regs[O0_REGNUM + 7], 4));
- write_register (SP_REGNUM, frame->frame, 4);
+ write_register (SP_REGNUM, frame->frame);
}
else if (fsr.regs[I0_REGNUM])
{