From adedef68ce373a39f7f005a0d7599a41dcae3806 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Mon, 2 Jun 2003 23:20:47 +0000 Subject: [PATCH] 2003-06-02 Elena Zannoni * target.h (TARGET_SYMFILE_POSTREAD): Delete unused macro. * symfile.c (reread_symbols): Delete call to TARGET_SYMFILE_POSTREAD. (syms_from_objfile): Ditto. --- gdb/ChangeLog | 6 ++++++ gdb/symfile.c | 15 --------------- gdb/target.h | 6 ------ 3 files changed, 6 insertions(+), 21 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e5e104b6d0a..62dff2b3b8e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2003-06-02 Elena Zannoni + + * target.h (TARGET_SYMFILE_POSTREAD): Delete unused macro. + * symfile.c (reread_symbols): Delete call to TARGET_SYMFILE_POSTREAD. + (syms_from_objfile): Ditto. + 2003-06-03 Andreas Schwab * m68k-tdep.c (m68k_gdbarch_init): Use set_gdbarch_print_insn ... diff --git a/gdb/symfile.c b/gdb/symfile.c index 8bb3b371339..3d63502b41f 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -792,13 +792,6 @@ syms_from_objfile (struct objfile *objfile, /* Discard cleanups as symbol reading was successful. */ discard_cleanups (old_chain); - - /* Call this after reading in a new symbol table to give target - dependent code a crack at the new symbols. For instance, this - could be used to update the values of target-specific symbols GDB - needs to keep track of (such as _sigtramp, or whatever). */ - - TARGET_SYMFILE_POSTREAD (objfile); } /* Perform required actions after either reading in the initial @@ -2041,14 +2034,6 @@ reread_symbols (void) again now. */ objfile->mtime = new_modtime; reread_one = 1; - - /* Call this after reading in a new symbol table to give target - dependent code a crack at the new symbols. For instance, this - could be used to update the values of target-specific symbols GDB - needs to keep track of (such as _sigtramp, or whatever). */ - - TARGET_SYMFILE_POSTREAD (objfile); - reread_separate_symbols (objfile); } } diff --git a/gdb/target.h b/gdb/target.h index cd822799ed6..c2d87937dad 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -945,12 +945,6 @@ extern void (*target_new_objfile_hook) (struct objfile *); #define target_get_thread_local_address_p() \ (target_get_thread_local_address != NULL) -/* Hook to call target-dependent code after reading in a new symbol table. */ - -#ifndef TARGET_SYMFILE_POSTREAD -#define TARGET_SYMFILE_POSTREAD(OBJFILE) -#endif - /* Hook to call target dependent code just after inferior target process has started. */ -- 2.30.2