diff options
author | Sergio Durigan Junior <sergiodj@redhat.com> | 2019-05-16 15:58:55 -0400 |
---|---|---|
committer | Sergio Durigan Junior <sergiodj@redhat.com> | 2019-05-16 16:26:29 -0400 |
commit | af2d9beee989c7b75de849d9c08629a1e3f567ad (patch) | |
tree | 7c56817fa8d548f4d6ace1456f1285370a63d943 /gdb/annotate.h | |
parent | 61c9c4212daa0be96503b9069da387aebf9cba04 (diff) | |
download | gdb-af2d9beee989c7b75de849d9c08629a1e3f567ad.zip gdb-af2d9beee989c7b75de849d9c08629a1e3f567ad.tar.gz gdb-af2d9beee989c7b75de849d9c08629a1e3f567ad.tar.bz2 |
Bool-ify stap-probe.c and stap-related code on i386-tdep.c
This simple patch converts a bunch of "int"s to "bool" on stap-probe.c
and on the stap-related code present on i386-tdep.c.
Pushed as obvious (+ I'm the maintainer of this code).
gdb/ChangeLog:
2019-05-16 Sergio Durigan Junior <sergiodj@redhat.com>
* i386-tdep.c (i386_stap_parse_special_token_triplet): Change
return type to 'bool'. Adjust comment. Use 'bool' when
appropriate.
(i386_stap_parse_special_token_three_arg_disp): Likewise.
* stap-probe.c (stap_parse_argument_1): Likewise.
(stap_is_operator): Likewise.
(stap_is_generic_prefix): Likewise.
(stap_is_register_prefix): Likewise.
(stap_is_register_indirection_prefix): Likewise.
(stap_is_integer_prefix): Likewise.
(stap_generic_check_suffix): Likewise.
(stap_check_integer_suffix): Likewise.
(stap_check_register_suffix): Likewise.
(stap_check_register_indirection_suffix): Likewise.
(stap_parse_register_operand): Likewise.
(stap_parse_single_operand): Likewise.
(stap_parse_argument_1): Likewise.
(stap_probe::get_argument_count): Likewise.
(stap_is_operator): Likewise.
Diffstat (limited to 'gdb/annotate.h')
0 files changed, 0 insertions, 0 deletions