diff options
author | Ben Gamari <ben@smart-cactus.org> | 2015-09-05 13:51:27 +0200 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2015-11-01 15:19:47 +0100 |
commit | bb446b2636da7f3eda240863a0369396c4c2e419 (patch) | |
tree | ddcc5510aef8a40df1601611f31e16a990e856d0 /rts | |
parent | d9f886282c605e5f4b74126b3af8f23771ef03f1 (diff) | |
download | haskell-bb446b2636da7f3eda240863a0369396c4c2e419.tar.gz |
Libdw: Remove special treatment for stg_stop_thread
This is no longer necessary since this symbol can be unwound through
with its DWARF information.
Diffstat (limited to 'rts')
-rw-r--r-- | rts/Libdw.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/rts/Libdw.c b/rts/Libdw.c index 70aee75323..c8f945a6da 100644 --- a/rts/Libdw.c +++ b/rts/Libdw.c @@ -230,10 +230,7 @@ static int frame_cb(Dwfl_Frame *frame, void *arg) { backtrace_push(session->cur_bt, (StgPtr) pc); } - if ((void *) pc == &stg_stop_thread_info) - return DWARF_CB_ABORT; - else - return DWARF_CB_OK; + return DWARF_CB_OK; } Backtrace *libdw_get_backtrace(LibDwSession *session) { |