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.
This commit is contained in:
Elena Zannoni 2003-06-02 23:20:47 +00:00
parent 9f470756e9
commit adedef68ce
3 changed files with 6 additions and 21 deletions

View 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 ...

View 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);
}
}

View 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. */