[PATCH 01/14] Fix displaced stepping debug log.

Yao Qi
2012-05-03T13:12:50Z

gdb:

2012-04-12 Pedro Alves <pedro@codesourcery.com>

* infrun.c (displaced_step_fixup): Add prefix "displaced:" in debug
log.
---
gdb/infrun.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gdb/infrun.c b/gdb/infrun.c
index ab51806..c3074d5 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -1545,7 +1545,7 @@ displaced_step_fixup (ptid_t event_ptid, enum target_signal signal)

if (debug_displaced)
fprintf_unfiltered (gdb_stdlog,
- "breakpoint is gone %s: step(%d)\n",
+ "displaced: breakpoint is gone: %s, step(%d)\n",
target_pid_to_str (tp->ptid), step);

target_resume (ptid, step, TARGET_SIGNAL_0);
--
1.7.0.4