aboutsummaryrefslogtreecommitdiff
path: root/handle_event.c
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-02-20 12:49:46 +0100
committerPetr Machata <pmachata@redhat.com>2012-04-19 01:34:03 +0200
commit9df15016447915a61526af8cb81c588913bcf44c (patch)
treea88ea5f698e046cfacf98418a5b801aa44f43779 /handle_event.c
parent58b2d0fd5deed5f33fbd47a6b6e5c109f43908b5 (diff)
downloadltrace-9df15016447915a61526af8cb81c588913bcf44c.tar.gz
Remove "enable" flag from insert_breakpoint
Diffstat (limited to 'handle_event.c')
-rw-r--r--handle_event.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/handle_event.c b/handle_event.c
index b9e5a1e..1646394 100644
--- a/handle_event.c
+++ b/handle_event.c
@@ -747,9 +747,8 @@ callstack_push_symfunc(Process *proc, struct library_symbol *sym) {
elem->c_un.libfunc = sym;
elem->return_addr = proc->return_addr;
- if (elem->return_addr) {
- insert_breakpoint(proc, elem->return_addr, NULL, 1);
- }
+ if (elem->return_addr)
+ insert_breakpoint(proc, elem->return_addr, NULL);
/* handle functions like atexit() on mips which have no return */
if (opt_T || options.summary) {