aboutsummaryrefslogtreecommitdiff
path: root/gdb/coffread.c
AgeCommit message (Collapse)AuthorFilesLines
1991-11-12Remove internal gdb definition of fixed arg count concat() function andFred Fish1-5/+5
convert to use of variable arg count concat() in libiberty.
1991-11-09Add tracking of object files (that contain symbols) to gdb.John Gilmore1-19/+15
This includes a "struct objfile" that owns symtabs and psymtabs that were read in from that binary file. See ChangeLog.
1991-11-08Include coff-m88k.h rather than m88kbcs.hSteve Chamberlain1-1/+1
1991-11-07* coffread.c: Eliminate c_nsyms in favor of c_naux.John Gilmore1-12/+27
Complain if no auxents on .bf and .ef FCN symbols, and assume lots of line numbers. (init_linenos, enter_linenos): Use a sentinel at the end of the read-in linenos, to make for a fast, safe loop-end test.
1991-10-26* symfile.c (syms_from_bfd): New routine.John Gilmore1-4/+0
(add_symbol_file): Call it to do the real work. (syms_from_bfd): Initialize entry_point before calling symfile_init. * symtab.h, symfile.c, coffread.c, mipsread.c, dwarfread.c: Avoid declaring or setting entry_point (symfile.h & symfile.c cope).
1991-10-25* coffread.c, coredep.c, i386-xdep.c: install patches forStu Grossman1-10/+13
SysV/386 3.2 from Mauro DePalma.
1991-10-04* dbxread.c, coffread.c: static-ize functions that wereJohn Gilmore1-3/+3
gratuitiously external. (From Fred Fish.)
1991-09-28 * coffread.c (coff_symfile_read): Use xmalloc, not malloc.John Gilmore1-46/+137
* language.c, printcmd.c: Lint. * language.h (get_frame_language): Declare. * saber.suppress: update. * stack.c (find_relative_frame): Remove complex code that was #if 0'd, stick with simple code. Lint. * saber.suppress: Update a bit. * symfile.c (add_symbol_file_command): Add "?" to question. * utils.c (parse_escape): Avoid \a due to bdead compilers. * value.h: Declare typedef_print. * valprint.c (val_print, type_print_base): TYPE_CODE_RANGE less kludgey.
1991-09-11* core.c (core_file_command): Print frame at coredump withJohn Gilmore1-2/+6
its level number, by calling print_stack_frame. * frame.h: Add selected_frame_level, print_stack_frame. * frame.h, stack.c: Remove print_sel_frame, print_selected_frame. * convex-tdep.c, convex-xdep.c, infcmd.c, inflow.c, infrun.c: Change print_sel_frame and print_selected_frame callers to print_stack_frame. * dbxread.c (read_ofile_symtab): Avoid empty else clause. * symfile.c (free_named_symtabs): Ditto. * main.c (main): wrap_here needs an arg. * solib.c (find_solib): Avoid memory access if _DYNAMIC is zero. (solib_add): Avoid noise. (solib_create_inferior_hook): Lint. (sharedlibrary_command): Move dont_repeat to here. * utils.c (error): Call wrap_here to force buffered output. Small patches from Peter Schauer: * coffread.c (start_symtab): Free any existing line_vector before malloc-ing new one. (read_coff_symtab): Ditto for type_vector. * source.c (lines_to_list): New variable, replacing function. (all uses): Use as variable. (_initialize_source): Add 'set listsize' and 'show listsize'. * utils.c (lines_to_list): Remove function. * stack.c (print_frame_info): Use as variable. * defs.h (lines_to_list): Remove declaration.
1991-08-22lintStu Grossman1-11/+10
1991-07-05Thu Jul 4 14:47:06 1991 John Gilmore (gnu at cygint.cygnus.com)John Gilmore1-15/+4
* configure.in, Makefile.in: Avoid rebuilding "depend" as much. Avoid declaring Makefile dependencies, because GNU Make stupidly tries to update it if we do. * coffread.c: Revise for minor changes to bfd internal coff indexes. * configure: If -template= is given a relative path, make it absolute before recurring in subdirectories.
1991-06-04Change GDB over to GNU General Public License version 2.John Gilmore1-6/+6
1991-05-29Update bfd_h_get{short,long} to bfd_h_get{_16,_32} for basic type sizeJohn Gilmore1-46/+46
independence.
1991-05-19configure changes and -opcode.h movement.K. Richard Pixley1-0/+5
1991-05-04Saber C (lint) cleanups, and a few bug fixes. See ChangeLog.John Gilmore1-1/+1
1991-05-03Make it run on wingnut (88k, DGUX). Complete list of changes in the ChangeLog.Jim Kingdon1-12/+56
1991-05-02The list of changes is too long to fit in the cvs log (since it truncates!).Jim Kingdon1-1/+9
Look at the ChangeLog for Apr 30 and May 1.
1991-05-02Merge devo/bfd with GDB's bfd.John Gilmore1-4/+10
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-21 * coffread.c (find_linenos): Use LINESZ not sizeof (struct lineno).Jim Kingdon1-1/+10
* coffread.c (end_symtab): Initialize language, dirname, and fullname fields.
1991-04-20Fix comment (coff-encap -> dbx-in-coff).Jim Kingdon1-2/+2
1991-04-19 * coffread.c (read_coff_symtab): Check for "LF%" with all theJim Kingdon1-3/+14
other L*% things. * coffread.c (SDB_TYPE): New macro. various: Use it instead of checking against T_NULL.
1991-04-13 * coffread.c (end_psymtab): Free named symtabs and psymtabs forJohn Gilmore1-2/+5
a file, once a new symtab has been read for it. * symtab.h (GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK): New 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. * coffread.c (end_symtab, patch_opaque_types): Ditto.
1991-03-28Initial revisionK. Richard Pixley1-0/+1969
1990-09-05Initial revisionJohn Gilmore1-2018/+0
2012-06-03gdb-3.5gdb-3.51-5/+15
2012-06-03gdb-3.4gdb-3.41-4/+2
2012-06-03gdb-3.3gdb-3.31-33/+91
2012-06-03gdb-3.1gdb-3.11-109/+210
2012-06-03gdb-2.8.1gdb-2.8.11-1/+1426
2012-06-03gdb-2.8gdb-2.81-1415/+8
2012-06-03gdb-2.5.1gdb-2.5.11-43/+16
2012-06-03gdb-2.4+.aux.coffgdb-2.4+.aux.coff1-0/+1860