aboutsummaryrefslogtreecommitdiff
path: root/gdb/somsolib.c
AgeCommit message (Collapse)AuthorFilesLines
1995-03-24 * somsolib.c (som_solib_add): Handle case where a shared libraryJeff Law1-9/+6
referenced by a core file has sections without the SEC_ALLOC bit set (eg stabs sections).
1995-03-09 * somsolib.c (som_solib_section_offsets): Get offset of textJeff Law1-1/+2
section right.
1995-02-09 * somread.c (som_symtab_read): Handle dynamic relocation for bothJeff Law1-2/+38
text and data symbols. (som_symfile_offsets): If objfile is a shared library, then get text and data offsets from the shared library structures. * somsolib.c (som_solib_add): Copy the bfd pointer from the objfile rather than reopening the file again. (som_solib_section_offsets): New function. * somsolib.h (som_solib_section_offsets): Declare.
1995-02-09 * config/sparc/tm-sun4sol2.h, dbxread.c: RenameJim Kingdon1-5/+5
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.
1994-12-27 * somsolib.c (som_solib_add): Return without loading any sharedJeff Law1-0/+6
libraries if symfile_objfile is NULL. (som_solib_create_inferior_hook): Likewise.
1994-12-01 * somsolib.c (som_solib_get_got_by_pc): New function.Jeff Law1-2/+23
* somsolib.h (som_solib_get_got_by_pc): Add extern decl. * hppa-tdep.c (hppa_fix_call_dummy): Handle case where FUN is the function's export stub or real address in a shared library.
1994-11-13 * somsolib.c: Add TODO list.Jeff Law1-36/+280
(som_solib_add): Immediately return if $SHLIB_INFO$ sections does not exist or has size zero. Slightly simplify error handling. Keep an internal list of all the loaded shared libraries and various tidbits of information about the loaded shared libraries. Build section tables for each loaded shared library and add those tables to the core target if necessary. (som_solib_create_inferior_hook): Force re-reading of shared libraries at exec time. (som_sharedlibrary_info_command): New function for dumping information about the currently loaded shared libraries. (_initialize_som_solib): New function.
1994-11-11 * hppa-tdep.c (rp_saved): Handle IMPORT stubs too.Jeff Law1-0/+36
* somsolib.c (som_solib_add): Check the value of __dld_flags, if it indicates __dld_list is not valid return an error. If it indicates that libraries were not mapped privately, issue a warning.
1994-11-07 * Beginnings of SOM shared library support. Breakpoints andJeff Law1-0/+319
single frame backtracing within the library only. Only works when using the HPUX 9 dynamic linker. More functionality to be added soon. * somsolib.c, somsolib.h: New files. * Makefile.in (HFILES_NO_SRCDIR): Add somsolib.h (ALLDEPFILES): Add somsolib.c. (somsolib.o): Add some dependencies. * mpw-make.in (HFILES_NO_SRCDIR): Add somsolib.h (ALLDEPFILES): Add somsolib.c. (somsolib.o): Add some dependencies. * somread.c (som_symtab_read): Accept multiple section offsets. All callers changed. Adjust all text symbols with the first section offset. * symfile.c (find_lowest_section): Enable this function. Add some tie-breaking logic when sections have the same vma. (syms_from_objfile): Use find_lowest_section rather than looking for ".text" by name. Relax warning to only warn if the lowest section is not a code section. * config/pa/{hppabsd.mh, hppahpux.mh} (NATDEPFILES): Add somsolib.o * config/pa/{nm-hppab.h, nm-hppah.h}: Include somsolib.h.