This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On 05/03/2012 02:14 PM, Yao Qi wrote:

> gdb:
> 
> 2012-04-12  Pedro Alves  <pedro@codesourcery.com>
> 
> 	* infrun.c (displaced_step_fixup): Add prefix "displaced:" in debug
> 	log.


This one's pretty independent and obvious.  I've put it in.

> ---
>  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);



-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]