From f08f6a4ad5efdc7de4ad823e2c7a3005b530c493 Mon Sep 17 00:00:00 2001 From: Randolph Chung Date: Mon, 17 May 2004 14:59:16 +0000 Subject: [PATCH] 2004-05-17 Randolph Chung * hppa-tdep.c (THREAD_INITIAL_FRAME_SYMBOL): Delete unused symbol. (THREAD_INITIAL_FRAME_SYM_LEN): Likewise. (unwind_command, hppa_alignof, prologue_inst_adjust_sp) (is_branch, inst_saves_gr, inst_saves_fr, compare_unwind_entries) (read_unwind_info, internalize_unwinds, record_text_segment_lowaddr): Remove static function declarations. --- gdb/ChangeLog | 9 +++++++++ gdb/hppa-tdep.c | 26 -------------------------- 2 files changed, 9 insertions(+), 26 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 855b9da3e13..e2e725eb942 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +2004-05-17 Randolph Chung + + * hppa-tdep.c (THREAD_INITIAL_FRAME_SYMBOL): Delete unused symbol. + (THREAD_INITIAL_FRAME_SYM_LEN): Likewise. + (unwind_command, hppa_alignof, prologue_inst_adjust_sp) + (is_branch, inst_saves_gr, inst_saves_fr, compare_unwind_entries) + (read_unwind_info, internalize_unwinds, record_text_segment_lowaddr): + Remove static function declarations. + 2004-05-17 Mark Kettenis * m68k-tdep.h (m68k_regnum): Add M68K_D2_REGNUM, M68K_D7_REGNUM diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 0876ab59e37..a983745d992 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -79,36 +79,10 @@ const struct objfile_data *hppa_objfile_priv_data = NULL; #define SR4EXPORT_LDIL_OFFSET (HPPA_INSTRUCTION_SIZE * 12) #define SR4EXPORT_LDO_OFFSET (HPPA_INSTRUCTION_SIZE * 13) -/* To support detection of the pseudo-initial frame - that threads have. */ -#define THREAD_INITIAL_FRAME_SYMBOL "__pthread_exit" -#define THREAD_INITIAL_FRAME_SYM_LEN sizeof(THREAD_INITIAL_FRAME_SYMBOL) - /* Sizes (in bytes) of the native unwind entries. */ #define UNWIND_ENTRY_SIZE 16 #define STUB_UNWIND_ENTRY_SIZE 8 -static void unwind_command (char *, int); - -static int hppa_alignof (struct type *); - -static int prologue_inst_adjust_sp (unsigned long); - -static int is_branch (unsigned long); - -static int inst_saves_gr (unsigned long); - -static int inst_saves_fr (unsigned long); - -static int compare_unwind_entries (const void *, const void *); - -static void read_unwind_info (struct objfile *); - -static void internalize_unwinds (struct objfile *, - struct unwind_table_entry *, - asection *, unsigned int, - unsigned int, CORE_ADDR); -static void record_text_segment_lowaddr (bfd *, asection *, void *); /* FIXME: brobecker 2002-11-07: We will likely be able to make the following functions static, once we hppa is partially multiarched. */ int hppa_pc_requires_run_before_use (CORE_ADDR pc); -- 2.30.2