diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-02-09 07:00:45 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-02-09 07:00:45 +0000 |
commit | 2d336b1b5186660c5965deb7b7728fefe0f2d14d (patch) | |
tree | 63738f35d4b8fd6e25a72ef0bcb0c7aa9a0cc203 /gdb/hpread.c | |
parent | 151e7820c7460be261142e031fe35a7a193f8acd (diff) | |
download | gdb-2d336b1b5186660c5965deb7b7728fefe0f2d14d.zip gdb-2d336b1b5186660c5965deb7b7728fefe0f2d14d.tar.gz gdb-2d336b1b5186660c5965deb7b7728fefe0f2d14d.tar.bz2 |
* config/sparc/tm-sun4sol2.h, dbxread.c: Rename
N_SO_ADDRESS_MAYBE_MISSING to SOFUN_ADDRESS_MAYBE_MISSING.
* symtab.h (minimal_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]: Add
filename field.
* elfread.c (record_minimal_symbol_and_info),
minsyms.c, symtab.h (prim_record_minimal_symbol_and_info): Return
newly created symbol.
* elfread.c (elf_symtab_read) [SOFUN_ADDRESS_MAYBE_MISSING]:
Set filename field of minimal symbol.
* symmisc.c (dump_msymbols) [SOFUN_ADDRESS_MAYBE_MISSING]:
Print filename field.
* minsyms.c, symtab.h (lookup_minimal_symbol): New arg sfile.
* symm-tdep.c, somsolib.c, hppa-tdep.c, c-exp.y, f-exp.y,
m2-exp.y, nindy-tdep.c, m3-nat.c, irix5-nat.c, hpread.c,
os9kread.c, breakpoint.c, alpha-tdep.c, valops.c, symtab.c,
printcmd.c, dbxread.c: Change callers to pass NULL for sfile.
* dbxread.c (process_one_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]:
Find address of function from minimal symbols.
* partial-stab.h, case 'f', 'F': Call find_stab_function_addr
instead of getting pst->textlow from the stab.
* minsyms.c (find_stab_function_addr): New function.
Diffstat (limited to 'gdb/hpread.c')
-rw-r--r-- | gdb/hpread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/hpread.c b/gdb/hpread.c index b31d972..099a883 100644 --- a/gdb/hpread.c +++ b/gdb/hpread.c @@ -700,7 +700,7 @@ hpread_get_textlow (global, index, objfile) return 0; /* The minimal symbols are typically more accurate for some reason. */ - msymbol = lookup_minimal_symbol (dn_bufp->dfunc.name + VT (objfile), + msymbol = lookup_minimal_symbol (dn_bufp->dfunc.name + VT (objfile), NULL, objfile); if (msymbol) return SYMBOL_VALUE_ADDRESS (msymbol); |