summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorgraydon <graydon>2005-09-15 00:43:43 +0000
committergraydon <graydon>2005-09-15 00:43:43 +0000
commit2340b07688d4c8bde3c26711e850e9486ee3b002 (patch)
treeca4375fff82eb2e9a4be7fa7f9ca7b5afb8c3210 /tapsets.cxx
parent3eb77821015ef673b4def89ad3d7b1fea60e52c4 (diff)
downloadsystemtap-steved-2340b07688d4c8bde3c26711e850e9486ee3b002.tar.gz
systemtap-steved-2340b07688d4c8bde3c26711e850e9486ee3b002.tar.xz
systemtap-steved-2340b07688d4c8bde3c26711e850e9486ee3b002.zip
2005-09-14 Graydon Hoare <graydon@redhat.com>
PR 1260 * tapsets.cxx (dwflpp::resolve_prologue_endings): Correct logic error triggered by consecutive function-beginning line records.
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index cafb5639..8d08ea5e 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -716,12 +716,9 @@ dwflpp
choose_next_line = false;
}
- else
- {
- map<Dwarf_Addr, func_info>::const_iterator i = funcs.find (addr);
- if (i != funcs.end())
- choose_next_line = true;
- }
+ map<Dwarf_Addr, func_info>::const_iterator i = funcs.find (addr);
+ if (i != funcs.end())
+ choose_next_line = true;
previous_addr = addr;
}
}