projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
148cf13
)
gdb/infrun: add logging statement to do_target_resume
author
Simon Marchi
<simon.marchi@polymtl.ca>
Thu, 13 Jan 2022 19:32:27 +0000
(14:32 -0500)
committer
Simon Marchi
<simon.marchi@polymtl.ca>
Tue, 5 Apr 2022 02:11:49 +0000
(22:11 -0400)
This helped me, it shows which ptid we actually call target_resume with.
Change-Id: I2dfd771e83df8c25f39371a13e3e91dc7882b73d
gdb/infrun.c
patch
|
blob
|
history
diff --git
a/gdb/infrun.c
b/gdb/infrun.c
index ad2b267384f8d8b532d68427aa4af7037ca64724..5c7192eef30447cf355c2177a506a50a4df1c82c 100644
(file)
--- 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);
}