aboutsummaryrefslogtreecommitdiff
path: root/gdb/paread.c
AgeCommit message (Collapse)AuthorFilesLines
1994-06-27 * somread.c: Renamed from paread.c. Changed function names andJeff Law1-547/+0
comments to reflect that this file deals with SOM (an object file format), rather than the PA (a cpu). (Makefile.in): Chaned appropriately. (config/pa/hppabsd.mh, config/pa/hppahpux.mh): Likewise. * dbxread.c (somstab_build_psymtabs): Renamed from pastab_build_psymtabs.
1994-04-17 * paread.c (compare_unwind_entries): Delete function. It's beenJeff Law1-176/+0
moved into hppa-tdep.c. (read_unwind_info): Likewise. (pa_symfile_read): No longer call read_unwind_info. The unwind tables will be read in as they are needed. * hppa-tdep.c (compare_unwind_entries): New function. (read_unwind_info, internalize_unwinds): Likewise. (find_unwind_entry): Read in unwind information on demand.
1994-04-11 * paread.c (pa_symtab_read): Handle ST_STUB symbols and symbolsJeff Law1-3/+61
with scope SS_EXTERNAL. ST_ENTRY symbols in dynamic executables are type mst_solib_trampoline.
1994-03-25 * paread.c (read_unwind_info): Fix off-by-one error.Jeff Law1-2/+2
1994-01-30 * paread.c (read_unwind_info)Jeff Law1-13/+13
* paread.c (pa_symtab_read): Update the "check_strange_names" filter to match GCC's current output. Filter out section symbols (which the HP linker sometimes puts in the wrong place).
1994-01-28 * config/pa/tm-hppa.h: Define macro SMASH_TEXT_ADDRESS.Jim Kingdon1-3/+9
* elfread.c (record_minimal_symbol_and_info), dwarfread.c (process_dies), paread.c (pa_symtab_read): Use it.
1994-01-25 * paread.c (read_unwind_info): Just assign to objfile->obj_private,Jim Kingdon1-1/+1
not OBJ_UNWIND_INFO. Assigning to a cast is a GCC-ism which the HP compiler in ANSI mode doesn't like. * main.c: When defaulting HAVE_SIGSETMASK based on USG, just do it based on USG, rather than defining HAVE_SIGSETMASK to an expression containing defined. This is for the HP compiler in ANSI mode.
1994-01-18 * config/pa/tm-hppa.h (unwind_table_entry): Use one of theJeff Law1-11/+144
reserved fields to hold a stub unwind entry type. Fix typo. (stub_unwind_entry): New structure for raw stub unwind entries. (stub_unwind_types): The types of stubs we may encounter. (UNWIND_ENTRY_SIZE, STUB_UNWIND_ENTRY_SIZE): New defines. * hppa-tdep.c (rp_saved): Use additional information provided by linker stub unwind descriptors. (frameless_function_invocation): Likewise. (frame_chain_valid): Likewise. * paread.c (compare_unwind_entries): New function for sorting unwind table entries. (read_unwind_info): Rewrite to remove dependency on host endianness. Read in data from the $UNWIND_END$ subspace which contains linker stub unwind descriptors. Merge that data into the basic unwind table.
1993-12-27 * minsyms.c, symtab.h (prim_record_minimal_symbol{,_and_info}),Jim Kingdon1-1/+1
coffread.c (record_minimal_symbol), xcoffread.c (RECORD_MINIMAL_SYMBOL), callers: Add objfile parameter.
1993-12-13 * paread.c (pa_symfile_init): Check for the existance of stabsFred Fish1-5/+6
after DBX_TEXT_SECT has been initialized.
1993-11-15 * paread.c (pa_symfile_init): Look for the $TEXT$ section ratherJeff Law1-2/+2
than the .text section.
1993-11-02 * paread.c (pa_symtab_read): Change comments to say ignoringJim Kingdon1-1/+3
labels really should be handled by the assembler/compiler.
1993-11-01 * paread.c (pa_symtab_read): Change comments to say ignoringJim Kingdon1-5/+7
labels really should be handled by the assembler/compiler. * Makefile.in: Add -O to CXXFLAGS. * TODO: Expand comments on fast watchpoints.
1993-11-01Fix typo in recent hange from using bfd target name to using the flavour.Jeff Law1-1/+1
1993-11-01 * paread.c (pa_symtab_read): Also filter out local symbols startingJeff Law1-1/+2
with "L$".
1993-10-31 * symfile.h (sym_fns), symfile.c (find_sym_fns), xcoffread.c,Jim Kingdon1-2/+1
coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c, paread.c: Change from using bfd target name to using the flavour.
1993-10-31 * paread.c: Remove comment about how we should use an "ordinary"Jim Kingdon1-2/+1
file format with an hppa suffix. There is nothing ordinary about SOM.
1993-10-30 * symfile.c (reread_symbols): When re-reading symbols, do all theJim Kingdon1-7/+7
right operations ourself, rather than calling symbol_file_command. If we re-read something, call clear_symtab_users not just breakpoint_re_set. * objfiles.h, objfiles.c (build_objfile_section_table): No longer static. * symfile.c (clear_symtab_users): Call clear_pc_function_cache. * coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c, paread.c (*_symfile_offsets): Set objfile->num_sections. * remote.c (remote_wait), symfile.c (syms_from_objfile): Don't muck with objfile->num_sections now that all the symbol readers set it. * elfread.c: Clean up obsolete comment about handling only DWARF. * paread.c: Remove comment about how we should use an "ordinary" file format with an hppa suffix. There is nothing ordinary about SOM.
1993-10-21Patch from Jeff Law:Ken Raeburn1-8/+9
* paread.c: Fix references to "hppa" that should now be "som".
1993-10-03Added new slot to objfile struct to be shared by all stab-reading formats.Stan Shebs1-6/+6
1993-09-15 * paread.c, coffread.c, elfread.c, dwarfread.c:Jim Kingdon1-0/+1
Include <time.h> and <sys/types.h> before libbfd.h.
1993-09-14 * paread.c: Include <time.h> before libbfd.h.Jim Kingdon1-0/+8
* paread.c: Define BYTES_IN_WORD before including aout/aout64.h.
1993-08-28From Utah, part of BFD HPPA cleanup:Ken Raeburn1-1/+1
* paread.c: Include som.h instead of libhppa.h.
1993-08-24 * buildsym.h: Remove declaration of dbxread.c functions.Jim Kingdon1-0/+1
* stabsread.h: Group together dbxread.c functions. Move elfstab_build_psymtabs here from symfile.h. Declare pastab_build_psymtabs. * elfread.c, paread.c: Include stabsread.h (for stabsread_new_init declaration, etc).
1993-07-30 * paread.c (pa_symtab_read): Put file-local symbols in minimal symbols.Jim Kingdon1-8/+14
* hppa-tdep.c (frame_chain_valid): Check that our function has the same address as _start, not that it must be the same symbol.
1993-07-30* paread.c (pa_symtab_read): Put file-local symbols in minimal symbols.Jim Kingdon1-26/+76
1993-07-29 * paread.c (pa_symfile_init): If error reading string table, don'tJim Kingdon1-1/+7
use errno in cases where it hasn't been set.
1993-01-15 * hppa-pinsn.c (print_insn): Use read_memory_integer, instead ofStu Grossman1-14/+43
read_memory to get byte order right. * hppah-tdep.c (find_unwind_info): Don't read in unwind info anymore. This is done in paread.c now. We expect unwind info to hang off of objfiles, and search all of the objfiles when until we find a match. * (skip_trampoline_code): Cast arg to target_read_memory. * objfiles.h (struct objfile): Add new field obj_private to hold per object file private data (unwind info in this case). * paread.c (read_unwind_info): New routine to read unwind info for the objfile. This data is hung off of obj_private. * tm-hppa.h: Define struct obj_unwind_info, to hold pointers to the unwind info for this objfile. Also define OBJ_UNWIND_INFO to make this easier to access.
1993-01-10 * blockframe.c (frameless_look_for_prologue): Correct theStu Grossman1-32/+31
comment. * gdbtypes.h, gdbtypes.c: Use const in decl of cplus_struct_default, now that pa-gas assembler has been fixed. * hppah-nat.c: Formatting. * hppah-tdep.c: Remove lots of useless externs for variables we don't use. * (find_unwind_entry): Speed up by using binary search, and a one entry cache. * (rp_saved): New routine to see what unwind info says about RP being saved on the stack frame. * (frame_saved_pc): Look for prologue to see if we need to examine the stack for the saved RP or not. * (init_extra_frame_info): Check for prologue, instead of framesize to determine if we are frameless or not. * (frame_chain_valid): Stop backtraces when we run into _start. * (push_dummy_frame): Reformat to make more readable. * (find_dummy_frame_regs): ditto. * (hp_pop_frame): ditto. * (hp_restore_pc_queue): small cleanup. * (hp_push_arguments): ditto. * (pa_do_registers_info): ditto. * (skip_prologue): New routine created from SKIP_PROLOGUE macro. * tm-hppa.h: Move contents of SKIP_PROLOGUE into hppah-tdep.c. * Define FRAME_CHAIN_VALID. * Turn on BELIEVE_PCC_PROMOTION so that we can access char args passed to functions. * paread.c (pa_symtab_read): Use new bfd conventions for accessing linker symbol table. * (pa_symfile_init): Access embedded STAB info via BFD section mechanism and related macros.
1992-12-31 * paread.c: New file that contains all HPPA/HPUX symbol readingStu Grossman1-0/+421
code. * dbxread.c: Remove almost all HPPA/HPUX symbol reading code. * (dbx_symfile_init): Use sizeof(long) instead of 4. * (dbx_symfile_offsets): Make static. * (pastab_build_psymtabs): New interface routine for paread to send stabs into dbxread. * gdb-stabs.h: Remove gobs of HPPA cruft.