aboutsummaryrefslogtreecommitdiff
path: root/gdb/dbxread.c
AgeCommit message (Collapse)AuthorFilesLines
1992-01-13 * tm-mips.h: Removed BLOCK_ADDRESS_ABSOLUTE, now thatPer Bothner1-5/+12
mips-tfile has been hacked to act more "traditionally." * dbxread.c: Fixed typo in comment.
1991-12-27More changes, mostly cleanups from the last set.Per Bothner1-18/+5
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-31/+0
usages.
1991-12-23Oodles of changes. The most important is adding support for stabsPer Bothner1-677/+83
encapsulated in mips ecoff. See ChangeLog for the gory details.
1991-11-21* defs.h: Incorporate param.h. All users changed.John Gilmore1-728/+149
* param-no-tm.h: Change users to define TM_FILE_OVERRIDE instead. * param.h, param-no-tm.h: Removed. * Update copyrights in all changed files. * dbxread.c, dwarfread.c, inflow.c, infrun.c, m2-exp.y, putenv.c, solib.c, symtab.h, tm-umax.h, valprint.c: Lint. * tm-convex.h, tm-hp300hpux.h, tm-merlin.h, tm-sparc.h, xm-merlin.h: Avoid host include files in target descriptions. * getpagesize.h: Removed, libiberty copes now.
1991-10-27* buildsym.c: Break out initial malloc sizes.John Gilmore1-65/+4
(record_line): Record directly in a subfile. Alloc on demand. (compare_line_numbers): Add from xcoffread.c. (end_symtab): New params say whether to sort pendings and linetable. Patch block stabs if defined. Shrink linetable before allocating the symtab. * buildsym.h: Delete line_vector* and prev_line_number. Add global_stabs and file_stabs for xcoffread. * dbxread.c (start_subfile): Move to buildsym. Change above calls. * symtab.h: LINETABLE(symtab) can now be null. Zap LINELIST. * symmisc.c, symtab.c: Cope with null LINETABLEs.
1991-10-26Break out symbol-table-building routinesJohn Gilmore1-2595/+27
from dbxread.c, so they can be shared with xcoffread.c.
1991-10-26 Various fixes to improve g++ debugging. See ChangeLog.Per Bothner1-16/+29
1991-10-24Remove the object file specific fields from the partial symbol tableFred Fish1-15/+39
structure and replace them with a pointer to private data for each different flavor of object file reader to initialize appropriately.
1991-10-16* dbxread.c (read_dbx_symtab, process_one_symbol): HandleJohn Gilmore1-1/+4
Sequent N_FN_SEQ like everybody else's N_FN.
1991-10-15Changes from Fred Fish:John Gilmore1-49/+56
* tm-68k.h (FPI_REGNUM): Add. * infrun.c (child_create_inferior): flush stdout and stderr before forking. * configure.in: Handle amigados, amix hosts and targets. * inflow.c: Handle TIOCGLTC_BROKEN for Amiga. From Andreas Schwab: * values.c (show_convenience): Use printf_filtered. * main.c (define_command): Check result of lookup_command for exact match. (echo_command): Use printf_filtered, and force output out. * dbxread.c (read_enum_type): Avoid Modula-2 kludge that breaks C programs. * i387-tdep.c (double_to_i387): Fix typo for double_to_ieee_extended. * utils.c (_initialize_utils): If !ISATTY, don't paginate.
1991-10-04* coffread.c, dbxread.c, symfile.c, symmisc.c, symtab.h: RemoveJohn Gilmore1-14/+9
vestiges of typevectors, which were for symsegs and are no longer used. (From a question by Eliot Dresselhaus <dresselh@RFT30.nas.nasa.gov>).
1991-10-04* dbxread.c, coffread.c: static-ize functions that wereJohn Gilmore1-6/+6
gratuitiously external. (From Fred Fish.)
1991-10-04* c-exp.y: sym->class to SYMBOL_CLASS (sym).John Gilmore1-1/+1
* dbxread.c (dbx_lookup_type): Keep doubling size of typevector until it is large enough.
1991-10-03* dbxread.c (read_type): Handle error case slightly better.John Gilmore1-2/+4
Make complaint message not C++-specific. * symtab.c (lookup_symtab_1, lookup_symbol): "fatal" errors between symtabs and psymtabs become ordinary error()s. * dbxread.c (read_dbx_symtab): Relocate end_of_text_addr properly, making "end pc" correct in shared lib psymtabs. (From Guy Harris <guy@auspex.com>.)
1991-10-01* dbxread.c: Enable, but soften, const_vol_complaint.John Gilmore1-33/+18
(read_dbx_symtab): N_STSYM and N_LCSYM define static vars. Ditto Gould N_NBSTS and N_NBLCS. Also, all types in the psymtab should be file-scope, not global. (read_struct_type): Remove ancient multiple-inheritance warning. (read_range_type): Check base type, complain & patch if undefined.
1991-09-19* symfile.c (allocate_symtab): New fn, consolidates the workJohn Gilmore1-48/+91
of allocating and initializing a new struct symtab. Set the language of the symtab based on its filename extension. * symfile.h: Declare it. * mipsread.c (new_symtab): Use it. Minor formatting changes. * dbxread.c (end_symtab): Use it. * mipsread.c (parse_symbol, case stParam and stProc): Add #if 0'd code for saving types of parameters with each function definition. * dbxread.c (define_symbol, function and parameter cases): Ditto. (read_dbx_symtab, case N_DEFD): Ignore. (read_enum_type): Recognize FALSE/TRUE enum as Modula-2 BOOLEAN type. (read_range_type): Rename MAX_OF_TYPE to MAX_OF_C_TYPE, etc. #if 0 out its uses, though, since they set a dead value. * coffread.c (end_symtab): Use allocate_symtab. (process_coff_symbol): #if 0'd for functions and params as above. (read_enum_type): Recognize Modula-2 BOOLEAN.
1991-08-19Fixed two C++ related bugs.Michael Tiemann1-53/+48
1991-07-19Eliminate LOC_EXTERNAL. Improve select_source_symtab. Bug fixes.John Gilmore1-21/+9
1991-05-30Roll in Tiemann changes for gcc -ansi. Fix assorted bugs. See ChangeLog.John Gilmore1-2/+4
1991-05-29Update bfd_h_get{short,long} to bfd_h_get{_16,_32} for basic type sizeJohn Gilmore1-14/+32
independence.
1991-05-02The list of changes is too long to fit in the cvs log (since it truncates!).Jim Kingdon1-15/+24
Look at the ChangeLog for Apr 30 and May 1.
1991-05-02Merge devo/bfd with GDB's bfd.John Gilmore1-2/+3
Get getopt and obstack from -liberty rather than compiling them here. * coffread.c: turn a printf into a complain(), and try to deal more gracefully with botched-looking lineno pointers. * dbxread.c: Use bfd_get_symcount rather than bfd_get_symcount_upper_bound. Don't coredump on files with zero symbols in them (a BFD bug showed this one). * environ.c: Pass GNUTARGET into the parent (gdb) as well as the child.
1991-04-30Tue Apr 30 13:13:33 1991 Michael Tiemann (tiemann at cygint.cygnus.com)Michael Tiemann1-1/+1
* valprint.c (type_print_base): If the type being printed is a struct containing undefined types, print "<undefine type>" as the type instead of crashing. * values.c (value_headof): Get the vtable pointer taking TYPE_VPTR_BASETYPE into account. * symtab.c, symtab.h, dbxread.c: Fix various whitespace splotches.
1991-04-26 dbxread.c (read_type): If we get "##", don't lookup_function_typeJim Kingdon1-24/+31
and start clobbering it; allocate_stub_method instead. * dbxread.c (read_struct_type): Put "op$" instead of "operator" in the symbol table. * dbxread.c (read_struct_type): Set fcontext to 0 for normal member function. * dbxread.c (read_struct_type): Initialize name to 0. * dbxread.c (read_ofile_symtab, N_CATCH): Add offset to bufp->n_value. * dbxread.c (dbx_create_type): Zero TYPE_VPTR_BASETYPE. (read_struct_type): Don't bother to set TYPE_VTPR_{BASETYPE,FIELDNO} if it's just going to be {0,1}. * dbxread.c (virtual_context): Use TYPE_BASECLASS starting at 0 (yes, it's #if 0, but just in case...).
1991-04-24 * main.c (cd_command): Call dont_repeat.Jim Kingdon1-8/+18
* dbxread.c (read_struct_type): If const/volatile character is missing, don't complain, just continue. * dbxread.c (read_struct_type): Only try to read the fcontext if it is there. Also change "error_type " to "return error_type ". values.c (value_virtual_fn_field): If there is no fcontext, then do things the way GDB 3.x did. valops.c (search_struct_method): Add type to value_virtual_fn_field arguments. * dbxread.c (read_struct_type): Fix typo: *pp != '\0' -> **pp != '\0'.
1991-04-23*** empty log message ***Jim Kingdon1-0/+1
1991-04-19 * dbxread.c (end_symtab, end_psymtab): Change comments.John Gilmore1-1/+5
(initialize_dbxread): Call dbx_new_init() in case the first command is add-symbols.
1991-04-13 Permit symbols to be superseded when new symbol files haveJohn Gilmore1-9/+24
been read in, particularly for VxWorks. * dbxread.c (read_dbx_symtab): Allow N_SOL to cleanly take us back to the main file, as well as to include files. Also, put global functions into the global psymtab, to make "i fun" work. (end_psymtab): Free named symtabs and psymtabs for a file, once a new psymtab for it has been read.
1991-04-06*** empty log message ***John Gilmore1-2/+5
1991-04-05*** empty log message ***John Gilmore1-1/+4
1991-03-28Initial revisionK. Richard Pixley1-0/+5348
1990-09-05Initial revisionJohn Gilmore1-5476/+0
2012-06-03gdb-3.5gdb-3.51-28/+93
2012-06-03gdb-3.4gdb-3.41-37/+193
2012-06-03gdb-3.3gdb-3.31-641/+1343
2012-06-03gdb-3.1gdb-3.11-403/+1699
2012-06-03gdb-2.8.1gdb-2.8.11-12/+763
2012-06-03gdb-2.8gdb-2.81-861/+448
2012-06-03gdb-2.5.3gdb-2.5.31-0/+5
2012-06-03gdb-2.5.2gdb-2.5.21-88/+78
2012-06-03gdb-2.5.1gdb-2.5.11-38/+779
2012-06-03gdb-2.4+.aux.coffgdb-2.4+.aux.coff1-0/+2183