mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 17:40:49 +00:00
2004-12-07 Randolph Chung <tausq@debian.org>
* hppa-tdep.h (gdbarch_tdep): Add unwind_adjust_stub method.
* hppa-hpux-tdep.c (hppa_hpux_unwind_adjust_stub): New function.
(hppa_hpux_init_abi) Set unwind_adjust_stub method.
* hppa-tdep.c (hppa_frame_cache): Call unwind_adjust_stub method
if defined.
This commit is contained in:
@@ -1905,6 +1905,19 @@ hppa_frame_cache (struct frame_info *next_frame, void **this_cache)
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
struct gdbarch *gdbarch;
|
||||
struct gdbarch_tdep *tdep;
|
||||
|
||||
gdbarch = get_frame_arch (next_frame);
|
||||
tdep = gdbarch_tdep (gdbarch);
|
||||
|
||||
if (tdep->unwind_adjust_stub)
|
||||
{
|
||||
tdep->unwind_adjust_stub (next_frame, cache->base, cache->saved_regs);
|
||||
}
|
||||
}
|
||||
|
||||
if (hppa_debug)
|
||||
fprintf_unfiltered (gdb_stdlog, "base=0x%s }",
|
||||
paddr_nz (((struct hppa_frame_cache *)*this_cache)->base));
|
||||
|
||||
Reference in New Issue
Block a user