mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-15 11:56:11 +08:00
* sparc64-linux-tdep.c (sparc64_linux_init_abi): Append dwarf2
frame sniffer. * sparc-tdep.c (sparc32_gdbarch_init): Make sure to call dwarf2_frame_set_init_reg() before gdbarch_init_osabi() so that the latter can override. * Makefile.in (sparc64-linux-tdep.o): Update dependencies.
This commit is contained in:
@ -22,6 +22,7 @@
|
||||
#include "defs.h"
|
||||
#include "frame.h"
|
||||
#include "frame-unwind.h"
|
||||
#include "dwarf2-frame.h"
|
||||
#include "regset.h"
|
||||
#include "regcache.h"
|
||||
#include "gdbarch.h"
|
||||
@ -195,6 +196,9 @@ sparc64_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
|
||||
|
||||
tramp_frame_prepend_unwinder (gdbarch, &sparc64_linux_rt_sigframe);
|
||||
|
||||
/* Hook in the DWARF CFI frame unwinder. */
|
||||
frame_unwind_append_sniffer (gdbarch, dwarf2_frame_sniffer);
|
||||
|
||||
sparc64_init_abi (info, gdbarch);
|
||||
|
||||
/* GNU/Linux has SVR4-style shared libraries... */
|
||||
|
Reference in New Issue
Block a user