From 69e7b95e2ee2f70e452b722e8225a3766cb550ff Mon Sep 17 00:00:00 2001 From: Randolph Chung Date: Tue, 25 May 2004 03:55:23 +0000 Subject: [PATCH] 2004-05-24 Randolph Chung * hppa-tdep.c (SR4EXPORT_LDIL_OFFSET, SR4EXPORT_LDO_OFFSET): Remove unused symbols. * hppa-tdep.h (HPPA_INSTRUCTION_SIZE): Remove, since there are no more references. --- gdb/ChangeLog | 7 +++++++ gdb/hppa-tdep.c | 5 ----- gdb/hppa-tdep.h | 2 -- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d04cd666613..856a750cdf2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2004-05-24 Randolph Chung + + * hppa-tdep.c (SR4EXPORT_LDIL_OFFSET, SR4EXPORT_LDO_OFFSET): Remove + unused symbols. + * hppa-tdep.h (HPPA_INSTRUCTION_SIZE): Remove, since there are no more + references. + 2004-05-24 Joel Brobecker * infcmd.c (kill_if_already_running): New function, extracted diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 52176ee68f3..0dd954e7a50 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -64,11 +64,6 @@ const struct objfile_data *hppa_objfile_priv_data = NULL; #define MASK_14 0x3fff #define MASK_21 0x1fffff -/* Define offsets into the call dummy for the _sr4export address. - See comments related to CALL_DUMMY for more info. */ -#define SR4EXPORT_LDIL_OFFSET (HPPA_INSTRUCTION_SIZE * 12) -#define SR4EXPORT_LDO_OFFSET (HPPA_INSTRUCTION_SIZE * 13) - /* Sizes (in bytes) of the native unwind entries. */ #define UNWIND_ENTRY_SIZE 16 #define STUB_UNWIND_ENTRY_SIZE 8 diff --git a/gdb/hppa-tdep.h b/gdb/hppa-tdep.h index f90860e827a..096f2ab6e7c 100644 --- a/gdb/hppa-tdep.h +++ b/gdb/hppa-tdep.h @@ -23,8 +23,6 @@ struct trad_frame_saved_reg; -enum { HPPA_INSTRUCTION_SIZE = 4 }; - /* Register numbers of various important registers. Note that some of these values are "real" register numbers, and correspond to the general registers of the machine, -- 2.30.2