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_components.py | |
parent | 04e63f26ba5f661fe28503e9aeb99fbdc5ea9a7b (diff) | |
download | binutils-e14f6ec969d788b73ac61f61e8c623536cda1cad.zip binutils-e14f6ec969d788b73ac61f61e8c623536cda1cad.tar.gz binutils-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_components.py')
-rw-r--r-- | gdb/gdbarch_components.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbarch_components.py b/gdb/gdbarch_components.py index 24e9794..4006380 100644 --- a/gdb/gdbarch_components.py +++ b/gdb/gdbarch_components.py @@ -1020,7 +1020,7 @@ is not used. ) Function( - type="int", + type="bool", name="inner_than", params=[("CORE_ADDR", "lhs"), ("CORE_ADDR", "rhs")], ) |