+2004-04-07 Randolph Chung <tausq@debian.org>
+
+ * hppa-tdep.c (hppa_inner_than): Remove.
+ (is_pa_2): Remove unused static variable.
+ (hppa_gdbarch_init): Use core_addr_greaterthan instead of own version.
+
2004-03-10 Paul N. Hilfinger <Hilfinger@gnat.com>
* language.h (language_defn): Add new la_post_parser field.
CORE_ADDR hppa_skip_trampoline_code (CORE_ADDR pc);
int hppa_in_solib_call_trampoline (CORE_ADDR pc, char *name);
int hppa_in_solib_return_trampoline (CORE_ADDR pc, char *name);
-int hppa_inner_than (CORE_ADDR lhs, CORE_ADDR rhs);
int hppa_pc_requires_run_before_use (CORE_ADDR pc);
int hppa_instruction_nullified (void);
int hppa_cannot_store_register (int regnum);
CORE_ADDR hppa_target_read_pc (ptid_t ptid);
void hppa_target_write_pc (CORE_ADDR v, ptid_t ptid);
-static int is_pa_2 = 0; /* False */
-
/* Handle 32/64-bit struct return conventions. */
static enum return_value_convention
return (TYPE_LENGTH (type) > 8);
}
-int
-hppa_inner_than (CORE_ADDR lhs, CORE_ADDR rhs)
-{
- /* Stack grows upward */
- return (lhs > rhs);
-}
-
int
hppa_pc_requires_run_before_use (CORE_ADDR pc)
{
set_gdbarch_in_solib_call_trampoline (gdbarch, hppa_in_solib_call_trampoline);
set_gdbarch_in_solib_return_trampoline (gdbarch,
hppa_in_solib_return_trampoline);
- set_gdbarch_inner_than (gdbarch, hppa_inner_than);
+ set_gdbarch_inner_than (gdbarch, core_addr_greaterthan);
set_gdbarch_sp_regnum (gdbarch, HPPA_SP_REGNUM);
set_gdbarch_fp0_regnum (gdbarch, HPPA_FP0_REGNUM);
set_gdbarch_cannot_store_register (gdbarch, hppa_cannot_store_register);