* i386-tdep.c (i386_displaced_step_fixup): Condition log printing

on debug_displaced being set.
This commit is contained in:
Pedro Alves 2008-07-03 00:19:58 +00:00
parent 6ed45dfb5e
commit caac88966e
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-07-03 Pedro Alves <pedro@codesourcery.com>
* i386-tdep.c (i386_displaced_step_fixup): Condition log printing
on debug_displaced being set.
2008-06-30 Daniel Jacobowitz <dan@codesourcery.com> 2008-06-30 Daniel Jacobowitz <dan@codesourcery.com>
* frame.c (get_prev_frame_1): Call frame_unwind_find_by_frame * frame.c (get_prev_frame_1): Call frame_unwind_find_by_frame

View File

@ -450,8 +450,9 @@ i386_displaced_step_fixup (struct gdbarch *gdbarch,
presenting them to GDB.) */ presenting them to GDB.) */
if (i386_breakpoint_p (insn)) if (i386_breakpoint_p (insn))
{ {
fprintf_unfiltered (gdb_stdlog, if (debug_displaced)
"displaced: stepped breakpoint\n"); fprintf_unfiltered (gdb_stdlog,
"displaced: stepped breakpoint\n");
eip--; eip--;
} }