summaryrefslogtreecommitdiff
path: root/gdb/partial-stab.h
Commit message (Collapse)AuthorAgeFilesLines
* 2001-10-30 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2001-11-081-871/+0
| | | | | | | | | | | | | | | * dbxread.c (set_namestring): New function, replacing the SET_NAMESTRING macro. (SET_NAMESTRING, CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE, CUR_SYMBOL_STRX, DBXREAD_ONLY, START_PSYMTAB, END_PSYMTAB): Delete definitions. (read_dbx_symtab): Don't include partial-stab.h any more. Don't reuse code in partial-stab.h, include the code directly, instead. * Makefile.in (dbxread.o): Remove dependency on partial-stab.h. (HFILES_NO_SRCDIR): Remove partial-stab.h. * partial-stab.h: Remove file.
* Isolate STABS readers' use of the `textlow' and `texthigh' fieldsJim Blandy2001-10-241-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | of `struct partial_symtab' to only a few locations. This change is not supposed to affect the way the values are computed, only where they live. * dbxread.c (struct symloc): Add `textlow' and `texthigh' fields to the reader-specific structure. * mdebugread.c (struct symloc): Same. * dbxread.c (TEXTLOW, TEXTHIGH): New accessor macros. * mdebugread.c (TEXTLOW, TEXTHIGH): Same. * dbxread.c (dbx_symfile_read): After we've built all our partial symbol tables, set each partial symtab's `textlow' and `texthigh' fields from our reader-specific structure. * mdebugread.c (mdebug_build_psymtabs): Same. * dbxread.c (start_psymtab): Initialize the reader-specific structure's `textlow' and `texthigh' from the new psymtab's. * mdebugread.c (parse_partial_symbols, new_psymtab): Same. * dbxread.c (read_dbx_symtab, end_psymtab, read_ofile_symtab): Use the reader-specific `textlow' and `texthigh', not the generic psymtab fields. * mdebugread.c (parse_lines, parse_partial_symbols, psymtab_to_symtab_1): Same. * partial-stab.h: Same.
* Don't use error result from find_stab_function_addr().Kevin Buettner2001-09-061-4/+25
|
* 2001-08-14 Daniel Jacobowitz <drow@mvista.com>H.J. Lu2001-08-151-2/+2
| | | | | | | | | | | H.J. Lu (hjl@gnu.org) * partial-stab.h: valu should be a CORE_ADDR. 2001-08-14 H.J. Lu (hjl@gnu.org) * dbxread.c (SWAP_SYMBOL): Removed. (INTERNALIZE_SYMBOL): Check sign extended vma.
* * partial-stab.h (case N_FUN: case 'f':, case N_FUN: case 'F':)Jim Blandy2001-06-011-0/+2
| | | | Fix memory leak.
* * partial-stab.h: New complaint: function_outside_compilation_unit.Jim Blandy2001-06-011-8/+31
| | | | | (case N_FUN: case 'f':, case N_FUN: case 'F':): If pst is zero, complain, and don't try to set pst's start address.
* * partial-stab.h: Revert previous patch.Christopher Faylor2001-05-311-5/+4
|
* * partial-stab.h: Consistently guard against pst being NULL.Christopher Faylor2001-05-311-4/+5
|
* Update/correct copyright notices.Kevin Buettner2001-03-061-1/+2
|
* 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2001-02-191-1/+1
| | | | | | From: innadadadavida@yahoo.com: * partial-stab.h (switch): Check that pst is not null before dereferencing it.
* Eliminate redundant pst test.Andrew Cagney2000-08-111-1/+1
|
* 2000-08-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-08-101-2/+2
| | | | | From Greg McGary <greg@mcgary.org>: * partial-stab.h: Don't crash if pst is null.
* Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-05-041-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | * objfiles.h (SECT_OFF_DATA, SECT_OFF_TEXT, SECT_OFF_BSS, SECT_OFF_RODATA): Define as functions of OBJFILE. Add sect_index_text, sect_index_data, sect_index_rodata, sect_index_bss to objfile structure. * gdb-stabs.h (SECT_OFF_DATA, SECT_OFF_TEXT, SECT_OFF_BSS, SECT_OFF_RODATA): Remove. * objfiles.c (allocate_objfile): Initialize sect_index_{text,data,bss,rodata} to -1, for error detection. * symfile.c (default_symfile_offsets): Initialize sect_index_{text,data,bss,rodata} from bfd information. * xcoffread.c (xcoff_symfile_offsets): Ditto. * somread.c (som_symfile_offsets): Initialize sect_index_{text,data,bss,rodata}. * coffread.c, dbxread.c, elfread.c, hp-psymtab-read.c, hp-symtab-read.c, hpread.c, mdebugread.c, minsyms.c, mipsread.c, objfiles.c, os9kread.c, pa64solib.c, partial-stab.h, remote-os9k.c, remote-vx.c, remote.c, rs6000-nat.c, somsolib.c, stabsread.c, symfile.c, xcoffread.c: Update use of SECT_OFF_{TEXT,DATA,BSS,RODATA} to depend on the current objfile. * xcoffread.c: Add new field objfile to find_targ_sec_arg.
* * partial-stab.h: Add one more check against corrupted or irregular stabsChristopher Faylor2000-03-281-1/+1
| | | | entry.
* import gdb-1999-09-21Jason Molenda1999-09-221-9/+15
|
* import gdb-1999-09-08 snapshotStan Shebs1999-09-091-2/+1
|
* import gdb-1999-08-09 snapshotJason Molenda1999-08-091-13/+13
|
* import gdb-1999-07-07 post reformatJason Molenda1999-07-071-700/+707
|
* import gdb-1999-06-14 snapshotJason Molenda1999-06-141-9/+9
|
* Initial revisionStan Shebs1999-04-161-0/+812