diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2003-10-16 16:35:27 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2003-10-16 16:35:27 +0000 |
commit | 1da02d627fcd030c14094473010f51e3d1fc3858 (patch) | |
tree | 78804813d0fdb1a30b82987e1a97347d9e56cdd0 /gdb/minsyms.c | |
parent | 7d1a755c7ea748ed4b5802aeb5f5cf686a763439 (diff) | |
download | gdb-1da02d627fcd030c14094473010f51e3d1fc3858.tar.gz |
2003-10-16 Elena Zannoni <ezannoni@redhat.com>
* minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove
second parameter, which is always null. Remove
SOFUN_ADDRESS_MAYBE_MISSING ifdeffed code.
* symtab.h (lookup_minimal_symbol_solib_trampoline): Update
accordingly.
* somsolib.c (som_solib_create_inferior_hook,
som_solib_desire_dynamic_linker_symbols): Update callers.
* hppa-tdep.c (hppa_fix_call_dummy): Ditto.
Diffstat (limited to 'gdb/minsyms.c')
-rw-r--r-- | gdb/minsyms.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/minsyms.c b/gdb/minsyms.c index e4fd60d0b10..d93a697e140 100644 --- a/gdb/minsyms.c +++ b/gdb/minsyms.c @@ -346,7 +346,6 @@ lookup_minimal_symbol_text (const char *name, const char *sfile, struct minimal_symbol * lookup_minimal_symbol_solib_trampoline (const char *name, - const char *sfile, struct objfile *objf) { struct objfile *objfile; @@ -355,15 +354,6 @@ lookup_minimal_symbol_solib_trampoline (const char *name, unsigned int hash = msymbol_hash (name) % MINIMAL_SYMBOL_HASH_SIZE; -#ifdef SOFUN_ADDRESS_MAYBE_MISSING - if (sfile != NULL) - { - char *p = strrchr (sfile, '/'); - if (p != NULL) - sfile = p + 1; - } -#endif - for (objfile = object_files; objfile != NULL && found_symbol == NULL; objfile = objfile->next) |