aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Cespedes <cespedes@debian.org>2009-05-14 13:53:59 +0200
committerJuan Cespedes <cespedes@debian.org>2009-05-14 13:53:59 +0200
commit85f7d7616f2736de79f6b7f77bceedbc97c83406 (patch)
treebdd4d09c53808952e8efb799975b299d73fbb4c1
parentcd8976dbee947f152c3a322503a1063c6359da76 (diff)
downloadltrace-85f7d7616f2736de79f6b7f77bceedbc97c83406.tar.gz
updated man page
-rw-r--r--ltrace.14
-rw-r--r--sysdeps/linux-gnu/trace.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/ltrace.1 b/ltrace.1
index e24b16c..5eba8b5 100644
--- a/ltrace.1
+++ b/ltrace.1
@@ -48,7 +48,9 @@ must be a sum of some of the following numbers:
DEBUG_EVENT. Shows every event received by a traced program
.TP
.B 0x20
-DEBUG_PROCESS. Shows every action carried out in a traced program
+DEBUG_PROCESS. Shows every action
+.B ltrace
+carries upon a traced program
.RE
.TP
.I \-e expr
diff --git a/sysdeps/linux-gnu/trace.c b/sysdeps/linux-gnu/trace.c
index 65d561f..0098c1e 100644
--- a/sysdeps/linux-gnu/trace.c
+++ b/sysdeps/linux-gnu/trace.c
@@ -246,13 +246,13 @@ continue_enabling_breakpoint(pid_t pid, Breakpoint *sbp) {
void
continue_after_breakpoint(Process *proc, Breakpoint *sbp) {
- debug(DEBUG_PROCESS, "continue_after_breakpoint: pid=%d, addr=%p", proc->pid, sbp->addr);
if (sbp->enabled)
disable_breakpoint(proc->pid, sbp);
set_instruction_pointer(proc, sbp->addr);
if (sbp->enabled == 0) {
continue_process(proc->pid);
} else {
+ debug(DEBUG_PROCESS, "continue_after_breakpoint: pid=%d, addr=%p", proc->pid, sbp->addr);
proc->breakpoint_being_enabled = sbp;
#if defined __sparc__ || defined __ia64___
/* we don't want to singlestep here */