diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-05-31 21:13:20 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-05-31 21:13:20 +0000 |
commit | 6405b0a631f9e01f22244d745afd9e7a8eaf9f55 (patch) | |
tree | c2f581d7b042648bf22220afeef2d616282f4062 /gdb/i386-tdep.c | |
parent | 7b34ad4ea9a2011f54177f0e895074d595644d45 (diff) | |
download | gdb-6405b0a631f9e01f22244d745afd9e7a8eaf9f55.zip gdb-6405b0a631f9e01f22244d745afd9e7a8eaf9f55.tar.gz gdb-6405b0a631f9e01f22244d745afd9e7a8eaf9f55.tar.bz2 |
* i386-tdep.c: Include "dwarf2-frame.h".
(i386_gdbarch_init): Hook in the DWARF CFI frame unwinder.
* Makefile.in (i386-tdep.o): Update dependencies.
Diffstat (limited to 'gdb/i386-tdep.c')
-rw-r--r-- | gdb/i386-tdep.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index c03df8e..65a645a 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -24,6 +24,7 @@ #include "arch-utils.h" #include "command.h" #include "dummy-frame.h" +#include "dwarf2-frame.h" #include "doublest.h" #include "floatformat.h" #include "frame.h" @@ -1714,6 +1715,10 @@ i386_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) i386_add_reggroups (gdbarch); set_gdbarch_register_reggroup_p (gdbarch, i386_register_reggroup_p); + /* Hook in the DWARF CFI frame unwinder. */ + frame_unwind_append_predicate (gdbarch, dwarf2_frame_p); + set_gdbarch_dwarf2_build_frame_info (gdbarch, dwarf2_build_frame_info); + frame_base_set_default (gdbarch, &i386_frame_base); /* Hook in ABI-specific overrides, if they have been registered. */ |