aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
AgeCommit message (Collapse)AuthorFilesLines
1991-10-27* buildsym.c: Break out initial malloc sizes.John Gilmore1-0/+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-26 Various fixes to improve g++ debugging. See ChangeLog.Per Bothner1-20/+42
1991-10-24Make internal errors produce more useful messages.Fred Fish1-6/+6
1991-09-28* symtab.c (lookup_method_type): Arguments were swapped in allJohn Gilmore1-10/+7
callers, so fix it here. I'm amazed this worked at all!
1991-09-20* utils.c (!HAVE_VPRINTF): Define vfprintf as a function, soJohn Gilmore1-2/+3
language.c can use it. (Though language.c should really not be handling warnings/errors the way it does, FIXME.) * symtab.c (lookup_primitive_type): const lint.
1991-09-19* symtab.c (_initialize_symtab): Remove builtin typeJohn Gilmore1-117/+173
definition and initialization to *-exp.y. (lookup_primitive_typename): Use language-dependent vector. (lookup_typename): Fix bug, make it work if primitive typename. (lookup_unsigned_typename): Call above. (create_array_type): Set up range type for array index. (list_symbols): Call typedef_print to print typedefs. (Currently #ifndef FIXME'd out awaiting integration.)
1991-05-30Roll in Tiemann changes for gcc -ansi. Fix assorted bugs. See ChangeLog.John Gilmore1-4/+1
1991-05-04Saber C (lint) cleanups, and a few bug fixes. See ChangeLog.John Gilmore1-2/+4
1991-05-02The list of changes is too long to fit in the cvs log (since it truncates!).Jim Kingdon1-1/+1
Look at the ChangeLog for Apr 30 and May 1.
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 * symtab.c, symtab.h: Have a builtin_type_{,unsigned_}long_longJim Kingdon1-19/+174
regardless of LONG_LONG. symtab.c, symtab.h (allocate_stub_method): New function. * symtab.c (decode_line_1): Deal with operators specified as "operator" <optional whitespace> <symbols for operator>. (operator_chars): Help do it. * symtab.c (lookup_struct_elt_type): Call check_stub_type. Take additional argument noerr. Don't dump core if TYPE_FIELD_NAME is NULL. Check the baseclasses recursively.
1991-04-24 * symtab.c (lookup_symbol): Add 3 more of those loops throughJim Kingdon1-0/+136
the symtabs which we all know and love: (1) Look in the STATIC_BLOCK for mangled symbols right after we check the blocks, (2, 3) Look in the STATIC_BLOCK for all the symtabs and psymtabs at the end.
1991-04-21 * coffread.c (find_linenos): Use LINESZ not sizeof (struct lineno).Jim Kingdon1-5/+5
* coffread.c (end_symtab): Initialize language, dirname, and fullname fields.
1991-04-19 * symtab.h (GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK): NewJohn Gilmore1-19/+18
defines for the blocks of a blockvector that contain global and file-static symbols and the first of the smaller scope contours. * symtab.c (lookup_symbol, find_pc_symtab, find_pc_line, decode_line_1, make_symbol_completion_list): Use the above. * symtab.c (list_symbols): Process the first symbol of the static psymbols list. (types_info): Restore this function from its untimely #if 0. It's not perfect, but it is better than nothing. (_initialize_symtab): Restore "info types".
1991-03-28Initial revisionK. Richard Pixley1-0/+2622
1990-09-05Initial revisionJohn Gilmore1-2436/+0
2012-06-03gdb-3.5gdb-3.51-2/+10
2012-06-03gdb-3.4gdb-3.41-1/+7
2012-06-03gdb-3.3gdb-3.31-149/+612
2012-06-03gdb-3.1gdb-3.11-152/+440
2012-06-03gdb-2.8.1gdb-2.8.11-22/+526
2012-06-03gdb-2.8gdb-2.81-491/+101
2012-06-03gdb-2.5.2gdb-2.5.21-48/+29
2012-06-03gdb-2.5.1gdb-2.5.11-117/+594
2012-06-03gdb-2.4+.aux.coffgdb-2.4+.aux.coff1-0/+1099