Commit Graph

1929 Commits

Author SHA1 Message Date
Roland Pesch
338e7aa401 *** empty log message *** 1991-12-07 00:23:52 +00:00
Roland Pesch
1c270bfdbf *** empty log message *** 1991-12-06 22:00:58 +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
Steve Chamberlain
d33598ee28 Change from m88kbcs to m88k-coff 1991-12-06 17:56:02 +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
Michael Tiemann
1cca172985 Fix off-by-one error in cplus name demangling. 1991-12-06 03:01:12 +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
John Gilmore
a0a6174ae3 * symtab.c (check_stub_method): Must allocate two extra argument
slots (one for `this', one for arglist terminator).
1991-12-06 01:32:34 +00:00
Fred Fish
817b8c46f8 Supply missing '"' character. 1991-12-05 19:34:08 +00:00
Fred Fish
c8d9eb8e43 Supply missing parenthesis (~line 1269). 1991-12-05 18:53:46 +00:00
John Gilmore
299ee4e6c7 Fencepost error in reporting regs we can't find in core file. 1991-12-05 12:20:18 +00:00
John Gilmore
2a5ec41d88 Fix things pointed up by Fred Fish's test suite; see ChangeLog. 1991-12-05 11:56:20 +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
John Gilmore
3c7cc3b70e * main.c (input_from_terminal_p): Check whether GDB has a terminal at all.
(initialize_main):  Revise doc for `set editing'.
1991-12-05 02:26:45 +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
43857158b5 Reflect changes in archures.c 1991-12-04 18:33:32 +00:00
Steve Chamberlain
431b442200 * aoutf1.h (sunos_<size>_object_p, sunos4_callback): moved the
computation of arch and machine type so it's worked out before
	some_aout_object_p is called.
	* aoutx.h: (some_aout_object_p): don't set arch and mach to
	unknown.
	* archures.c: add extra field 'section_align_power' to hold
	default section alignment in object files.
	* cpu-a29k.c, cpu-h8300.c, cpu-i386.c, cpu-i960.c, cpu-m68k.c,
	cpu-m88k.c, cpu-mips.c, cpu-rs6000.c, cpu-sparc.c, cpu-vax.c:
	initialize the new field.
	* bout.c (b_out_callback): replace the text size, since aout
	fries them.
	* aoutx.h: Documentation in the new style
1991-12-04 18:30:12 +00:00
Steve Chamberlain
4fed881829 *** empty log message *** 1991-12-04 18:25:37 +00:00
Steve Chamberlain
4e41b5aa40 *** empty log message *** 1991-12-04 18:16:41 +00:00
Steve Chamberlain
8bcad1b5b7 Don't ignore .line directives 1991-12-04 15:32:22 +00:00
John Gilmore
40985bbf13 * bfd.c (bfd_get_mtime): Don't cache mtime any more; only
use the saved value if mtime_set is already set (intended
for archive files, though apparently not used yet).
1991-12-04 10:01:45 +00:00
John Gilmore
6470e9c375 * symfile.c (reread_symbols): Avoid kludging mtime_set, now that BFD is fixed. 1991-12-04 09:59:52 +00:00
John Gilmore
34a160569a Improve installation doc slightly, by Mark Sirota's request. 1991-12-04 08:59:57 +00:00
John Gilmore
4369a1406f * Makefile.in: VERSION 4.2.96.
* main.c (initialize_main):  Revise command descriptions.
* command.c (show_user):  `info user' -> `show user'.
* symtab.c (_initialize_symtab):  Typo in `info types' desc.

* coffread.c (coff_symfile_read):  Avoid select_source_symtab,
since it is not needed and can cause errors when examining ".o"s.
(read_coff_symtab, decode_base_type):  Use complain, not printf.
Print symbol name, not its number.
Remove "#if defined(clipper) #define BELIEVE_PCC_PROMOTION", which
someday should go in a clipper target config file.

* symfile.c (compact_misc_function_vector):  Handle empty vector.
(complain, clear_complaints, syms_from_objfile):  Fix complaint
formatting.
* xcoffexec.c:  Change syms_from_objfile caller.
1991-12-04 08:36:17 +00:00
John Gilmore
01a8219f15 * targets.c: Revise comments about how to configure the target
vector, to match reality.  Remove mention of obsolete methods.
Remove long lists of capitalized macros that turn into the same
thing in lowercase.  Normal vector simply lists all known
lowercase xvec names; all other cases are handled by SELECT_VECS.
1991-12-04 07:39:57 +00:00
John Gilmore
7a6093e880 * coffread.c (coff_symfile_read): Avoid select_source_symtab,
since it is not needed and can cause errors when examining ".o"
files.

* symfile.c (compact_misc_function_vector):  Handle empty vector.
1991-12-04 03:24:36 +00:00
John Gilmore
2e00f40a38 Make it compile for cross-debugging. 1991-12-04 01:26:05 +00:00
Steve Chamberlain
f7c1f9e194 Don't ignore .file pseudos! 1991-12-04 00:18:18 +00:00
Per Bothner
7a5f996269 * archive.c (bsd_write_armap): The pad byte sometimes added to
the string table in a __.SYMDEF member is now
	counted as part of the size of the string table.
	This is compatible with the old ranlib, as well as Sun's.
1991-12-03 22:25:01 +00:00
Steve Chamberlain
242bfe8791 Removed usage of alloca, lint. 1991-12-03 22:16:29 +00:00
Steve Chamberlain
706e58f11b * srec.c: Rewrote to fix many bugs; now gets the record type
right, doesn't choke on input, sets the start address in an S9 and
	fills in the filename on an S0.
1991-12-03 18:54:50 +00:00
Per Bothner
ce623b5fd1 Two small mips-specific fixes (see ChangeLog). 1991-12-02 19:08:31 +00:00
Steve Chamberlain
849c339e86 HOSTING_LIBS now reflects where libgnu lives 1991-12-01 07:54:41 +00:00
Steve Chamberlain
0d4b8e3fd2 * cpu-h8300.c: Add support for MEMIND addressing mode 1991-12-01 07:53:50 +00:00
Steve Chamberlain
6cba8f4b78 * coff-a29k.c: defined RELOC_PROCESSING to take the #ifdef out of
coffcode.h
	* coffcode.h: use the new macro if available
1991-12-01 07:37:33 +00:00
Steve Chamberlain
9b4f91b556 Fix comment. 1991-12-01 07:14:34 +00:00
Steve Chamberlain
a1d144c63e More filename renaming. 1991-12-01 07:11:25 +00:00
Steve Chamberlain
af483be837 Filename renaming 1991-12-01 07:06:30 +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
Steve Chamberlain
dff5e6026e * elf.c (elf_corefile_note): cast malloc to avoid warning.
* Makefile.in: Fixed dependencies due to file rename
1991-12-01 06:28:28 +00:00
Steve Chamberlain
d1ee1a893e Fixed dependencies 1991-12-01 06:03:28 +00:00
Steve Chamberlain
c3eb25fc25 * aout-encap.c, aoutf1.h, aoutx.h, archive.c, bout.c, coff-a29k.c,
coff-h8300.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c,
	coff-mips.c, coff-rs6000.c, cpu-h300.c, elf.c, i386aout.c,
	newos3.c, stab-syms.c, syms.c: All these files have had their
	#includes altered to point to the new places.
1991-12-01 05:24:02 +00:00
Steve Chamberlain
11eab90c7f * bfd.h: change the documentation format.
* created coff, elf and opcode and aout directories. Moved:

	aout64.h	==> aout/aout64.h
	ar.h		==> aout/ar.h
	a.out.encap.h	==> aout/encap.h
	a.out.host.h	==> aout/host.h
	a.out.hp.h	==> aout/hp.h
	a.out.sun4.h	==> aout/sun4.h
	ranlib.h	==> aout/ranlib.h
	reloc.h		==> aout/reloc.h
	stab.def	==> aout/stab.def
	stab.gnu.h	==> aout/stab_gnu.h

	coff-a29k.h	==> coff/a29k.h
	coff-h8300.h	==> coff/h8300.h
	coff-i386.h	==> coff/i386.h
	coff-i960.h	==> coff/i960.h
	internalcoff.h	==> coff/internal.h
	coff-m68k.h	==> coff/m68k.h
	coff-m88k.h	==> coff/m88k.h
	coff-mips.h	==> coff/mips.h
	coff-rs6000.h	==> coff/rs6000.h

	elf-common.h	==> elf/common.h
	dwarf.h		==> elf/dwarf.h
	elf-external.h	==> elf/external.h
	elf-internal.h  ==> elf/internal.h

	a29k-opcode.h	==> opcode/a29k.h
	arm-opcode.h	==> opcode/arm.h
	h8300-opcode.h	==> opcode/h8300.h
	i386-opcode.h	==> opcode/i386.h
	i860-opcode.h	==> opcode/i860.h
	i960-opcode.h	==> opcode/i960.h
	m68k-opcode.h	==> opcode/m68k.h
	m88k-opcode.h	==> opcode/m88k.h
	mips-opcode.h	==> opcode/mips.h
	np1-opcode.h	==> opcode/np1.h
	ns32k-opcode.h	==> opcode/ns32k.h
	pn-opcode.h	==> opcode/pn.h
	pyr-opcode.h	==> opcode/pyr.h
	sparc-opcode.h	==> opcode/sparc.h
	tahoe-opcode.h	==> opcode/tahoe.h
	vax-opcode.h	==> opcode/vax.h
1991-12-01 04:56:32 +00:00
Steve Chamberlain
1ee1fd7e97 Initial revision 1991-12-01 04:45:47 +00:00
Steve Chamberlain
245ed2ea54 Initial revision 1991-12-01 04:26:38 +00:00
Steve Chamberlain
bdce0211a3 Sat Nov 30 18:58:40 1991 Steve Chamberlain (sac at cygnus.com)
* am29k-pinsn.c m68k-pinsn.c nm.c sparc-pinsn.c: now point to where
	the header files have moved to.
1991-12-01 02:59:19 +00:00
Steve Chamberlain
4aa58a0a29 Updated to point to where the header files are now 1991-12-01 02:58:37 +00:00
Steve Chamberlain
d289576d7f Initial revision 1991-12-01 02:46:04 +00:00
Steve Chamberlain
0227e9187b Initial revision 1991-12-01 02:29:45 +00:00