diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2003-06-02 23:20:47 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2003-06-02 23:20:47 +0000 |
commit | adedef68ce373a39f7f005a0d7599a41dcae3806 (patch) | |
tree | 16248c0abbbcaa8134840015b245207796b1d9ba /gdb | |
parent | 9f470756e9eac952e5497a2c4f0885ebd8fbbd6b (diff) | |
download | gdb-adedef68ce373a39f7f005a0d7599a41dcae3806.zip gdb-adedef68ce373a39f7f005a0d7599a41dcae3806.tar.gz gdb-adedef68ce373a39f7f005a0d7599a41dcae3806.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/symfile.c | 15 | ||||
-rw-r--r-- | gdb/target.h | 6 |
3 files changed, 6 insertions, 21 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e5e104b..62dff2b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 ... diff --git a/gdb/symfile.c b/gdb/symfile.c index 8bb3b37..3d63502 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 cd82279..c2d8793 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. */ |