summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-03-08 22:30:03 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-03-08 22:30:03 -0400
commitee53a613180a780ea377b4f1c857aaeabcf44240 (patch)
tree70d2e2ee3267ea16de934ed1b830aa7336d3b759
parentb1f85b93f4cdc5eaad45891399c30341d4d6ce93 (diff)
downloadsystemtap-steved-ee53a613180a780ea377b4f1c857aaeabcf44240.tar.gz
systemtap-steved-ee53a613180a780ea377b4f1c857aaeabcf44240.tar.xz
systemtap-steved-ee53a613180a780ea377b4f1c857aaeabcf44240.zip
Check pending_interrupts more frequently during unwindsyms (pass 3) processing
-rw-r--r--translate.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/translate.cxx b/translate.cxx
index c679e0f1..b2ba5c72 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -4458,6 +4458,9 @@ dump_unwindsyms (Dwfl_Module *m,
string modname = name;
+ if (pending_interrupts)
+ return DWARF_CB_ABORT;
+
// skip modules/files we're not actually interested in
if (c->session.unwindsym_modules.find(modname) == c->session.unwindsym_modules.end())
return DWARF_CB_OK;