summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/translate.cxx b/translate.cxx
index 798d52fe..55b266bf 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -4824,9 +4824,10 @@ emit_symbol_data (systemtap_session& s)
do
{
if (pending_interrupts) return;
+ if (ctx.undone_unwindsym_modules.empty()) return;
off = dwfl_getmodules (dwfl, &dump_unwindsyms, (void *) &ctx, 0);
}
- while (off > 0 && !ctx.undone_unwindsym_modules.empty());
+ while (off > 0);
dwfl_assert("dwfl_getmodules", off == 0);
}
dwfl_end(dwfl);
@@ -4862,9 +4863,10 @@ emit_symbol_data (systemtap_session& s)
do
{
if (pending_interrupts) return;
+ if (ctx.undone_unwindsym_modules.empty()) return;
off = dwfl_getmodules (dwfl, &dump_unwindsyms, (void *) &ctx, 0);
}
- while (off > 0 && !ctx.undone_unwindsym_modules.empty());
+ while (off > 0);
dwfl_assert("dwfl_getmodules", off == 0);
}
dwfl_end(dwfl);