diff options
author | Tom Tromey <tromey@adacore.com> | 2024-05-10 11:54:15 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2024-05-10 13:22:25 -0600 |
commit | e14f6ec969d788b73ac61f61e8c623536cda1cad (patch) | |
tree | 07adc8b895a95a5e2eaea163efd9575f3060c186 /gdb/gdbarch.c | |
parent | 04e63f26ba5f661fe28503e9aeb99fbdc5ea9a7b (diff) | |
download | gdb-e14f6ec969d788b73ac61f61e8c623536cda1cad.zip gdb-e14f6ec969d788b73ac61f61e8c623536cda1cad.tar.gz gdb-e14f6ec969d788b73ac61f61e8c623536cda1cad.tar.bz2 |
Change gdbarch_inner_than to return bool
A recent patch from Andrew pointed out that gdbarch_inner_than returns
'int', while it should really return 'bool'.
Approved-By: Pedro Alves <pedro@palves.net>
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r-- | gdb/gdbarch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 2d92f60..58e9ebb 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -2788,7 +2788,7 @@ set_gdbarch_skip_entrypoint (struct gdbarch *gdbarch, gdbarch->skip_entrypoint = skip_entrypoint; } -int +bool gdbarch_inner_than (struct gdbarch *gdbarch, CORE_ADDR lhs, CORE_ADDR rhs) { gdb_assert (gdbarch != NULL); |