aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-tdep.c
diff options
context:
space:
mode:
authorMarkus Deuling <deuling@de.ibm.com>2007-11-07 06:58:31 +0000
committerMarkus Deuling <deuling@de.ibm.com>2007-11-07 06:58:31 +0000
commita54fba4c5d04f2584c3fb523fca898bb2a9b9e3a (patch)
tree8a961009fbc8856d24bc78454a4501f77b66466c /gdb/mips-tdep.c
parent9970f04b039f5b71319c17f15231b15d23bed38a (diff)
downloadgdb-a54fba4c5d04f2584c3fb523fca898bb2a9b9e3a.zip
gdb-a54fba4c5d04f2584c3fb523fca898bb2a9b9e3a.tar.gz
gdb-a54fba4c5d04f2584c3fb523fca898bb2a9b9e3a.tar.bz2
2007-11-07 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (legacy_virtual_frame_pointer): Add gdbarch parameter. * gdbarch.{c,h}: Regenerate. * arch-utils.c (legacy_virtual_frame_pointer): Add gdbarch parameter. Replace current_gdbarch by gdbarch. * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise. * mips-tdep.c (mips_virtual_frame_pointer): Likewise. * spu-tdep.c (spu_virtual_frame_pointer): Likewise.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r--gdb/mips-tdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index 1a2b554..44e4aeb 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -5040,7 +5040,8 @@ mips_integer_to_address (struct gdbarch *gdbarch,
an assertion failure. */
static void
-mips_virtual_frame_pointer (CORE_ADDR pc, int *reg, LONGEST *offset)
+mips_virtual_frame_pointer (struct gdbarch *gdbarch,
+ CORE_ADDR pc, int *reg, LONGEST *offset)
{
*reg = MIPS_SP_REGNUM;
*offset = 0;