summaryrefslogtreecommitdiff
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
commit612d7128fc337ecfe0bfba183afa0b19c259fc3b (patch)
tree0437e0bfdee0592020fea48edb631723d377d53a /gdb/spu-tdep.c
parentd833961aadaa3ecb2cb571642a95545db8e0aa9e (diff)
downloadgdb-612d7128fc337ecfe0bfba183afa0b19c259fc3b.tar.gz
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 f5d0081c120..4e41f57b511 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);