summaryrefslogtreecommitdiff
path: root/gdb/hpread.c
Commit message (Collapse)AuthorAgeFilesLines
* * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),Jim Kingdon1995-05-131-3/+2
| | | | | mdebugread.c (struct symloc), hpread.c (struct symloc): Fix error in 20 Apr 1995 cleanup of comments.
* * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),Jim Kingdon1995-04-211-15/+17
| | | | | mdebugread.c (struct symloc), hpread.c (struct symloc): Clean up comments.
* * hpread.c (hpread_record_lines): New argument "offset". AllJeff Law1995-03-041-20/+29
| | | | | | | | | callers changed. Use it to handle dynamic address relocation. (hpread_build_psymtabs): Adjust texthigh as we read each function debug symbol. Fix computation of texthigh. (hpread_read_subrange_type): Work around macro bugs in HP's compilers. (hpread_process_one_debug_symbol): Correctly map source lines.
* * config/sparc/tm-sun4sol2.h, dbxread.c: RenameJim Kingdon1995-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 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.
* * hpread.c (hpread_process_one_debug_symbol): Fix lines garbledJeff Law1995-01-251-2/+2
| | | | by an ill-advised global search and replace.
* * hpread.c: Include hp-symtab.h instead of hpux-symtab.h.Jeff Law1994-11-251-211/+222
| | | | | | | Various name changes to match those used by hp-symtab.h. No longer sanitize away hpread changes. Merge ChangeLog.hpread into ChangeLog and ChangeLog-93.
* * hpread.c (hpread_read_array_type): Do not change the type codeJeff Law1994-09-291-3/+2
| | | | | to TYPE_CODE_PTR for "char foo[]". Just make it a zero length array type.
* * hpread.c (hpread_type_translate): Handle T_UNS_LONG types withJeff Law1994-09-291-1/+7
| | | | | lengths other than 32bits (HP C 9.69 represents an "unsigned char" as an T_UNS_LONG with length 8).
* * hpread.c (struct hpread_symfile_info): Delete have_module fieldJeff Law1994-09-281-46/+27
| | | | | | | | | | | | and accessor macro. Minor indentation fix. (hpread_build_psymtabs, case K_MODULE): Only start a new psymtab and reset state variables have_name & texthigh if pst is NULL. (hpread_build_psymtabs, case K_SRCFILE): Only reset the name of a partial symbol table if pst is non-NULL. If pst is NULL, then start a new psymtab. (hpread_process_one_debug_symbol, case K_MODULE): Now empty. (hpread_process_one_debug_symbol, case K_SRCFILE): Simplify and correct handling of subfiles.
* * Makefile.in (ALLDEPFILES): Add hpread.c.Jeff Law1994-08-191-0/+2044
(hpread.o): Add dependencies. * somread.c: Do not include "aout/aout64.h". SOM has nothing to do with a.out. (BYTES_IN_WORD): Delete. (som_symfile_read): Call hpread_build_psymtabs to build any minimal symbols based on the HP C native debug symbols. (som_symfile_finish): Call hpread_symfile_finish. (som_symfile_init): Call hpread_symfile_init. * config/pa/tm-hppa.h (HPREAD_ADJUST_STACK_ADDRESS): Define. * hppa-tdep.c (hpread_adjust_stack_address): New function. * config/pa/hppabsd.mh (NATDEPFILES): Add hpread.o * config/pa/hppahpux.mh (NATDEPFILES): Likewise. * hpread.c: New file.