diff options
author | Markus Deuling <deuling@de.ibm.com> | 2007-11-07 06:58:31 +0000 |
---|---|---|
committer | Markus Deuling <deuling@de.ibm.com> | 2007-11-07 06:58:31 +0000 |
commit | a54fba4c5d04f2584c3fb523fca898bb2a9b9e3a (patch) | |
tree | 8a961009fbc8856d24bc78454a4501f77b66466c /gdb/gdbarch.h | |
parent | 9970f04b039f5b71319c17f15231b15d23bed38a (diff) | |
download | gdb-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/gdbarch.h')
-rw-r--r-- | gdb/gdbarch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index d27498b..8874d3e 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -160,7 +160,7 @@ extern void set_gdbarch_write_pc (struct gdbarch *gdbarch, gdbarch_write_pc_ftyp whole scheme for dealing with "frames" and "frame pointers" needs a serious shakedown. */ -typedef void (gdbarch_virtual_frame_pointer_ftype) (CORE_ADDR pc, int *frame_regnum, LONGEST *frame_offset); +typedef void (gdbarch_virtual_frame_pointer_ftype) (struct gdbarch *gdbarch, CORE_ADDR pc, int *frame_regnum, LONGEST *frame_offset); extern void gdbarch_virtual_frame_pointer (struct gdbarch *gdbarch, CORE_ADDR pc, int *frame_regnum, LONGEST *frame_offset); extern void set_gdbarch_virtual_frame_pointer (struct gdbarch *gdbarch, gdbarch_virtual_frame_pointer_ftype *virtual_frame_pointer); |