gdb/infrun: add logging statement to do_target_resume
authorSimon Marchi <simon.marchi@polymtl.ca>
Thu, 13 Jan 2022 19:32:27 +0000 (14:32 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Mon, 17 Jan 2022 20:11:27 +0000 (15:11 -0500)
This helped me, it shows which ptid we actually call target_resume with.

Change-Id: I2dfd771e83df8c25f39371a13e3e91dc7882b73d

gdb/infrun.c

index 430c78f8ada23c185ffc1dcb88036644e8ab5a1a..f182e289170dcbcc0a06fbaba622630af004e6e0 100644 (file)
@@ -2183,6 +2183,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);
 
   if (target_can_async_p ())
This page took 0.027237 seconds and 4 git commands to generate.