aboutsummaryrefslogtreecommitdiff
path: root/gdb/partial-stab.h
AgeCommit message (Collapse)AuthorFilesLines
1992-10-22* partial-stab.h ('f', 'F'): Don't reference pst->textlow if pstJohn Gilmore1-2/+2
is null. * tm-sun4sol2.h (PROLOGUE_FIRSTLINE_OVERLAP): Remove -- it causes problems in setting breakpoint in the right place in functions with `float' args which are passed as doubles. * xm-vaxbsd.h (MEM_FNS_DECLARED): Avoid erroneous redecl's. * config/rs6000.mh (NATDEPFILES): Add corelow.o.
1992-09-26* findvar.c (supply_register): Add CLEAN_UP_REGISTER_VALUE hook.John Gilmore1-2/+2
* tm-hppa.h (CLEAN_UP_REGISTER_VALUE): Use it. * hppa-coredep.c: Remove, now that we use the hook. * config/hppab.mh, config/hppah.mh: Use standard coredep.o. * hppab-xdep.c, hppah-xdep.c: Remove custom code, use hook. * dbxread.c, partial-stab.h: Replace all #ifdef hp9000s800's with GDB_TARGET_IS_HPPA's. This is a SERIOUS KLUDGE. The code needs to all be ripped out and reimplemented right (see elfread.c). * tm-hppa.h (GDB_TARGET_IS_HPPA): Define.
1992-07-16* Makefile.in (OTHERS): Add gcc.patch.Stu Grossman1-35/+31
* partial-stab.h (N_SO): Fix handling of redundant SOs (again...)
1992-07-04Relocate symbols using an array of section_offsets, rather than aJohn Gilmore1-17/+23
single `addr' or `offset'. This makes Solaris-2 support work, and permits better VxWorks (and maybe xcoff) support later. See ChangeLog.
1992-07-03* dbxread.c (process_one_symbol): Ignore N_MAIN, N_ENDM for Solaris.John Gilmore1-1/+2
* partial-stab.h: Ignore N_ENDM. * elfread.c (elf_symtab_read): Ignore symbols that don't have a CODE or DATA section attachment. This eliminates a lot of random values from shared libraries, which screw up the ordinary symbols in the address ranges they happen to overlap. * buildsym.c (define_symbol): Eliminate special tests for function types; move into "function" cases in switch statement. (define_symbol: 'f', 'F', 'P'): Process all parameter types in case they define new type numbers. But ignore them (FIXME). ('k', 'B'): Ignore const and volatile if we see them (FIXME). (read_sun_builtin_type): Add commentary.
1992-06-26Default dir_so_symnum to -10 to avoid even the slightest possibility ofStu Grossman1-2/+2
screwage. This is a continuation of the redundant SO record fixup for the Lucid C++ compiler.
1992-06-25* partial-stab.h (N_SO): Rearrange code a little so that all SOStu Grossman1-10/+10
stabs cause end_psymtab to be called.
1992-06-24* partial-stab.h (case N_TEXT): Fix fencepost error whenStu Grossman1-1/+1
detecting start of new symbol info after reading symtab for a module with a zero length TEXT segment. (Note that this fixes the BNR problem with printing vxWorksVersion. That ought to make Ken happy).
1992-06-19* configure.in, dbxread.c, hppa-coredep.c, hppa-pinsn.c,Stu Grossman1-1/+8
hppabsd-core.c, hppabsd-tdep.c, hppabsd-xdep.c, hppahpux-tdep.c, hppahpux-xdep.c, munch, partial-stab.h, tm-hppabsd.h, tm-hppahpux.h, xm-hppabsd.h, xm-hppahpux.h: HPPA merge.
1992-06-17 * partial-stab.h: Convert single rindex use to strrchr.Fred Fish1-1/+1
* mipsread.c, dbxread.c: Remove troublesome inclusion of non- standard <strings.h> file, now that the only single use of rindex in the gdb source files is gone.
1992-06-16* dbxread.c (process_one_symbol), partial-stab.h: IgnoreStu Grossman1-25/+33
extraneous SO stabs from busted C++ compilers.
1992-06-14* dbxread.c (end_psymtab): Only reset texthigh if it's not alreadyJohn Gilmore1-12/+21
set. Don't reset our own texthigh, or dependency-only pst's, in scanning all the rest of the psymtabs. (process_one_symbol): Fix comments around N_OBJ, N_OPT, N_UNDF. * buildsym.h (N_UNDF): Improve comments. (N_LSYM, etc): Skip types without names (":T(0,3)=sfoob...").
1992-06-13* dbxread.c: Add symbol_size to struct dbx_symfile_info.John Gilmore1-1/+42
Add symbol_size and file offsets to struct symloc. Add static symbol_table_offset, string_table_offset, file_string_table_offset, next_file_string_table_offset, last_function_name. (add_old_header_file): Convert error() to complain()t. (dbx_symfile_read): Get symbol size via the objfile. Also get symbol_table_offset. (dbx_symfile_init): Record symbol size and count via the objfile. (dbx_next_symbol_text): Always add file_string_table_offset when accessing string table. (read_dbx_symtab): Initialize file_string_table_offset to 0. (SET_NAMESTRING): Use the offset. (end_psymtab): Large kludge to determine addresses where source files start and end (for the psymtab header). (psymtab_to_symtab_1): Set file_string_table_offset before reading. Get this, symbol size, and symbol offset, from psymtab. (read_ofile_symtab): Don't back up one symbol for Solaris2. Patch up last_source_start_addr if zero in N_SO. (process_one_symbol): Add variable function_start_offset. ( "", N_FUN, N_LBRAC, N_RBRAC, N_SLINE): Add ifdef for BLOCK_ADDRESS_FUNCTION_RELATIVE. ( "", N_OBJ, N_OPT): Ignore. (elfstab_build_psymtabs): New function to read stabs out of an ELF file. * Makefile.in: Accept $(BISON) even though we really want $(YACC). (gdb): use GLOBAL_CFLAGS when linking, too. * partial-stab.h (N_UNDF): Deal with Sol2 relative stringtab offsets. (N_OBJ, N_OPT): Ignore. ('f', 'F'): Save last function name. * symfile.h: Prototype elfstab_build_psymtabs. * symfile.c: Add almost-OK debug versions of add_psymbol_*to_list. * xm-sysv4.h: Add <limits.h> to avoid conflicting defns in defs.h.
1992-03-29LintJohn Gilmore1-5/+5
1992-03-27Misc cleanups from code review.John Gilmore1-1/+2
1992-03-21Many changes, most related to creating entry point information on a per-objfileFred Fish1-5/+5
basis. See comments in objfiles.h and details in ChangeLog. Also remove redundant definitions of FRAME_CHAIN_VALID from most of the tm-* files and use a default definition in frame.h.
1992-02-22* Check in Fred Fish's changes in these modules. FredJohn Gilmore1-21/+22
will make ChangeLog entries for all of them.
1991-12-27More changes, mostly cleanups from the last set.Per Bothner1-14/+31
Made some more progress in removing duplicate assembly opcode files. More improvements to how mipsread and to a lesser extent dbxread work. See the ChangeLog for details.
1991-12-27Various changes to clean up ADD_PSYMBOL_TO_LIST and ADD_PSYMBOL_ADDR_TO_LISTFred Fish1-16/+0
usages.
1991-12-23Oodles of changes. The most important is adding support for stabsPer Bothner1-0/+576
encapsulated in mips ecoff. See ChangeLog for the gory details.