Move core_addr_lessthan and core_addr_greaterthan to arch-utils.

This commit is contained in:
Andrew Cagney
2000-05-15 03:56:30 +00:00
parent b02eeafb14
commit 3339cf8b68
5 changed files with 30 additions and 21 deletions

View File

@@ -144,6 +144,25 @@ generic_prologue_frameless_p (CORE_ADDR ip)
}
/* Helper functions for INNER_THAN */
int
core_addr_lessthan (lhs, rhs)
CORE_ADDR lhs;
CORE_ADDR rhs;
{
return (lhs < rhs);
}
int
core_addr_greaterthan (lhs, rhs)
CORE_ADDR lhs;
CORE_ADDR rhs;
{
return (lhs > rhs);
}
/* */
extern initialize_file_ftype __initialize_gdbarch_utils;