diff options
Diffstat (limited to 'overlay/mgdb/gdb')
-rw-r--r-- | overlay/mgdb/gdb/amd64-winnt-tdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/overlay/mgdb/gdb/amd64-winnt-tdep.c b/overlay/mgdb/gdb/amd64-winnt-tdep.c index ab8fdb8..7e05cd5 100644 --- a/overlay/mgdb/gdb/amd64-winnt-tdep.c +++ b/overlay/mgdb/gdb/amd64-winnt-tdep.c @@ -16,6 +16,7 @@ #define amd64_winnt_skip_prologue amd64_windows_skip_prologue #define amd64_winnt_skip_main_prologue amd64_skip_main_prologue +#define amd64_winnt_frame_unwind amd64_windows_frame_unwind static void amd64_winnt_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) @@ -34,7 +35,7 @@ amd64_winnt_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) set_gdbarch_skip_main_prologue (gdbarch, amd64_skip_main_prologue); /* todo: SEH unwinder */ - frame_unwind_append_unwinder (gdbarch, 0); + frame_unwind_append_unwinder (gdbarch, &amd64_winnt_frame_unwind); /* todo: inferior-specific, dynamically detected size of long */ set_gdbarch_long_bit (gdbarch, 64); |