aboutsummaryrefslogtreecommitdiff
path: root/handle_event.c
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-04-04 19:09:37 +0200
committerPetr Machata <pmachata@redhat.com>2012-04-19 01:36:35 +0200
commit796267f3370f37bc3b7657b53c6eda16bab3c930 (patch)
tree227d16ce5cc42ae20788096d292f71dce792d7dc /handle_event.c
parent157cc4d6ee93f35e3aa65edcf57f369ae4e4677c (diff)
downloadltrace-796267f3370f37bc3b7657b53c6eda16bab3c930.tar.gz
options.no_plt is useless
- or, as of now, it's used to decide whether or not we should display "unexpected breakpoint" messages
Diffstat (limited to 'handle_event.c')
-rw-r--r--handle_event.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/handle_event.c b/handle_event.c
index c96b9e6..57695af 100644
--- a/handle_event.c
+++ b/handle_event.c
@@ -700,10 +700,10 @@ handle_breakpoint(Event *event)
return;
}
- if (event->proc->state != STATE_IGNORED && !options.no_plt) {
+ if (event->proc->state != STATE_IGNORED)
output_line(event->proc, "unexpected breakpoint at %p",
brk_addr);
- }
+
continue_process(event->proc->pid);
}