mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-05 15:15:42 +00:00
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>
This commit is contained in:
@@ -173,16 +173,16 @@ default_code_of_frame_writable (struct gdbarch *gdbarch,
|
||||
|
||||
/* Helper functions for gdbarch_inner_than */
|
||||
|
||||
int
|
||||
bool
|
||||
core_addr_lessthan (CORE_ADDR lhs, CORE_ADDR rhs)
|
||||
{
|
||||
return (lhs < rhs);
|
||||
return lhs < rhs;
|
||||
}
|
||||
|
||||
int
|
||||
bool
|
||||
core_addr_greaterthan (CORE_ADDR lhs, CORE_ADDR rhs)
|
||||
{
|
||||
return (lhs > rhs);
|
||||
return lhs > rhs;
|
||||
}
|
||||
|
||||
/* Misc helper functions for targets. */
|
||||
|
||||
Reference in New Issue
Block a user