summaryrefslogtreecommitdiffstats
path: root/backends/i386_init.c
diff options
context:
space:
mode:
authorJan Kratochvil <[email protected]>2013-05-30 14:37:38 +0200
committerJan Kratochvil <[email protected]>2013-11-07 21:39:00 +0100
commit0b867460075c9f02cb305abc91a0e12b90017583 (patch)
tree28f799db9b0eef70d0b4b5e81163b2fc62903470 /backends/i386_init.c
parent22f867adcc1258aeb88560fa8591ef071353bb22 (diff)
Unwinder for x86*.
Signed-off-by: Jan Kratochvil <[email protected]> Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'backends/i386_init.c')
-rw-r--r--backends/i386_init.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/backends/i386_init.c b/backends/i386_init.c
index cc9b2d7f..1e0b4863 100644
--- a/backends/i386_init.c
+++ b/backends/i386_init.c
@@ -1,5 +1,5 @@
/* Initialization of i386 specific backend library.
- Copyright (C) 2000-2009 Red Hat, Inc.
+ Copyright (C) 2000-2009, 2013 Red Hat, Inc.
This file is part of elfutils.
Written by Ulrich Drepper <[email protected]>, 2000.
@@ -63,6 +63,9 @@ i386_init (elf, machine, eh, ehlen)
HOOK (eh, auxv_info);
HOOK (eh, disasm);
HOOK (eh, abi_cfi);
+ /* gcc/config/ #define DWARF_FRAME_REGISTERS. For i386 it is 17, why? */
+ eh->frame_nregs = 9;
+ HOOK (eh, set_initial_registers_tid);
return MODVERSION;
}