aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.c
AgeCommit message (Collapse)AuthorFilesLines
1992-03-21Many changes, most related to creating entry point information on a per-objfileFred Fish1-1/+2
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-03-03Tue Mar 3 15:11:52 1992 Michael Tiemann (tiemann@cygnus.com)Michael Tiemann1-1/+0
* All GDB files that #include defs.h: Removed stdio.h. (defs.h): #include stdio.h. This has been tested by building GDBs for all targets hosted on Sun4. None of the build problems were related to stdio.h inclusion. (n.b. many configurations don't build for other reasons.)
1992-03-02More changes, mostly from IBM for rs6000. (See ChangeLog.)Per Bothner1-0/+2
1992-03-01More changes, mostly from IBM, for the rs6000. See ChangeLog.Per Bothner1-12/+22
1992-02-29Mostly rs6000 changes from IBM.Per Bothner1-0/+4
1992-02-22Saberlint.John Gilmore1-1/+0
* symmisc.c, xcoffread.c: Move debug functions to symmisc.c.
1992-02-22* Check in Fred Fish's changes in these modules. FredJohn Gilmore1-209/+330
will make ChangeLog entries for all of them.
1992-02-07* buildsym.c (read_struct_type): Avoid double-bump of parse ptrJohn Gilmore1-3/+5
in the op$::OPERATOR. case. From Steven McCanne, <mccanne@horse.ee.lbl.gov>.
1992-01-27* buildsym.c (read_struct_type): Circumvent sun3 sunos "--" compiler bug.John Gilmore1-2/+4
* c-exp.y (yylex): `this' and `template' are only tokens in C++. * target.c (target_xfer_memory): Return errno in preference to EIO.
1992-01-20Fix demangling of destructors, and fix a minor indentation problem.Michael Tiemann1-1/+1
1992-01-07buildsym.c (cleanup_undefined_types): Add support for enums.Stu Grossman1-1/+5
This fixes the 'GDB internal error. cleanup_undefined_types with bad type' problem.
1991-12-27More changes, mostly cleanups from the last set.Per Bothner1-2/+2
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-23Oodles of changes. The most important is adding support for stabsPer Bothner1-24/+34
encapsulated in mips ecoff. See ChangeLog for the gory details.
1991-12-09Integrated quick fixes to C++ handling of static member functions andMichael Tiemann1-17/+19
stub methods. These changes are not complete in that a better implementation will be more maintainable, but they make it possible to debug groff with GDB.
1991-12-05Supply missing parenthesis (~line 1269).Fred Fish1-1/+1
1991-12-05Fix things pointed up by Fred Fish's test suite; see ChangeLog.John Gilmore1-77/+137
1991-12-01 Changes due to include file renaming:Steve Chamberlain1-1/+1
* xcoffread.c: internalcoff.h ->coff/internal.c, coff-rs6000.h ->coff/rs6000.h * mipsread.c: coff-mips.h ->coff/mips.h * elfread.c: elf-common.h ->elf/common.h elf-external.h ->elf/external.h, elf-internal.h ->elf/internal.h * dwarfread.c dwarf.h ->elf/dwarf.h * dbxread.c: aout64.h ->aout/aout64.h stab.gnu.h ->aout/stab_gnu.h * coffread.c: internalcoff.h ->coff/internal.h * buildsym.c: stab.gnu.h ->aout/stab_gnu.h * depend Updated to take the above into account.
1991-11-27Improve G++ debugging support.John Gilmore1-16/+34
1991-11-22SCO lint.John Gilmore1-1/+1
1991-11-21* defs.h: Incorporate param.h. All users changed.John Gilmore1-1/+0
* 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-11-18Make changes needed to handle code which uses ANSI-mangled names (andMichael Tiemann1-5/+52
new G++ 1.95 dbxout output).
1991-11-12Fixes related to handling of C++ methods (handle destructorsPer Bothner1-13/+3
and parameters that are functions).
1991-11-12* Makefile.in: Add xcoffread.c, xcoffexec.c.John Gilmore1-0/+18
* xcoffread.c: New file for handling AIX mangled-coff files. * xconfig/rs6000, tconfig/rs6000: New files. * buildsym.c: Add hooks for xcoffread.c.
1991-11-09Remove Rs/6000 changes (patch_block_stabs) so it will link without.John Gilmore1-12/+0
1991-11-09Add tracking of object files (that contain symbols) to gdb.John Gilmore1-56/+205
This includes a "struct objfile" that owns symtabs and psymtabs that were read in from that binary file. See ChangeLog.
1991-11-04 * infrun.c: Fixed typo in comment.Per Bothner1-15/+17
* utils.c: All the v*fprintf emulation is now in libiberty, so we can get rid of some junk. * xm-sun3os4.h, xm-sun4os4.h, xconfig/decstation, xconfig/i386sco, xconfig/sun3os4, xconfig/sun4os4: Don`t need HAVE_STRSTR any more. * m68k-pinsn.c (print_insn_arg): Support BB/BW/BL type operands, as used by branch instructions. * gmalloc.c: Fix prototype of memcpy. * elfread.c: Comment out register_addr, since it conflicts with the one in coredep.c. * buildsym.h: Remove extern declarations of two functions that are really static in buildsym.c. * tm-mips.h: Add symbolic names for more registers. * mips-xdep.c (store_inferior_registers): Use new register names. * xm-mips.h: Simplify REGISTER_U_ADDR, since it is now only used for core files, not ptrace. Therefore, the KERNEL_U_ADDR hack is no longer needed. The mapping to ptrace number is now in in mips-xdep.c. * mips-xdep.c: Define REGISTER_PTRACE_ADDR (using the mapping from the old REGISTER_U_ADDR), and use it in {fetch,store}_inferior_registers. * mipsread.c: Rename #include ecoff.h to new name coff-mips.h. * mips-tdep.c (mips_push_dummy_frame, mips_pop_frame): Save/restore FP regs correctly (?). * dbxread.c: Remove duplicate define_symbol and type_synonym_name (these had been previously moved to buildsym.c). Hence, define_symbol becomes extern instead of static. * buildsym.c (read_struct_type): Comment out bogus handling of C++ operator methods. Minor hacking of reading of class contexts. Make define_symbol non-static, so dbxread.c can call it.
1991-10-27* buildsym.c: Break out initial malloc sizes.John Gilmore1-33/+145
(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-0/+2791
from dbxread.c, so they can be shared with xcoffread.c.