projects
/
deliverable
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f38b1b
)
gdb: add logging in fetch_inferior_event to see the result of do_target_wait
author
Simon Marchi
<simon.marchi@efficios.com>
Thu, 2 Jul 2020 20:33:11 +0000
(16:33 -0400)
committer
Simon Marchi
<simon.marchi@efficios.com>
Wed, 8 Jul 2020 18:42:54 +0000
(14:42 -0400)
Change-Id: I3a7c3d34d5e13345ce281de052893efefa349892
gdb/infrun.c
patch
|
blob
|
blame
|
history
diff --git
a/gdb/infrun.c
b/gdb/infrun.c
index 159a13b3a238bb69c8fd45ac71d2185b40535e4a..ad7ff7f1a89dd01b01586e27573bd1557c5628b9 100644
(file)
--- a/
gdb/infrun.c
+++ b/
gdb/infrun.c
@@
-3890,7
+3890,12
@@
fetch_inferior_event ()
target_execution_direction ());
if (!do_target_wait (minus_one_ptid, ecs, TARGET_WNOHANG))
- return;
+ {
+ infrun_log_debug ("do_target_wait returned false");
+ return;
+ }
+
+ infrun_log_debug ("do_target_wait returned true");
gdb_assert (ecs->ws.kind != TARGET_WAITKIND_IGNORE);
This page took
0.027773 seconds
and
4
git commands to generate.