diff options
author | Randolph Chung <tausq@debian.org> | 2004-04-11 04:20:51 +0000 |
---|---|---|
committer | Randolph Chung <tausq@debian.org> | 2004-04-11 04:20:51 +0000 |
commit | a2a84a72edb634cfed1fb30780c41260aeed2a00 (patch) | |
tree | 4aa43e35f82d3d5d2d67ecd5df6ba264b8018e69 /gdb | |
parent | 279500dea9150c45d679dd23387a219b308b5c76 (diff) | |
download | gdb-a2a84a72edb634cfed1fb30780c41260aeed2a00.zip gdb-a2a84a72edb634cfed1fb30780c41260aeed2a00.tar.gz gdb-a2a84a72edb634cfed1fb30780c41260aeed2a00.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/hppa-tdep.c | 12 |
2 files changed, 7 insertions, 11 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d783729..54ca70f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +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. diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 90bdd10..3d4a4d1 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -126,7 +126,6 @@ CORE_ADDR hppa_skip_prologue (CORE_ADDR pc); 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); @@ -134,8 +133,6 @@ CORE_ADDR hppa_smash_text_address (CORE_ADDR addr); 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 @@ -2470,13 +2467,6 @@ hppa_reg_struct_has_addr (int gcc_p, struct type *type) } 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) { /* Sometimes we may pluck out a minimal symbol that has a negative address. @@ -2678,7 +2668,7 @@ hppa_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) 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); |