summaryrefslogtreecommitdiff
path: root/gdb/m68klinux-nat.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2008-05-05 20:47:02 +0000
committerAndreas Schwab <schwab@suse.de>2008-05-05 20:47:02 +0000
commite4c437dfe903c7b00025ce48f072a18ca1a62598 (patch)
treed71a125e89f02abd3dfa14c02b190ee702b4d883 /gdb/m68klinux-nat.c
parent4022e3015d99d2a29fd3b41571a9383e1a50a819 (diff)
downloadgdb-e4c437dfe903c7b00025ce48f072a18ca1a62598.tar.gz
Update m68k port for unwinder changes.
* m68k-tdep.c (m68k_frame_cache): Expect this_frame. (m68k_frame_this_id, m68k_frame_prev_register): Update signature. (m68k_frame_unwind): Use default_frame_sniffer. (m68k_frame_sniffer): Remove. (m68k_frame_base_address): Expect this_frame. (m68k_dummy_id): Renamed from m68k_unwind_dummy_id. Expect this_frame. (m68k_gdbarch_init): Use set_gdbarch_dummy_id, dwarf2_append_unwinders, and frame_unwind_append_unwinder. * m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Expect frame_info parameter instead of pc value. (m68k_linux_get_sigtramp_info, m68k_linux_sigtramp_frame_cache): Expect this_frame. (m68k_linux_sigtramp_frame_this_id) (m68k_linux_sigtramp_frame_prev_register) (m68k_linux_sigtramp_frame_sniffer): Update signature. (m68k_linux_sigtramp_frame_unwind): Use m68k_linux_sigtramp_frame_sniffer. (m68k_linux_init_abi): Use frame_unwind_append_unwinder. * m68klinux-nat.c (store_register): Fix typo.
Diffstat (limited to 'gdb/m68klinux-nat.c')
-rw-r--r--gdb/m68klinux-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m68klinux-nat.c b/gdb/m68klinux-nat.c
index 7467190492a..149a0b66a76 100644
--- a/gdb/m68klinux-nat.c
+++ b/gdb/m68klinux-nat.c
@@ -179,7 +179,7 @@ old_fetch_inferior_registers (struct regcache *regcache, int regno)
static void
store_register (const struct regcache *regcache, int regno)
{
- struct gdbarch *gdbarch = reg_regcache_arch (regcache);
+ struct gdbarch *gdbarch = get_regcache_arch (regcache);
/* This isn't really an address. But ptrace thinks of it as one. */
CORE_ADDR regaddr;
char mess[128]; /* For messages */