aboutsummaryrefslogtreecommitdiff
path: root/gdb/spu-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/spu-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/spu-tdep.c')
-rw-r--r--gdb/spu-tdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/spu-tdep.c b/gdb/spu-tdep.c
index f5d0081..4e41f57 100644
--- a/gdb/spu-tdep.c
+++ b/gdb/spu-tdep.c
@@ -708,7 +708,8 @@ spu_skip_prologue (CORE_ADDR pc)
/* Return the frame pointer in use at address PC. */
static void
-spu_virtual_frame_pointer (CORE_ADDR pc, int *reg, LONGEST *offset)
+spu_virtual_frame_pointer (struct gdbarch *gdbarch, CORE_ADDR pc,
+ int *reg, LONGEST *offset)
{
struct spu_prologue_data data;
spu_analyze_prologue (pc, (CORE_ADDR)-1, &data);