Commit Graph

138 Commits

Author SHA1 Message Date
Fred Fish 318bf84ffe Globs of changes. See the ChangeLog for details. Most related to
using the new mmalloc package.
1992-03-15 01:09:14 +00:00
Michael Tiemann d747e0af3d Tue Mar 3 15:11:52 1992 Michael Tiemann (tiemann@cygnus.com)
* 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-03 23:26:26 +00:00
John Gilmore 93fe4e330e Saberlint.
* symmisc.c, xcoffread.c:  Move debug functions to symmisc.c.
1992-02-22 09:16:11 +00:00
John Gilmore 1ab3bf1b14 * Check in Fred Fish's changes in these modules. Fred
will make ChangeLog entries for all of them.
1992-02-22 01:46:16 +00:00
Fred Fish 9e4c1921e5 Add code to handle TAG_pointer_type DIE's (DWARF Information Entries)
that are produced by the i486/SVR4 MetaWare compiler, but not by the
AT&T or GCC compilers.
1992-02-17 23:26:54 +00:00
Fred Fish af21362450 When creating user defined types for subroutine and array types, check
first to see if a partial type already exists due to a forward reference,
and if so, bash it to fit.
1992-02-17 15:23:05 +00:00
Fred Fish 99140c31fe The list_in_scope pointer needs to be initialized to point to a
valid scope.  Use the file scope as the initial scope.
1992-01-24 06:32:43 +00:00
Fred Fish a5bd5ba617 Changes to fix bug with static variables within function scopes. 1992-01-15 06:42:32 +00:00
Fred Fish 4d315a071a Many changes to convert over to generic symbol table reading code in
buildsym.c   (second cvs ci attempt)
1992-01-11 01:41:23 +00:00
Per Bothner a3723a4352 Missed some stuff last time.
Also, recognize constructors specially in gdb_mangle_name().
1991-12-28 19:37:55 +00:00
Fred Fish b440b1e9e4 Various changes to clean up ADD_PSYMBOL_TO_LIST and ADD_PSYMBOL_ADDR_TO_LIST
usages.
1991-12-27 03:55:12 +00:00
Per Bothner 7e258d18e0 Oodles of changes. The most important is adding support for stabs
encapsulated in mips ecoff.  See ChangeLog for the gory details.
1991-12-23 23:16:58 +00:00
Fred Fish f8b76e70b7 Numerous small changes and a complete reorganization of solib.c, to support
SVR4 shared libraries in a manner very close to the original SunOS support.
See the ChangeLog for details.
1991-12-16 20:57:28 +00:00
Fred Fish 84ce6717b0 More fixes for opaque and anonymous enumerations, structures, and unions.
Now passes all current gdb test suite tests.
1991-12-06 19:51:01 +00:00
Fred Fish 5edf98d7a2 Fixes to improve opaque struct/union handling. Still fails to find the
complete definition for files outside the one containing the complete
definition, if that file has not yet been read in.  (Working on it...)
1991-12-06 16:37:20 +00:00
John Gilmore 7b2a87cab2 * symtab.c (decode_line_1): If SKIP_PROLOGUE leaves us in
mid-line, be more careful about possibly advancing to the next line.
1991-12-06 09:22:33 +00:00
Fred Fish 715cafcbde Several changes to fix misc problems with enums, structs, and unions,
including building symbol table entries for enumeration members.
1991-12-06 02:22:10 +00:00
Fred Fish 98618bf78a Arrange for enumeration members to be manipulated in source code order,
since they are stored in the Dwarf info in reverse order.
1991-12-05 05:09:20 +00:00
Fred Fish 8b5b6fae67 Handle structures and unions which contain DIE's other than just member
DIE's.
1991-12-04 23:40:07 +00:00
Steve Chamberlain f5f0679af0 Changes due to include file renaming:
* 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-12-01 06:47:23 +00:00
Fred Fish 8c6e9f05f2 Add tm-i386v4.h and xm-i386v4.h to Sanitize, add i386/SVR4 to configuration
file, recognize names beginning with '.' as compiler generated "fake" tags
for anonymous structures, unions and enums.  Add target dependent functions
for SVR4 /proc register interface (i386-tdep.c).
1991-11-30 04:46:50 +00:00
Fred Fish 4cfd3c4990 Initialize the c++ specific portion of the type structure for union types
as well as struct types, since gdb attempts to reference that portion for
both types.  Was getting core dumps due to NULL pointer dereferencing.
1991-11-22 02:30:34 +00:00
John Gilmore 7d9884b927 * defs.h: Incorporate param.h. All users changed.
* 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-21 18:42:05 +00:00
Fred Fish 768be6e12b Recognize obsolete form of AT_element_list attribute still used by AT&T
compilers on one platform, and possibly more.
1991-11-20 13:07:12 +00:00
Fred Fish 0db97eedc1 Ignore names invented by helpful compilers for anonymous structs, unions,
and enums.
1991-11-20 00:20:43 +00:00
Fred Fish 2d6186f4fa Changes to match new DWARF draft 5 version of include/dwarf.h. 1991-11-18 08:07:43 +00:00
Michael Tiemann 572acbbedc Make changes needed to handle code which uses ANSI-mangled names (and
new G++ 1.95 dbxout output).
1991-11-18 00:32:34 +00:00
David Henkel-Wallace 5805020985 ansi name abuse changes 1991-11-15 23:23:11 +00:00
Fred Fish a7446af61b Changes to build misc function vector entries from canonical bfd symbol
table entries.
1991-11-15 03:36:45 +00:00
Fred Fish 58ae87f612 Remove internal gdb definition of fixed arg count concat() function and
convert to use of variable arg count concat() in libiberty.
1991-11-12 17:50:14 +00:00
Fred Fish b662efeddc Remove leftover call to do_cleanups() which resulted from a previous change.
Was being called with a random pointer.
1991-11-09 21:57:55 +00:00
John Gilmore a048c8f537 Add tracking of object files (that contain symbols) to gdb.
This includes a "struct objfile" that owns symtabs and psymtabs
that were read in from that binary file.  See ChangeLog.
1991-11-09 10:50:07 +00:00
Per Bothner 545af6ce07 Add C++ as a separate language.
Also, fix a C++ problem when looking for methods in super-classes.
(There was confusion between base and derived types.)
1991-11-06 01:08:21 +00:00
John Gilmore d47d5315c8 * symfile.c (syms_from_bfd): New routine.
(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-26 08:02:23 +00:00
Fred Fish c8c0a2bd59 Add casts to remove compiler warnings from native Sun cc. 1991-10-25 06:47:13 +00:00
Fred Fish b662acae40 Remove prototype for dwarfwarn(). Breaks with <varargs.h>. 1991-10-25 06:09:15 +00:00
John Gilmore 313fdead0e Use <varargs.h>, since <stdarg.h> is not portable. 1991-10-24 16:34:56 +00:00
Fred Fish 35f5886ebb New files for DWARF debugging format support, ELF object file support, SVR4
/proc (process file system) support, Amiga UNIX target and host defines, SVR4
target and host defines, and m68k hosts defines.
1991-10-24 11:28:54 +00:00