2003-06-02 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Mon, 2 Jun 2003 23:20:47 +0000 (23:20 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Mon, 2 Jun 2003 23:20:47 +0000 (23:20 +0000)
* target.h (TARGET_SYMFILE_POSTREAD): Delete unused macro.
* symfile.c (reread_symbols): Delete call to TARGET_SYMFILE_POSTREAD.
(syms_from_objfile): Ditto.

gdb/ChangeLog
gdb/symfile.c
gdb/target.h

index e5e104b..62dff2b 100644 (file)
@@ -1,3 +1,9 @@
+2003-06-02  Elena Zannoni  <ezannoni@redhat.com>
+
+       * 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  <schwab@suse.de>
 
        * m68k-tdep.c (m68k_gdbarch_init): Use set_gdbarch_print_insn ...
index 8bb3b37..3d63502 100644 (file)
@@ -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);
            }
        }
index cd82279..c2d8793 100644 (file)
@@ -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.  */