aboutsummaryrefslogtreecommitdiff
path: root/handle_event.c
diff options
context:
space:
mode:
authorJoe Damato <ice799@gmail.com>2010-10-30 19:56:50 -0700
committerJoe Damato <ice799@gmail.com>2010-11-28 20:07:58 -0800
commitfa2aefc32eb4196966a14d1e7def931652f40d46 (patch)
tree1cf4edb3117d1da86aec9b641cf5ad118286c0b4 /handle_event.c
parentd568f51920d5b2e0813cb5bb7e3cca10fc404623 (diff)
downloadltrace-fa2aefc32eb4196966a14d1e7def931652f40d46.tar.gz
Merge -g option which avoids tracing libraries linked at compile time.
Diffstat (limited to 'handle_event.c')
-rw-r--r--handle_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/handle_event.c b/handle_event.c
index a502793..728ab65 100644
--- a/handle_event.c
+++ b/handle_event.c
@@ -627,7 +627,7 @@ handle_breakpoint(Event *event) {
return;
}
- if (event->proc->state != STATE_IGNORED) {
+ if (event->proc->state != STATE_IGNORED && !options.no_plt) {
output_line(event->proc, "unexpected breakpoint at %p",
(void *)event->e_un.brk_addr);
}