diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2022-01-13 14:32:27 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2022-04-04 22:11:49 -0400 |
commit | 05d65a7a6c888a0b80a7591a72059fec520c6a2e (patch) | |
tree | ebb31d2a36ff5fb969a3f36843f804ab47f5251b | |
parent | 148cf134e981ec060a5693480b33d1a0eb244e9e (diff) | |
download | binutils-05d65a7a6c888a0b80a7591a72059fec520c6a2e.zip binutils-05d65a7a6c888a0b80a7591a72059fec520c6a2e.tar.gz binutils-05d65a7a6c888a0b80a7591a72059fec520c6a2e.tar.bz2 |
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
-rw-r--r-- | gdb/infrun.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index ad2b267..5c7192e 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); } |