aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-string.c
diff options
context:
space:
mode:
authorTankut Baris Aktemur <tankut.baris.aktemur@intel.com>2020-06-22 14:03:33 +0200
committerTankut Baris Aktemur <tankut.baris.aktemur@intel.com>2020-06-22 14:03:33 +0200
commitbd920864f3dc2cad376989a642ab774aef6b2fce (patch)
treefea54fdfbc5e526b872df010b34b96b386d2246a /libctf/ctf-string.c
parentf809832224cc45eb58812f6d4bb03cbf52fad980 (diff)
downloadgdb-bd920864f3dc2cad376989a642ab774aef6b2fce.zip
gdb-bd920864f3dc2cad376989a642ab774aef6b2fce.tar.gz
gdb-bd920864f3dc2cad376989a642ab774aef6b2fce.tar.bz2
gdb/jit: return bool in jit_breakpoint_re_set_internal and jit_read_descriptor
This is a minor refactoring that converts the return type of jit_read_descriptor and jit_breakpoint_re_set_internal functions from 'int' to 'bool'. The return value logic of jit_breakpoint_re_set_internal has been reversed. With this patch it now returns true if the jit breakpoint has been successfully initialized. gdb/ChangeLog: 2020-06-22 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> * jit.c (jit_read_descriptor): Use bool as the return type. (jit_breakpoint_re_set_internal): Use bool as the return type. Invert the return value logic; return true if the jit breakpoint has been successfully initialized. (jit_inferior_init): Update the call to jit_breakpoint_re_set_internal.
Diffstat (limited to 'libctf/ctf-string.c')
0 files changed, 0 insertions, 0 deletions