[Ltrace-devel] [PATCH] Fix regression caused by libdl patch
Zachary T Welch
zwelch at codesourcery.com
Wed Dec 8 21:34:03 UTC 2010
This change fixes a regression in the system_call.exp experienced
on ARMv7a. It also makes the libdl-simple.exp test pass.
Signed-off-by: Zachary T Welch <zwelch at codesourcery.com>
---
handle_event.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/handle_event.c b/handle_event.c
index e114ee3..01309ff 100644
--- a/handle_event.c
+++ b/handle_event.c
@@ -620,7 +620,8 @@ handle_breakpoint(Event *event) {
if (strcmp(sbp->libsym->name, "") == 0) {
debug(2, "Hit _dl_debug_state breakpoint!\n");
arch_check_dbg(event->proc);
- } else if (event->proc->state != STATE_IGNORED) {
+ }
+ if (event->proc->state != STATE_IGNORED) {
event->proc->stack_pointer = get_stack_pointer(event->proc);
event->proc->return_addr =
get_return_addr(event->proc, event->proc->stack_pointer);
--
1.7.2.2
More information about the Ltrace-devel
mailing list