Use "bool" in fetch_inferior_event
authorTom Tromey <tom@tromey.com>
Sat, 14 Nov 2020 16:44:56 +0000 (09:44 -0700)
committerTom Tromey <tom@tromey.com>
Sat, 14 Nov 2020 16:44:56 +0000 (09:44 -0700)
commit758cb81029440efad398f1aba4789a18e59daee2
treeaf595e56b9ce3b701ad9d5eec7a9d8b4235e2247
parent749065b7a71a877b96db280dbdc5ddf6fd259827
Use "bool" in fetch_inferior_event

A while back I noticed that fetch_inferior_event used "int" for
should_stop, whereas it can be bool.  The method it is assigned from:

      should_stop = thread_fsm->should_stop (thr);

... already returns bool.

Tested by rebuilding.

gdb/ChangeLog
2020-11-14  Tom Tromey  <tom@tromey.com>

* infrun.c (fetch_inferior_event): Use "bool" for should_stop.
gdb/ChangeLog
gdb/infrun.c
This page took 0.024868 seconds and 4 git commands to generate.