summaryrefslogtreecommitdiff
path: root/src/dwarf/Gfde.c
diff options
context:
space:
mode:
authorLassi Tuura <lat@cern.ch>2010-04-20 23:13:09 +0200
committerArun Sharma <arun@sharma-home.net>2010-04-24 17:18:26 -0700
commitdac2d001afb1fa7040ca7d8ae57032f684d7023e (patch)
tree2790123ca0c63dbb75f33f0626ffc97c1b6661a7 /src/dwarf/Gfde.c
parent250382c56d2c84fc3976cf8a4c834433bb68990d (diff)
downloadlibunwind-dac2d001afb1fa7040ca7d8ae57032f684d7023e.tar.gz
Identify signal frames by augmentation attribute.
Diffstat (limited to 'src/dwarf/Gfde.c')
-rw-r--r--src/dwarf/Gfde.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dwarf/Gfde.c b/src/dwarf/Gfde.c
index 16e36ee2..8659624b 100644
--- a/src/dwarf/Gfde.c
+++ b/src/dwarf/Gfde.c
@@ -187,6 +187,9 @@ parse_cie (unw_addr_space_t as, unw_accessors_t *a, unw_word_t addr,
break;
case 'S':
+ /* This is a signal frame. */
+ dci->signal_frame = 1;
+
/* Temporarily set it to one so dwarf_parse_fde() knows that
it should fetch the actual ABI/TAG pair from the FDE. */
dci->have_abi_marker = 1;