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 | 40324f1b404edf73cafbf8c6c7deb017a4623ba8 (patch) | |
tree | 6777ef658a69d69e6c2c58574fcf548f26f02858 /gdb | |
parent | 7aaa0689cc7af3af91089ae7203f1f783cc45ec8 (diff) | |
download | fsf-binutils-gdb-40324f1b404edf73cafbf8c6c7deb017a4623ba8.zip fsf-binutils-gdb-40324f1b404edf73cafbf8c6c7deb017a4623ba8.tar.gz fsf-binutils-gdb-40324f1b404edf73cafbf8c6c7deb017a4623ba8.tar.bz2 |
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')
-rw-r--r-- | gdb/ChangeLog | 10 | ||||
-rw-r--r-- | gdb/hppa-tdep.c | 2 | ||||
-rw-r--r-- | gdb/minsyms.c | 10 | ||||
-rw-r--r-- | gdb/somsolib.c | 4 | ||||
-rw-r--r-- | gdb/symtab.h | 1 |
5 files changed, 12 insertions, 15 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4767e2b..3834c54 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,13 @@ +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. 2003-10-16 Kei Sakamoto <sakamoto.kei@renesas.com> diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index e5a1890..c168b5d 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -2376,7 +2376,7 @@ hppa_fix_call_dummy (char *dummy, CORE_ADDR pc, CORE_ADDR fun, int nargs, { stub_symbol = lookup_minimal_symbol_solib_trampoline - (DEPRECATED_SYMBOL_NAME (funsymbol), NULL, objfile); + (DEPRECATED_SYMBOL_NAME (funsymbol), objfile); if (!stub_symbol) stub_symbol = lookup_minimal_symbol (DEPRECATED_SYMBOL_NAME (funsymbol), diff --git a/gdb/minsyms.c b/gdb/minsyms.c index e4fd60d..d93a697 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) diff --git a/gdb/somsolib.c b/gdb/somsolib.c index ed54ad0..e013fd8 100644 --- a/gdb/somsolib.c +++ b/gdb/somsolib.c @@ -937,7 +937,7 @@ som_solib_create_inferior_hook (void) /* What a crock. */ msymbol2 = lookup_minimal_symbol_solib_trampoline (DEPRECATED_SYMBOL_NAME (msymbol), - NULL, objfile); + objfile); /* Found a symbol with the right name. */ if (msymbol2) { @@ -1225,7 +1225,6 @@ som_solib_desire_dynamic_linker_symbols (void) } dld_msymbol = lookup_minimal_symbol_solib_trampoline ("shl_load", - NULL, objfile); if (dld_msymbol != NULL) { @@ -1265,7 +1264,6 @@ som_solib_desire_dynamic_linker_symbols (void) } dld_msymbol = lookup_minimal_symbol_solib_trampoline ("shl_unload", - NULL, objfile); if (dld_msymbol != NULL) { diff --git a/gdb/symtab.h b/gdb/symtab.h index da30125..3723559 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -1168,7 +1168,6 @@ extern struct minimal_symbol *lookup_minimal_symbol_text (const char *, struct objfile *); struct minimal_symbol *lookup_minimal_symbol_solib_trampoline (const char *, - const char *, struct objfile *); |