This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
linux-nat.c:resume_lwp, remove redundant debug output.
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 10 Oct 2011 14:52:37 +0100
- Subject: linux-nat.c:resume_lwp, remove redundant debug output.
The current code reads:
if (debug_linux_nat)
fprintf_unfiltered (gdb_stdlog,
"RC: PTRACE_CONT %s, 0, 0 (resuming sibling)\n",
target_pid_to_str (lp->ptid));
linux_ops->to_resume (linux_ops,
pid_to_ptid (GET_LWP (lp->ptid)),
step, TARGET_SIGNAL_0);
if (debug_linux_nat)
fprintf_unfiltered (gdb_stdlog,
"RC: PTRACE_CONT %s, 0, 0 (resume sibling)\n",
target_pid_to_str (lp->ptid));
Applied.
--
Pedro Alves
2011-10-10 Pedro Alves <pedro@codesourcery.com>
gdb/
* linux-nat.c (resume_lwp): Remove redundant debug output.
---
gdb/linux-nat.c | 4 ----
1 file changed, 4 deletions(-)
Index: src/gdb/linux-nat.c
===================================================================
--- src.orig/gdb/linux-nat.c 2011-10-10 14:45:06.007659879 +0100
+++ src/gdb/linux-nat.c 2011-10-10 14:45:16.617659877 +0100
@@ -1829,10 +1829,6 @@ resume_lwp (struct lwp_info *lp, int ste
linux_ops->to_resume (linux_ops,
pid_to_ptid (GET_LWP (lp->ptid)),
step, TARGET_SIGNAL_0);
- if (debug_linux_nat)
- fprintf_unfiltered (gdb_stdlog,
- "RC: PTRACE_CONT %s, 0, 0 (resume sibling)\n",
- target_pid_to_str (lp->ptid));
lp->stopped = 0;
lp->step = step;
memset (&lp->siginfo, 0, sizeof (lp->siginfo));