blob: 5e0a7911ce501b4d627ae48209b11ea1af94a192 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
diff -upr ltrace-0.6.0.orig/handle_event.c ltrace-0.6.0/handle_event.c
--- ltrace-0.6.0.orig/handle_event.c 2011-01-07 21:29:30.000000000 +0200
+++ ltrace-0.6.0/handle_event.c 2012-01-06 05:14:04.000000000 +0200
@@ -617,6 +617,10 @@ handle_breakpoint(Event *event) {
}
if ((sbp = address2bpstruct(event->proc, event->e_un.brk_addr))) {
+ if (sbp->libsym == NULL) {
+ continue_after_breakpoint(event->proc, sbp);
+ return;
+ }
if (strcmp(sbp->libsym->name, "") == 0) {
debug(2, "Hit _dl_debug_state breakpoint!\n");
arch_check_dbg(event->proc);
|