From: Simon Marchi Date: Thu, 13 Jan 2022 19:32:27 +0000 (-0500) Subject: gdb/infrun: add logging statement to do_target_resume X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=05d65a7a6c888a0b80a7591a72059fec520c6a2e;p=binutils-gdb.git gdb/infrun: add logging statement to do_target_resume This helped me, it shows which ptid we actually call target_resume with. Change-Id: I2dfd771e83df8c25f39371a13e3e91dc7882b73d --- diff --git a/gdb/infrun.c b/gdb/infrun.c index ad2b267384f..5c7192eef30 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -2189,6 +2189,10 @@ do_target_resume (ptid_t resume_ptid, bool step, enum gdb_signal sig) else target_pass_signals (signal_pass); + infrun_debug_printf ("resume_ptid=%s, step=%d, sig=%s", + resume_ptid.to_string ().c_str (), + step, gdb_signal_to_symbol_string (sig)); + target_resume (resume_ptid, step, sig); }