gdb: use bool in the solib catchpoint area
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 16 Sep 2020 21:26:30 +0000 (17:26 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 16 Sep 2020 21:26:45 +0000 (17:26 -0400)
commitb650a28273a1cdc4bea825f6e7ccf52c9647ff9c
tree27fc510a13b00a4e29457d968a1426ae4d5e4589
parent4d0bcfcf62dd55d7b3e2983af7075e108b3eb37c
gdb: use bool in the solib catchpoint area

Use bool instead of int in struct solib_catchpoint and in init_catchpoint &
related functions.

gdb/ChangeLog:

* breakpoint.h (init_catchpoint): Change int parameter to bool.
(add_solib_catchpoint): Likewise.
* breakpoint.c (struct solib_catchpoint) <is_load>: Change type
to bool.
(add_solib_catchpoint): Change int parameter/variable to bool.
(catch_load_or_unload): Likewise.
(init_catchpoint): Likewise.
(create_fork_vfork_event_catchpoint): Likewise.
(catch_fork_command_1): Likewise.
(catch_exec_command_1): Likewise.

Change-Id: I1faf4506e9109f3ccdd7229ba766dc7d77aa7aa0
gdb/ChangeLog
gdb/breakpoint.c
gdb/breakpoint.h
This page took 0.024737 seconds and 4 git commands to generate.