Commit Graph

270 Commits

Author SHA1 Message Date
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
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
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
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
Per Bothner
ce623b5fd1 Two small mips-specific fixes (see ChangeLog). 1991-12-02 19:08:31 +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
3053b9f218 Change simple call to printf of error message to a call to error(). Output
was not getting flushed and was not being newline terminated.
1991-11-30 01:02:03 +00:00
Roland Pesch
4b195f9a30 *** empty log message *** 1991-11-30 00:06:36 +00:00
John Gilmore
67c29f758d Make structs work on DECstation (sigh) 1991-11-28 00:51:48 +00:00
John Gilmore
f1d77e9053 Improve G++ debugging support. 1991-11-27 09:43:59 +00:00
John Gilmore
378d8e737c Add some error checking around ioctl's for terminal switching. 1991-11-23 05:22:34 +00:00
John Gilmore
b68da3b817 No need to offset args from frame pointer. 1991-11-23 01:15:11 +00:00
John Gilmore
2dd074f421 VERSION 4.2.95 1991-11-22 22:50:28 +00:00
John Gilmore
2b61280ae6 Further cleanup for release. 1991-11-22 22:49:08 +00:00
John Gilmore
3ae444f844 SCO lint. 1991-11-22 20:44:50 +00:00
John Gilmore
1a5a8f2a3e CLeanups to compile, mostly on BSD (okeeffe) and sco (kithrup). 1991-11-22 19:30:03 +00:00
John Gilmore
8013e17047 Lint 1991-11-22 16:28:05 +00:00
John Gilmore
3cb0d72dbf Roll new files into various lists. 1991-11-22 07:49:53 +00:00
John Gilmore
2e8521a929 Roll VERSION to 4.2.90. 1991-11-22 03:36:23 +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
f7402c04fa * main.c: Use getcwd rather than getwd.
* standalone.c:  Fake getcwd rather than getwd.
* xm-*.h:  Remove fake values of MAXPATHLEN.
1991-11-22 01:29:29 +00:00
John Gilmore
76b28d05a2 Add /* */ to #if 0'd thing to help ANSI. 1991-11-21 22:08:25 +00:00
John Gilmore
21f62bbd30 Remove more refs to removed files. 1991-11-21 21:15:57 +00:00
John Gilmore
3db0634cec * exec.c (exec_files_info): If `verbose' is set, show file offset as well. 1991-11-21 19:59:09 +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
John Gilmore
49faf3b650 Remove rudimentary HP a.out support from GDB, move to ../include. 1991-11-21 04:02:27 +00:00
John Gilmore
44ff4c96a4 Cashier <a.out.gnu.h> 1991-11-21 03:59:14 +00:00
John Gilmore
f318d221a5 More *config stuff 1991-11-21 03:39:08 +00:00
John Gilmore
3978d0599b Makefile fragments for various hosts and targets now come from
gdb/config/mh-* and gdb/config/mt-*.  This is for consistency with
other config setups.
1991-11-21 03:04:36 +00:00
John Gilmore
6373dbe3d7 Clean up rs6000 opcode stuff. 1991-11-21 02:37:15 +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
d018c8a6e1 Add defines so that parsers produced by SVR4 versions of yacc can coexist
in the same executable without collision (c-exp.y, m2-exp.y).  Add forward
delaration of function returning pointer to shut up compiler warnings about
conversion of int to pointer (symtab.h).
1991-11-19 15:59:55 +00:00
John Gilmore
b9fd133061 Remove tdesc stuff and prettify. 1991-11-19 06:15:22 +00:00
Fred Fish
5129100c03 More inclusion of defs.h to before param.h, ala other source files.
This is required to supply some typedefs used in files included via
param.h.
1991-11-19 05:22:32 +00:00
Fred Fish
b6666a5d67 Add generic m68k function prologue skipping support and expand the
skipping to include movem and fmovem.
1991-11-19 01:54:52 +00:00
John Gilmore
5e2569e653 Remove tdesc stuff. 1991-11-19 00:50:06 +00:00
John Gilmore
e140f1dab1 Remove tdesc stuff. Remove FRAME_CHAIN_COMBINE from all tm-*.h files,
since it was always defined exactly the same in all of them.
1991-11-18 23:52:12 +00:00
Fred Fish
1a18a1856b Supply missing third arg to instance of call to do_type(). 1991-11-18 18:18:30 +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
Stu Grossman
cd71911ed3 * mipsread.c (parse_partial_symbols): patch to keep DEC C
compiler from making gdb bomb out.  Thanks to Ed Santiago!
1991-11-16 02:00:50 +00:00
David Henkel-Wallace
4c53d9ca84 ansi name abuse changes 1991-11-15 23:16:29 +00:00
Fred Fish
5a5a3b0fb3 Add compact_misc_function_vector() to compact out duplicate entries in
the misc function vector.  See comments in the source for why this is
necessary.
1991-11-15 03:41:42 +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
John Gilmore
430923f3fa * m88k-tdep.c (examine_prologue): Deal with OR instructions
that shuffle parameters into other regs.
* symtab.c (decode_line_1):  Fix bug introduced in Per's change
of Nov 12th.
1991-11-14 21:20:12 +00:00
Steve Chamberlain
a219b090a4 * Makefile.in, xconfig/delta88 made it install a sysV manual page;
gdb.z into the right place.
1991-11-14 03:57:05 +00:00
John Gilmore
ea3c08395c Motorola 88000 port without tears, I mean without tdescs.
ChangeLog has the details.  This is preliminary for quick release,
cleanups remain to be done.
1991-11-14 01:01:28 +00:00