diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-10-08 12:50:56 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-10-08 12:50:56 +0000 |
commit | 464963c92cc07668165c0e503994b41cde3daa4b (patch) | |
tree | c0ca0d91497447cff4919e9eb982ee2d6bf8e5c4 /gdb/hppa-tdep.c | |
parent | 7fbe2eba67086bb413f4187d3dedc8fb3457ac3e (diff) | |
download | gdb-464963c92cc07668165c0e503994b41cde3daa4b.zip gdb-464963c92cc07668165c0e503994b41cde3daa4b.tar.gz gdb-464963c92cc07668165c0e503994b41cde3daa4b.tar.bz2 |
2007-10-08 Markus Deuling <deuling@de.ibm.com>
* hppa-tdep.c (hppa_stub_unwind_sniffer, hppa_dump_tdep): Replace
current_gdbarch by gdbarch.
* hppa-linux-nat.c (fetch_register, store_register)
(hppa_linux_fetch_inferior_registers)
(hppa_linux_store_inferior_registers): Use get_regcache_arch or
get_frame_arch to get at the current architecture by regcache or by
frame, respectively.
* hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code
(hppa_hpux_unwind_adjust_stub): Likewise.
* hppa-hpux-nat.c (hppa_hpux_fetch_register, hppa_hpux_store_register)
(hppa_hpux_fetch_inferior_registers)
(hppa_hpux_store_inferior_registers): Likewise.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r-- | gdb/hppa-tdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 10ac7ec..f3cff64 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -2461,7 +2461,7 @@ hppa_stub_unwind_sniffer (struct frame_info *next_frame) if (pc == 0 || (tdep->in_solib_call_trampoline != NULL && tdep->in_solib_call_trampoline (pc, NULL)) - || gdbarch_in_solib_return_trampoline (current_gdbarch, pc, NULL)) + || gdbarch_in_solib_return_trampoline (gdbarch, pc, NULL)) return &hppa_stub_frame_unwind; return NULL; } @@ -3195,9 +3195,9 @@ hppa_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) } static void -hppa_dump_tdep (struct gdbarch *current_gdbarch, struct ui_file *file) +hppa_dump_tdep (struct gdbarch *gdbarch, struct ui_file *file) { - struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch); + struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); fprintf_unfiltered (file, "bytes_per_address = %d\n", tdep->bytes_per_address); |