diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2008-05-05 20:47:02 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2008-05-05 20:47:02 +0000 |
commit | f36bf22c921a5360baa5c87ec56c1b40accf23f1 (patch) | |
tree | 29ef6202bcfbd87b6aea38f5fead16107f0b5cd7 /gdb/m68klinux-nat.c | |
parent | 60b2b4e76593b78a2569d47309ee9587df324b65 (diff) | |
download | gdb-f36bf22c921a5360baa5c87ec56c1b40accf23f1.zip gdb-f36bf22c921a5360baa5c87ec56c1b40accf23f1.tar.gz gdb-f36bf22c921a5360baa5c87ec56c1b40accf23f1.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m68klinux-nat.c b/gdb/m68klinux-nat.c index 7467190..149a0b6 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 */ |