Commit Graph

358 Commits

Author SHA1 Message Date
Fred Fish 84b5df3255 * Makefile.in (make-proto-gdb-1): Use -f opt on rm of Makefile. 1993-08-01 19:31:56 +00:00
Fred Fish 6879f0db79 * Makefile.in (ALLCONFIG): Add config/i386/ptx.mh 1993-07-30 17:16:48 +00:00
Fred Fish 68f49dae33 * Makefile.in (ALLDEPFILES): Add delta68-nat.c
* Makefile.in (delta68-nat.o):  Add dependency.
1993-07-30 07:23:29 +00:00
Fred Fish 9b311b223d * Makefile.in (NONSRC): Need 29k-share/README, not
29k-share/udi/README.
1993-07-29 20:02:21 +00:00
Jim Kingdon f261333bd3 * Makefile.in: Use REMOTE_O macro not remote.o.
* config/i960/{nindy960,vxworks960}: Don't use remote.o.
1993-07-22 22:47:34 +00:00
Jim Kingdon 51b4195fb5 * Makefile.in (regex.o): Add dependency. 1993-07-21 22:48:39 +00:00
Fred Fish db85f5231f * Makefile.in (SFILES): Add nlmread.c.
* Makefile.in (OBS):  Add nlmread.o.
	* Makefile.in (nlmread.o):  Add new target.
	* configure.in (i[34]86-*-netware):  New configuration.
	* nlmread.c, config/i386/{i386nw.mt, tm-i386nw.h}:  New files
	for NLM/NetWare support.
1993-07-20 04:53:03 +00:00
Jim Kingdon 56eec3c737 * infptrace.c: Split out define of PT_KILL; Sequent defines PT_KILL
but not the others.
	* symm-tdep.c: Remove exec_file_command.
	[_SEQUENT_] (ptx_coff_regno_to_gdb, register_addr): New functions.
	A few miscellaneous cleanups.
	* symm-nat.c: Renamed from symm-xdep.c.
	* All symmetry dependent files: Many changes.
1993-07-19 05:00:13 +00:00
Fred Fish 98d8248937 * Makefile.in (ultra3-xdep.o, umax-xdep.o): Add missing ')'. 1993-07-13 18:20:55 +00:00
Jim Kingdon c2153bf2ba * Makefile.in: Remove gdb before creating a new one.
Update init.c atomically.
1993-07-06 18:56:48 +00:00
Jim Kingdon de6a270409 * Makefile.in (ALLPARAM): Add config/{alpha/xm-alpha.h,pa/xm-pa.h}.
(ALLCONFIG): Add config/alpha/alpha-osf1.mh.

	* infcmd.c (_initialize_infcmd): In docstring for "continue",
	describe argument as setting ignore count.
1993-07-06 17:15:02 +00:00
Jim Kingdon fdf138bb6a * Makefile.in (distclean): Remove y.tab.h. 1993-07-03 00:24:51 +00:00
Jim Kingdon f3fe62b125 * Makefile.in (*.tab.c): Use ./c-exp.tab.c not just c-exp.tab.c.
Make comment explaining this comprehensible.
	(TAGFILES): Include ALLDEPFILES.
	(ALLDEPFILES): udi2soc.c and udr.c are in 29k-share/udi, not
	29k-share/udi/udi.
	(update-alldeps): Remove; obsolete.
1993-06-25 20:28:06 +00:00
K. Richard Pixley b8774958a0 define OP_INCLUDE 1993-06-24 23:16:00 +00:00
K. Richard Pixley f4cc789c22 -I$(BFD_DIR) rather than including from the library proper. Hmph. 1993-06-23 23:41:40 +00:00
K. Richard Pixley 7ae7b9191e Makefile rework 1993-06-23 22:59:35 +00:00
Jim Kingdon 853a233b92 * Makefile.in (TAGFILES): Don't include YYFILES.
* Makefile.in (HFILES): Include monitor.h.

	* Makefile.in: Include text that used to be in alldeps.mak.
	Remove config/mips/{bigmips.mh,xm-bigmips} from it.
	* Makefile.in, configure.in: Remove all traces of alldeps.mak.
1993-06-23 15:54:34 +00:00
Fred Fish 68eabdd300 * Makefile.in (INCLUDE_CFLAGS): Add BFD_INCLUDES for now, since
bfd.h is included by target.h, which most of gdb includes.
	* depend:  Hand remove BFD_INCLUDES from ${CC} lines, now that
	it's in INCLUDE_CFLAGS.
1993-06-22 00:05:40 +00:00
Fred Fish 200a347093 * Makefile.in (BFD_INCLUDES): Bfd.h is now back in bfd build dir.
* depend:  Hand updated to match.
1993-06-21 22:11:44 +00:00
David D. Zuhn 5ebaf24b77 single-quote $program_transform_name 1993-06-18 19:25:38 +00:00
Jim Kingdon fc61e9eeec * Makefile.in (INTERNAL_CFLAGS): Include ../include as well as
${srcdir}/../include.

	* config/m88k/xm-delta88.h: Comment out unused defines which conflict
	with system headers.
	* printcmd.c (printf_command): Cast second arg to vprintf to PTR.
	Use VPRINTF macro if defined.
	* config/m88k/xm-delta88.h: Define VPRINTF.  Include <sys/siginfo.h>.
	Define TIOC{GETC,GLTC}_BROKEN.
	* m88k-nat.c: Uncomment include of <sys/ptrace.h>.
	* main.c: Rename initialize_{main,cmd_lists,history} to init_* to
	make things easier on munch (apparently this matters on
	the delta88 with svr3).
1993-06-18 02:32:27 +00:00
David D. Zuhn c8fee4a53e canonicalize install.sh location 1993-06-18 00:35:08 +00:00
Fred Fish 53f0969be3 * Makefile.in (depend): More makefile diddling.
* alldeps.mak, depend:  Update to latest automatically built
	versions.
1993-06-16 21:34:42 +00:00
Fred Fish 3ef6f6045e * Makefile.in (depend): Bfd.h keeps moving, keep up with it.
* alldeps.mak, depend:  Update to latest automatically built
	versions.
1993-06-16 19:28:19 +00:00
David D. Zuhn 98a7278bc0 remove parentdir support 1993-06-16 00:01:46 +00:00
Fred Fish ce13daa7df * Makefile.in (VERSION): Bump to 4.9.2.
* c-valprint.c (c_val_print):  For array of chars printed with
	string syntax, don't print the address of the array.  From
	bothner@cygnus.com.
	* c-exp.y (yylex): Recognize '.' as indicating a floating point
	number regardless of the radix.  From wilson@cygnus.com.
	* valprint.c (set_input_radix_1, set_output_radix_1):  New
	prototypes and functions that do the actual radix setting work.
	* valprint.c (set_radix, set_output_radix, set_input_radix):
	Rewrite to use set_input_radix_1 and set_output_radix_1.
	* valprint.c (initialize_valprint):  Enable commands to
	independently set and show input and output radices.
	* valprint.c (show_radix):  New prototype and function that
	handles separate input and output radices.
1993-06-12 22:03:27 +00:00
Jim Kingdon 702c0ff7fb * Makefile.in (install): Don't depend on gdb. 1993-06-11 19:08:18 +00:00
Jim Kingdon 39d4639b11 * Makefile.in (*.tab.c): Use mv for atomic update.
* Makefile.in ({dist,real}clean): Also remove nm.h.
	(realclean): Also remove ${TESTS}, y.output, yacc.{acts,tmp}.
	(distclean): Don't rebuild *.tab.c or TAGS.
1993-06-09 23:27:24 +00:00
K. Richard Pixley 9049407811 put configuration in startup banner 1993-06-09 23:22:48 +00:00
Fred Fish 6f4a4fbb1d * Makefile.in (BFD_SRC_DIR): Renamed def and usages from BFD_DIR.
* Makefile.in (BFD_OBJ_DIR):  New definition for the bfd build
	directory to find automatically generated header files and library.
	* Makefile.in (BFD_LIB):  Use BFD_OBJ_DIR.
	* Makefile.in (LINTFLAGS):  Include BFD_OBJ_DIR.
	* Makefile.in (saber_gdb):  Include BFD_OBJ_DIR.
	* Makefile.in (depend):  Include BFD_OBJ_DIR in gcc args.
	* Makefile.in (paread.o, xcoffexec.o):  Remove, now in depend.
	* depend, alldeps.mak:  Rebuild after Makefile.in changes.
1993-06-07 23:41:44 +00:00
Stu Grossman bd91ddd176 * Makefile.in: Remove ser-tcp.[co]. (Use XDEPFILES instead.)
* alldeps.mak, depend:  Rebuild to account for ser-tcp.
	* config/sparc/sun4os4.mh:  Add ser-tcp to XDEPFILES.
1993-06-03 10:54:58 +00:00
Fred Fish 8f1cc6c6ff * Makefile.in (SER_HARDWIRE): Temporarily comment out ser-tcp.o. 1993-05-31 03:40:06 +00:00
Stu Grossman 38dc5e123f * Makefile.in: Add new file ser-tcp.c.
* defs.h (memcmp):  Add decl for memcmp to #ifndef MEM_FNS_DECLARED.
	* findvar.c (write_register):  See if we are writing back the same
	value that's already in the register.  If so, don't bother.
	* remote.c (putpkt, getpkt):  Improve handling of communication
	problems.
	* ser-go32.c:  Prototype it to death.  Update serial_ops and add
	dummy routines where appropriate.
	* ser-tcp.c:  New module to implement serial I/O via TCP
	connections.
	* ser-unix.c:  Clean up getting/setting of tty state.  Get rid of
	SERIAL_RESTORE, add SERIAL_{GET|SET}_TTY_STATE interfaces.
	* serial.c:  Add start of support for connect command.
	(serial_open):  Distinguish between tcp and local devices.
	* serial.h (struct serial_ops):  Get rid of restore, add
	get_tty_state and set_tty_state.  Define protoypes and macros for
	this mess.
	* gdbserver/remote-utils.c:  Add tcp support.  (readchar):  Do
	some real buffering.  Handle error conditions gracefully.
	* gdbserver/remote-inflow-sparc.c:  Update to remote-inflow.c
	(Lynx), remove lots of cruft.
1993-05-29 01:33:36 +00:00
Jim Kingdon fd382d28ef * config/i386/linux.mh: Don't use \ newline; the awk scripts don't
support it.

	* config/i386/go32.mh: Define SER_HARDWIRE.
	* Makefile.in: Define SER_HARDWIRE.
	(DEPFILES): Use it.
	(alldeps.mak): Add SER_HARDWIRE.
	Remove all references to ser-hardwire.{c,o}.
	* configure.in: Remove all ser_hardwire and gdb_serial_driver stuff.
1993-05-25 15:41:49 +00:00
Jim Kingdon c41e08c472 * Makefile.in: Add rule for xcoffexec.o like that for paread.o.
* xcoffread.c (process_xcoff_symbol, case C_LSYM): Use define_symbol.
1993-05-21 14:42:14 +00:00
Jim Kingdon 5b40415c63 * Makefile.in (INSTALLED_LIBS): New variable. 1993-05-19 17:56:18 +00:00
Jim Kingdon 31d16514c8 * Makefile.in (depend): Put "${srcdir}" in generated dependencies
if srcdir is not ".".
	Also put in -I${BFD_DIR} or -I${READLINE_DIR} for files which need it.
	(INCLUDE_CFLAGS):  Remove BFD_DIR and READLINE_DIR.
	* depend:  Update to latest automatically built version.
1993-05-18 22:38:12 +00:00
Fred Fish 6e50aeb481 * ChangeLog, ChangeLog-92: Split ChangeLog at 1993.
* Makefile.in (NONSRC):  Add ChangeLog-92
1993-05-18 15:16:01 +00:00
Fred Fish 0b81fc4394 * Makefile.in (BISON): Remove double quotes around BISON
definition when bison is used.
1993-05-10 00:53:27 +00:00
Fred Fish 67d2bd1a4b * Makefile.in (VERSION): Bump to 4.8.6. 1993-05-09 14:26:25 +00:00
Fred Fish d39fbfe3b9 * Makefile.in (VERSION): Bump to 4.8.5
* Makefile.in (INCLUDE_CFLAGS):  Add BFD_DIR and READLINE_DIR
	directories to include search path.
	* Makefile.in (CLIBS, CDEPS, ADD_FILES, ADD_DEPS):  Clean up
	whitespace.
	* Makefile.in (depend):  For gcc -MM line, use INTERNAL_CFLAGS
	* Makefile.in (main.o, dbxread.o, coffread.o, mipsread.o,
	elfread.o, dwarfread.o, stabsread.o, xcoffread.o, xcoffexec.o,
	xdr_ld.o, xdr_rdb.o, nindy.o, Onindy.o, ttybreak.o, ttyflush.o,
	udr.o, udip2soc.o):  Remove explicit rules, use the ones that
	are automatically generated in "depend".
	* Makefile.in (paread.o):  Document why a dependency doesn't get
	automatically generated in "depend" and leave this explicit rule
	in for now (FIXME).
	* depend:  Update to latest automatically generated version.
1993-05-05 02:48:28 +00:00
Jim Kingdon 5b8462fa63 * Makefile.in (depend): Include $(CC) command in generated output. 1993-05-04 19:25:24 +00:00
Fred Fish 5287eacdc2 * Makefile.in (NONSRC): Remove ${srcdir}/putenv.c.
* Makefile.in (SFILES):  Add ${srcdir}/putenv.c.
	* depend:  Update to latest automatically built version.
1993-05-04 05:57:03 +00:00
Fred Fish d8aaff820c * Makefile.in (NONSRC): Add 29k-share/README.
* Makefile.in (HFILES):  Add 29k-share/udi/udiids.h.
1993-05-02 22:27:05 +00:00
K. Richard Pixley 0139c441ea do not echo recursion lines 1993-05-01 00:34:05 +00:00
Jim Kingdon db7c818b4d * Makefile.in (TAGS): Doc fix. Deal with empty DEPFILES. 1993-04-30 22:08:46 +00:00
Jim Kingdon 8d57a263f5 doc fix 1993-04-30 18:06:32 +00:00
Fred Fish d5f608a465 * Makefile.in (SFILES): Add ser-unix.c and ser-go32.c. 1993-04-30 06:44:59 +00:00
Fred Fish 97e72c06bd * Makefile.in (make-proto-testsuite.dir): New target to make
prototype testsuite tree.
	* Makefile.in (TAGS):  Remove use of DEPFILES, it may be empty.
	In any case, it is a subset of the ALLDEPFILES list, which is
	part of SOURCES, which is part of TAGFILES, so it's redundant.
1993-04-30 06:28:30 +00:00
Fred Fish 3717e95b5d Bump version to 4.8.4 for gdb 4.9 prerelease testing. 1993-04-29 19:05:22 +00:00
Jim Kingdon 24c2857c22 * Makefile.in: Add ${srcdir}/ to all source files.
(alldeps.mak): Add "${srcdir}/" to files in alldeps.mak.
	(TAGS): Deal with srcdir and new config directory scheme.
	createtags: Remove.
	Makefile.in (NONSRC): Remove createtags.
	alldeps.mak: Updated.
1993-04-20 19:29:06 +00:00
Fred Fish 5aefc1ca23 Remove chill sanitizations, which are no longer necessary. 1993-04-16 23:22:41 +00:00
Jim Kingdon ee7e82fedb Version 4.8.3 1993-04-15 01:13:52 +00:00
Stu Grossman 4e772f4426 * Makefile.in (SFILES OBS): Add serial.[co] & ser-hardwire.[co].
These implement a new serial line interface for talking to remote
	targets.
	* configure.in:  Link ser-hardwire.c to ser-unix.c for all hosts,
	EXCEPT go32, which gets ser-go32.c.
	* remote.c:  Use new serial interface.  More remote-xxx's to be
	converted later.
	* ser-bsd.c, ser-termios.c:  Removed.
	* serial.c:  New.  Implements common operations for all serial
	types.
	* ser-unix.c:  New.  Unix specific serial operations for various
	flavors of Unix (Posix, SysV, BSD).
	* serial.h:  Generic serial interface defs.
	* config/i386/go32.mh, config/i386/i386bsd.h,
	config/m68k/apollo68b.mh, config/sparc/sun4os4.mh:  Remove
	ser-bsd.o from XDEPFILES.  All the magic is now handled in
	configure.in.
1993-04-06 05:50:54 +00:00
Fred Fish 2225eb851e * config/m68k/tm-m68k.h: Renamed from config/m68k/tm-68k.h.
* m68k/{tm-3b1.h, tm-altos.h, tm-amix.h, tm-es1800.h,
	tm-hp300bsd.h, tm-hp300hpux.h, tm-isi.h, tm-news.h, tm-os68k.h,
	tm-st2000.h, tm-sun2.h, tm-sun3.h, tm-vx68.h}:  Include tm-m68k.h
	instead of tm-68k.h.
	* Makefile.in (HFILES):  tm-68k.h renamed to tm-m68k.h.
	* README, a29k-pinsn.c, m68k-pinsn.c, m68k-stub.c, remote-vx.c,
	m68k/{altos.mh, altos.mt, apollo68b.mh, nm-apollo68b.h,
	nm-hp300bsd.h, config/m68k/xm-apollo68b.h}:  Map '68k' to 'm68k'.
	* a29k/tm-a29k.h, doc/gdbint.texinfo:  Account for renaming of
	tm-68k.h to tm-m68k.h.
	* m68k/m68k-fp.mt (TM_FILE):  tm-68k-fp.h renamed to tm-m68k-fp.h.
	* m68k/m68k-nofp.mt (TM_FILE):  tm-68k-nofp.h renamed to
	tm-m68k-nofp.h.
1993-03-30 00:33:44 +00:00
John Gilmore 0f0834c518 * Makefile.in (TARFILES): Avoid trailing backslash. 1993-03-26 23:26:05 +00:00
Fred Fish 2531303ccf * Makefile.in: Numerous small changes to macro definitions
and rules for building gdb distribution tree.  Many macros
	eliminated or merged, and rules simplified.
	* alldeps.mak:  Update.
	* depend:  Update.
1993-03-25 18:18:14 +00:00
David D. Zuhn b396a969dd recurse through SUBDIRS for dvi target 1993-03-24 21:53:48 +00:00
Ian Lance Taylor 58bb1e76b4 Moved the hacked unexport line so that it is not the first target. 1993-03-23 16:08:25 +00:00
David D. Zuhn 80c8fd72ed add installcheck 1993-03-23 08:03:44 +00:00
Fred Fish 1a0edbc7d7 * config/{a29k, arm, convex, gould, h8300, i386, i860, i960, m68k,
m88k, mips, none, ns32k, pa, pyr, romp, rs6000, sparc, tahoe, vax,
	z8k}:  New directories to hold cpu specific configuration files.
	Naming follows gcc convention.
	* config/{*.mt, *.mh}:  All target and host makefile fragment
	config files moved to an appropriate config/<cpu> subdirectory.
	* nm-*, xm-*, tm-*:  All native, host, and target files, which
	get linked to nm.h, xm.h, and tm.h respectively by configure,
	moved to appropriate config/<cpu> subdirectory.
	* nm-sysv4.h, xm-sysv4.h, tm-sysv4.h, tm-sunos.h, nm-trash.h:
	Native, host, and target files that are common across more than
	one cpu architecture and included by one of the configured
	native, host, or target files, get moved to config directory.
	* Makefile.in (INCLUDE_CFLAGS):  Add -I${srcdir}/config to
	pick up native, host, or target include files moved to one of
	the config subdirectories, and that are included by other files.
	* Makefile.in (alldeps.mak):  Modify to account for new config
	directory structure.
	* alldeps.mak, depend:  Update for new config directory structure.
	* config/*/[ntx]m-*.h:  Modify all files that include other
	[ntx]m-*.h files to use path relative to gdb/config.  I.E.
	"a29k/tm-ultra3.h" includes "a29k/tm-29k.h" rather than just
	"tm-29k.h".
	* remote-eb.c (tm-29k.h):  Include a29k/tm-29k.h.
	* mipsread.c (tm-mips.h):  Include mips/tm-mips.h.
	* i860-pinsn.c (tm-i860.h):  Include i860/tm-i860.h.
	* configure.in:  Default gdb_host_cpu to host_cpu, and remap
	the ones where the default is not unique or different than the
	config subdirectory name.  Similarly, handle gdb_target_cpu.
	Modify configure.in as appropriate to make use of gdb_host_cpu
	and gdb_target_cpu to find makefile fragments and make links.
1993-03-23 01:01:49 +00:00
Per Bothner 00cea52f92 * ieee-float.c: Moved to ../libiberty.
* ieee-float.h: Moved to ../include.
	* Makefile.in:  Update accordingly.
	* i386-pinsn.c (print_insn), m68k-pinsn.c (print_insn):
	Convert to stubs that call disassemblers in ../opcodes/*-dis.c.
	* m68k-tdep.c:  Removed definition of ext_format ext_format_68881;
	it is now in ../opcodes/m68881-ext.c.
	* mips-tdep.c (mips_skip_prologue):  Try to skip more of the
	prologue (some callers _do_ care).
	* mips-pinsn.c (print_insn), z8k-tdep.c (print_insn):  Convert to
	new interface of ../opcodes/*-dis.c.
	* ch-exp.y:  Add #include <ctype.h>.
1993-03-19 00:18:55 +00:00
Ian Lance Taylor 1fa66e3660 A new ARG_MAX hack: explicitly unexport some CHILL variables to keep
them out of the environment.
1993-03-18 01:15:43 +00:00
Rob Savoye e7d3b7d1fb "Make check" works much better. 1993-03-17 09:05:19 +00:00
Fred Fish 0b96ed0655 * Makefile.in (VERSION): Bump version to 4.8.2. 1993-03-11 02:40:29 +00:00
Ian Lance Taylor aecc5459ab * Makefile.in (MAKEOVERRIDES): Define to be empty for GNU Make
3.63.

Also corrected the definitions of CC_FOR_TARGET, CXX_FOR_TARGET and
CHILL_FOR_TARGET.
1993-03-08 06:00:50 +00:00
Rob Savoye 6fcb280eb7 "make check" now works! 1993-03-03 03:15:52 +00:00
John Gilmore be220da15a * Makefile.in (VERSION): Roll to 4.7.9.
* xm-hp300bsd.h:  Define PSIGNAL_IN_SIGNAL_H and put a compatible
definition here, to handle both BSD 4.3 and 4.4 systems.
* tm-i386bsd.h (NUM_REGS):  There are only eleven, not twelve.
1993-02-18 07:53:44 +00:00
John Gilmore 62e859f039 (alldeps.mak): Make ALLDEPFILES_SUBSUBDIR for files in sub sub dirs.
(ALLDEPFILES_SUBSUBDIR):  Depend on this for deeper dep files.
1993-02-16 10:18:47 +00:00
John Gilmore f4ed8840fb * Makefile.in (VERSION): Roll to 4.7.6.
(SFILES_SUBDIR):  Add 29k-share/udi_soc.
(SFILES_SUBSUBDIR):  Move 29k-share/udi files to this macro.
(HFILES):  Remove all nm-* except nm-trash.h.  Add ns32k-opcode.h.
(depend):  Fix bug where nm-files in config files weren't noticed.
(make-proto-gdb-1):  Avoid changing directories while building new
prototype.  Build SFILES_SUBSUBDIR with longer symlinks.

.Sanitize:  Remove am29k-opcode.h, convx-opcode.h, os68k-xdep.c.
1993-02-16 09:02:15 +00:00
John Gilmore 24b88ae801 Makeinfo now works again; remove kludge. 1993-02-04 06:00:41 +00:00
John Gilmore ad89bdfdac * Makefile.in (VERSION): Roll to 4.7.5.
(gdb.info):  Ignore error from makeinfo (FIXME), since makeinfo
isn't quite up to date to handle gdb.texi.
1993-02-03 22:49:32 +00:00
Roland Pesch 2b21d8aac9 Fixes for doc targets. 1993-02-02 02:14:39 +00:00
John Gilmore 3d9b9577e0 * Makefile.in (HFILES): Add typeprint.h.
* typeprint.[ch]:  Update copyrights.
1993-01-31 03:56:56 +00:00
John Gilmore 259d1deac6 * Makefile.in: Update to match doc/ subdir changes. 1993-01-31 01:31:45 +00:00
John Gilmore bdec39b376 Update for doc/ changes. 1993-01-29 06:17:28 +00:00
Fred Fish 2fcc38b81f * expression.h (BINOP_CONCAT): Document use for self concatenation
an integral number of times.
	* language.c (binop_type_check):  Extend BINOP_CONCAT for self
	concatenation case.
	* valarith.c (value_concat):  Rewrite to support self
	concatenation an integral number of times.
	**** start-sanitize-chill ****
	* Makefile.in (ch-exp.tab.c):  Change "expect" message.
	* ch-exp.y (FIXME's):  Make all FIXME tokens distinct, to
	eliminate hundreds of spurious shift/reduce and reduce/reduce
	conflicts that mask the 5 real ones.
	* ch-exp.y (STRING, CONSTANT, SC):  Remove unused tokens.
	* ch-exp.y (integer_literal_expression):  Remove production,
	no longer used.
	**** end-sanitize-chill ****
1993-01-28 05:47:42 +00:00
Fred Fish 19d0f3f41d * Makefile.in (BISON): Add comment that when bison is used, it
must include the "-y" option.
	* c-exp.y, m2-exp.y (yyrule, yyname, yyss, yyssp, yyvs, yyvsp):
	Remove defines to remap non-yacc symbols, thus backing out of
	previous recent changes.  Standard policy is that non-yacc parser
	generators get fixed, rather than adding bug workarounds in gdb
	for each new one that pops up.  Expand comment to note this.
	* c-exp.y, m2-exp.y (YYDEBUG):  Revert back to disabled by default.
1992-12-31 19:08:08 +00:00
Fred Fish a8a69e6332 * Makefile.in (VERSION): Bump to 4.7.4.
* Makefile.in (SFILES_MAINDIR):  Add typeprint.c, c-typeprint.c,
	  m2-typeprint.c, c-valprint.c cp-valprint.c m2-valprint.c.
	* Makefile.in (HFILES):  Add valprint.h.
	* Makefile.in (OBS):  Add typeprint.o, c-typeprint.o,
	  m2-typeprint.o, c-valprint.o, cp-valprint.o m2-valprint.o.
	* typeprint.c, typeprint.h:  New files for language independent
	  type printing functions.
	* c-typeprint.c, m2-typeprint.c:  New files for language dependent
	  type printing functions and definitions.
	* valprint.h:  New include file for language independent value
	  printing definitions.
	* c-valprint.c, cp-valprint.c, m2-valprint.c:  New files for language
	  dependent value printing functions.
	* c-exp.y (production ptype):  Add range_type variable and use new
	  create_range_type function.
	* c-exp.y (tokentab2, tokentab3), c-lang.c (c_op_print_tab),
	  infcmd.c (path_var_name), language.c (unk_op_print_tab),
	  m2-lang.c (m2_op_print_tab):  Change from ANSI-obsolescent
	  "const static" to ANSI-conformant "static const".
	* c-exp.y (c_create_fundamental_type):  Remove unused nbytes.
	* c-exp.y (c_language_defn, cplus_language_defn):  Add c_print_type,
	  and c_val_print.
	* c-lang.h (c_print_type, c_val_print):  Add prototypes.
	* coffread.c (decode_type):  Add range_type variable and call to
	  new create_range_type function.
	* complaints.c (complain):  Remove unused val variable.
	* complaints.c (_initialize_complaints):  Make it void.
	* convex-tdep.c (value_of_trapped_internalvar):  Add range_type
	  variable and call new create_range_type function.
	* defs.h (enum val_prettyprint):  Move enum from value.h to here
	  so we can avoid having to include value.h just for prototypes that
	  need the enum (thanks ANSI).
	* dwarfread.c (struct_type):  Local anonymous_size variable is
	  only used if !BITS_BIG_ENDIAN.
	* dwarfread.c (decode_subscript_data_item):  Add rangetype
	  variable and call new create_range_type function.
	* elfread.c (elf_symfile_read):  Remove unused dbx and text_sect
	  variables.
	* eval.c (evaluate_subexp):  Remove unused local variable name
	  and the statement with no side effects that initializes it.
	* expprint.c (print_subexp):  Change local_printstr to
	  LA_PRINT_STRING.
	* gdbtypes.c (create_range_type):  New function that creates
	  a range type using code fragments from object file readers as
	  an example of what has to be initialized.
	* gdbtypes.c (create_array_type):  Removed index_type, low_bound,
	  and high_bound parameters, replaced with a single range_type
	  parameter.  Change function body to use passed in range_type
	  rather than handcrafting one.
	* gdbtypes.h (create_range_type):  Add prototype.
	* gdbtypes.h (create_array_type):  Change prototype parameters.
	* infrun.c (normal_stop):  Remove unused local variables tem and c.
	* infrun.c (hook_stop_stub):  Return 0 rather than random value.
	* language.c (unk_lang_print_type, unk_lang_val_print):  Add
	  stub functions that call error if called.
	* language.c (unknown_language_defn, auto_language_defn,
	  local_language_defn):  Add initializers unk_lang_print_type and
	  unk_lang_val_print.
	* language.h (struct language_defn):  Reformat for larger
	  comments, add la_print_type and la_val_print members.  Add
	  LA_PRINT_TYPE and LA_VAL_PRINT macros.  Change local_printchar
	  to LA_PRINT_CHAR and local_printstr to LA_PRINT_STRING.
	* m2-lang.c (m2_create_fundamental_type):  Remove unused local
	  variable nbytes.
	* m2-lang.c (m2_language_defn):  Add initializers m2_print_type
	  and m2_val_print.
	* m2-lang.h (m2_print_type, m2_val_print):  Add prototypes.
	* main.c (execute_command): Remove unused local variable cmdlines.
	* main.c (echo_command), stabsread.c (read_type), printcmd.c
	  (clear_displays), symmisc.c (block_depth), values.c
	  (clear_value_history):
	  Make testing of truth value of assignment result explicit.
	* mipsread.c (upgrade_type):  Update FIXME to include future use
	  of create_range_type.
	* printcmd.c (ptype_command, ptype_eval, whatis_command,
	  whatis_exp, maintenance_print_type):  Move prototypes and functions
	  to new typeprint.c.
	* printcmd.c (_initialize_printcmd):  Move add_com calls for
	  ptype_command and whatis_command to new typeprint.c.
	* ser-bsd.c (serial_open):  Remove unused variable sgttyb.
	* source.c (find_source_lines):  Local variable c only used
	  when LSEEK_NOT_LINEAR is defined.
	* stabsread.c (read_array_type):  Use new create_range_type
	  function.
	* stabsread.c (read_range_type):  Add new index_type variable and
	  call new create_range_type function rather than handcrafting
	  range types.
	* symmisc.c (type_print_1):  Change usages to LA_PRINT_TYPE.
	* symtab.c (typedef_print usages):  Use c_typedef_print, renamed.
	* symtab.c (type_print_base usages):  Use c_type_print_base.
	* symtab.c (type_print_varspec_prefix usages):  Use
	  c_type_print_varspec_prefix.
	* symtab.c (type_print_method_args usages):  Use
	  cp_type_print_method_args.
	* valprint.c:  Completely ripped apart and the fragments used
	  to create c-valprint.c, cp-valprint.c, m2-valprint.c, and
	  valprint.h.  Remaining stuff is language independent.
	* value.h (struct fn_field):  Forward declare for prototypes.
	* value.h (type_print_1):  Remove prototype.
	* value.h (enum val_prettyprint):  Moved to defs.h.
	* value.h (typedef_print):  Prototype renamed to c_typedef_print.
	* value.h (baseclass_offset):  Add prototype.
	**** start-sanitize-chill ****
	* Makefile.in (SFILES_MAINDIR):  Add ch-typeprint.c, ch-valprint.c.
	* Makefile.in (OBS):  Add ch-typeprint.o, ch-valprint.o.
	* ch-typeprint.c:  New file for language dependent type printing.
	* ch-valprint.c:  New file for language dependent value printing.
	* ch-exp.y (parse_number):  Remove prototype and stub function.
	* ch-exp.y (decode_integer_literal):  Removed unused digits and
	  temp variables.
	* ch-exp.y (convert_float):  Completely ifdef out for now.
	* ch-exp.y (tokentab2, tokentab3, tokentab4, tokentab5),
	  ch-lang.c (chill_op_print_tab):
	  Change from ANSI-obsolescent "const static" to ANSI-conformant
	  "static const".
	* ch-exp.y (yylex):  Add unhandled storage class enumeration
	  literals to switch statement for completeness.
	* ch-lang.c (chill_create_fundamental_types):  Remove unused
	  nbytes variable.  Change dummy type to 2 bytes to match int.
	  Handle FT_VOID types gratuituously added to chill DWARF by
	  compiler.  Change FT_CHAR case to generate an TYPE_CODE_CHAR
	  type rather than a one byte TYPE_CODE_INT type.
	* ch-lang.c (chill_language_defn):  Add chill_print_type and
	  chill_val_print.
	* ch-lang.h (chill_print_type, chill_val_print):  Add prototypes.
	**** end-sanitize-chill ****
1992-12-18 20:21:32 +00:00
Roland Pesch 967007ca97 Change default pointer to texinfo.tex to match new location. 1992-12-16 02:39:50 +00:00
Fred Fish 51b80b0072 * complaints.c: New file, code moved from utils.c.
* complaints.c (complain):  Made into a varargs function.
	* complaints.h:  New file, code moved from symfile.h.
	* Makefile.in (SFILES_MAINDIR):  Add complaints.c.
	* Makefile.in (HFILES):  Add complaints.h.
	* Makefile.in (OBS):  Add complaints.o.
	* symfile.c (complaint_root, stop_whining, complaint_series,
	complain, clear_complaints, add_show_from_set for stop_whining):
	Moved to complaints.c.
	* symfile.h (struct complaint, complaint_root decl, complain
	prototype, clear_complaints prototype):  Moved to complaints.h.
	* buildsym.c, coffread.c, dbxread.c, dwarfread.c, elfread.c,
	gdbtypes.c, mipsread.c, stbsread.c, symfile.c:  Include
	complaints.h.  Remove casts from arguments to complain(),
	which is now a varargs function, and remove unnecessary
	placeholder zero args.
	* defs.h (begin_line):  Add prototype.
	* defs.h (vprintf_filtered):  Add prototype.
	* dwarfread.c (varargs.h):  Remove, no longer needed.
	* dwarfread.c (dwarfwarn):  Remove prototype and function.
	* dwarfread.c (complaints):  Define a bunch of complaints.
	* dwarfread.c (SQUAWK):  Remove macro defs, convert all
	usages to standard complain() calls.
	* utils.c (begin_line):  New function that ensures that
	whatever gets filter-printed next starts on its own line.
	* utils.c (vprintf_filtered):  New func, like vfprintf_filtered,
	but to stdout (calls vfprintf_filtered internally).
1992-12-15 12:18:53 +00:00
Fred Fish 22e3975901 * c-exp.y, m2-exp.y: Migrate code that has nothing to do with
expression parsing into c-lang.c and m2-lang.c respectively.
	* c-lang.c, m2-lang.c:  New files, code migrated from c-exp.y and
	m2-exp.y respectively.
	* c-lang.h, m2-lang.h:  New files, internal interfaces between c-*
	and m2-* files respectively.
	* Makefile.in (SFILES_MAINDIR):  Add c-lang.c, m2-lang.c.
	* Makefile.in (HFILES):  Add c-lang.h, m2-lang.h.
	* Makefile.in (OBS):  Add c-lang.o, m2-lang.o.
	* expression.h (struct block):  Forward declaration for prototypes.
	* language.h (struct objfile):  Forward declaration for prototypes.
	**** start-sanitize-chill ****
	* Makefile.in (SFILES_MAINDIR):  Add ch-lang.c.
	* Makefile.in (HFILES):  Add ch-lang.h.
	* Makefile.in (OBS):  Add ch-lang.o.
	* ch-exp.y:  Migrate code that has nothing to do with expression
	parsing into ch-lang.c.
	* ch-lang.c:  New file, code migrated from c-exp.y.
	* ch-lang.h:  New file, internal interface between ch-* files.
	**** end-sanitize-chill ****
1992-12-09 06:50:30 +00:00
Fred Fish b076b3f869 Bump internal version to 4.7.3 in wake of fragmentation of massive
stabsread.c read_struct_type function.
1992-11-29 23:50:08 +00:00
Fred Fish 19cfe25d90 First cut at sanitizing away the chill stuff. 1992-11-16 19:25:35 +00:00
Fred Fish 45a655b0b6 * Makefile.in (VERSION): Bump to 4.7.2
* symtab.c (find_pc_symtab):  Fix return of random value
	to caller.
1992-11-15 20:26:35 +00:00
Fred Fish e58de8a230 * Makefile.in (SFILES_MAINDIR): Add ch-exp.y.
* Makefile.in (YYFILES):  Add ch-exp.tab.c.
	* Makefile.in (YYOBJ):  Add ch-exp.tab.o.
	* Makefile.in (saber_gdb):  Add unload of ch-exp.y and load
	of ch-exp.tab.c.
	* Makefile.in (distclean):  Add target ch-exp.tab.c.
	* Makefile.in (realclean):  Add rm of ch-exp.tab.c.
	* Makefile.in (c-exp.tab.c, m2-exp.tab.c):  Add dependency on
	Makefile since it contains sed patterns used in generation.
	Add sed pattern to also delete #include of any malloc.h.
	* Makefile.in (ch-exp.tab.o, ch-exp.tab.c):  New targets.
	* ch-exp.y:  New expression parser, for GNU-Chill.
	* c-exp.y, expr.c, expression.h, language.c, m2-exp.y,
	parser-defs.h, valarith.c, valops.c, value.h:  Remap macros and
	function names to conform to K&R terminology with respect to
	logical and bitwise operators:
	UNOP_ZEROP => UNOP_LOGICAL_NOT
	UNOP_LOGNOT => UNOP_COMPLEMENT
	BINOP_LOGAND => BINOP_BITWISE_AND
	BINOP_LOGXOR => BINOP_BITWISE_XOR
	BINOP_LOGIOR => BINOP_BITWISE_IOR
	BINOP_AND => BINOP_LOGICAL_AND
	BINOP_OR => BINOP_LOGICAL_OR
	PREC_OR => PREC_LOGICAL_OR
	PREC_AND => PREC_LOGICAL_AND
	PREC_LOGIOR => PREC_BITWISE_IOR
	PREC_LOGXOR => PREC_BITWISE_XOR
	PREC_LOGAND => PREC_BITWISE_AND
	value_zerop() => value_logical_not()
	value_lognot() => value_complement()
	* c-exp.y (c_op_print_tab):  Add explicit empty terminator.
	* m2-exp.y (m2_op_print_tab):  Add explicit empty terminator.
	* defs.h (enum language):  Add language_chill.
	* dwarfread.c (set_cu_language):  Add LANG_CHILL case and make
	LANG_MODULA2 a recognized language.
	* eval.c (evaluate_subexp):  Add OP_BOOL case.
	* expprint.c (print_subexp):  Add OP_BOOL case.
	* gdbtypes.h (enum_typecode):  Note TYPE_CODE_BOOL used for
	Chill as well as Modula-2.
	* gdbtypes.y (builtin_type_chill_bool, builtin_type_chill_long,
	builtin_type_chill_ulong, builtin_type_chill_real):  Add.
	* i387-tdep.c (sys/dir.h):  Remove, appears to be unnecessary
	and is nonexistant in some SVR4 based systems.
	* language.c (DEFAULT_ALLOCSIZE):  Change from 3 => 4.
	* language.c (set_language_command):  Add chill.
	* language.c (binop_result_type, integral_type, character_type,
	boolean_type, structured_type, value_true, binop_type_check):
	Add language_chill cases.
	* language.h (_LANG_chill):  Define.
	* m2-exp.y (number_sign, modblock):  Make static, #ifdef out
	unused modblock.
	* m2-exp.y (ANDAND):  Rename to LOGICAL_AND.
	* source.c (source_info):  Fix minor nits, print "1 line" rather
	than "1 lines", and "language is <lang>".
	* symfile.c (deduce_language_from_filename):  Recognize the
	filename extensions ".chill", ".c186", and ".c286" for Chill.
	* valarith.c (value_binop):  Handle TYPE_CODE_BOOL as well
	as TYPE_CODE_INT and TYPE_CODE_FLOAT.
	* valprint.c (val_print):  Print TYPE_CODE_BOOL type values as
	"TRUE" or "FALSE".
	* valprint.c (typedef_print):  Add case for language_chill.
	* values.c (value_from_longest):  Handle TYPE_CODE_BOOL.
1992-11-15 17:28:02 +00:00
Stu Grossman b6113cc408 * Makefile.in: Remove dependancies for 29k-share/dfe/yank.o and
29k-share/dfe/mini2udi.o.
* config/a29k-udi.mt:  Remove yank.o and mini2udi.o.
* alldeps.mak, depend:  Update to deal with removal of
aforementioned files.
* remote-udi.c:  Major cleanups.  Clean up udi_open and drop
requirement for useless 'program' argument.  Clean up
udi_create_inferior, and udi_load to call common download()
routine.  Create download routine to load remote hosts directly
(with the help of BFD) so that we don't need yank.c and
mini2udi.c.
Fix udi_detach to call UDIDisconnect with
the right arguments.  Clean up udi_resume, don't assign tip_error
twice.  Clean up udi_wait, straighten out status codes.  Make
udi_kill really work.
1992-11-12 01:15:06 +00:00
Stu Grossman 6881fb6d20 Add 29k-UDI stuff back in... 1992-11-05 23:33:51 +00:00
Fred Fish e35843d476 * Makefile.in (c-exp.tab.c, m2-exp.tab.c): Add sed patterns to
remap all malloc's to xmalloc's and all realloc's to xrealloc's.
	* c-exp.y, m2-exp.y:  Add comment about how malloc/realloc are
	  remapped to xmalloc/xrealloc, use only malloc/realloc in grammer
	  file.  Remove preprocessor defines that previously did remapping.
1992-10-31 00:35:08 +00:00
K. Richard Pixley b1de302a44 hp300 native support 1992-10-28 07:08:52 +00:00
K. Richard Pixley 7aae0974c2 vax native support 1992-10-28 05:31:14 +00:00
K. Richard Pixley 124a6fc037 add new nm files to HFILES 1992-10-28 03:05:29 +00:00
Stu Grossman bccaecc63b * Makefile.in (VERSION): 4.7.1 post release! 1992-10-23 13:17:47 +00:00
John Gilmore c50c519792 * Makefile.in (VERSION): gdb-4.7 release.
* README:  Update for gdb-4.7.
1992-10-23 07:53:03 +00:00
Stu Grossman 603900c746 * Makefile.in (HFILES): Add nm-i386sco.h.
* dwarfread.c:  include <sys/types.h> for SCO.
* infptrace.c:  Don't include ptrace.h under SCO.
* config/i386sco.mh:  Use -D_POSIX_SOURCE instead of -posix for
gcc.
* config/i386v.mt:  Add exec.o to TDEPFILES.
1992-10-22 08:07:12 +00:00
K. Richard Pixley 99ef5653ef sun4sol2 native stuff 1992-10-22 02:00:07 +00:00
John Gilmore e4db3f3e06 * Makefile.in (VERSION): Tick to 4.6.9.
* mipsread.c (UNSAFE_DATA_ADDR):  Remove MIPS-host-specific
definition, replace with portable one.
* remote-nindy.c:  Lint.
(nindy_wait):  Return type is int, result is inferior_pid.
* symmisc.c (dump_psymtab):  Only print section_offsets if set.
(initialize_symmisc):  Remove empty function.
* tm-spc-noun.h, tm-sun4os4.h, tm-sun4sol2.h (STACK_END_ADDRESS):
Remove obsolete, misspelled macro.
* doc/gdbint.texinfo:  Document obsolete STACK_END_ADDR.
(all @node commands):  Use new form to avoid nitpicking errors.
* doc/gdbint.texinfo:  Document host/native/target split.
1992-10-21 10:52:09 +00:00
K. Richard Pixley 3fcb902156 umax native support 1992-10-21 05:12:16 +00:00
K. Richard Pixley ca0487229b hppa native support 1992-10-21 04:57:35 +00:00
Stu Grossman d95eb93075 * Makefile.in (HFILES): Fixup list of nm-*.h files. Add missing ones. 1992-10-19 22:12:50 +00:00
K. Richard Pixley c7c9407366 i386v host/target/native separation 1992-10-16 23:39:34 +00:00
K. Richard Pixley e24cb83d47 linux host/target/native separation 1992-10-16 23:11:13 +00:00
K. Richard Pixley 61bbb1c2cf sun386 host/target/native separation 1992-10-16 23:03:27 +00:00
K. Richard Pixley a113beac21 i386mach host/target/native separation 1992-10-16 22:57:36 +00:00
K. Richard Pixley e367cb3b50 added nm-m88k.h to HFILES 1992-10-16 20:56:05 +00:00
K. Richard Pixley 6bf98ac01d ultra3 split 1992-10-16 06:05:36 +00:00
John Gilmore 327f7197b0 * Makefile.in (VERSION): Roll to 4.6.8.
(OBS):  Put version.o first, so Makefile rebuild happens early.

* command.h:  Publicize prototype for not_just_help_class_command.
* command.c:  Remove proto.
* maint.c:  Mark "mt" as an abbrev, to avoid duplicated help
output.  Move "maint info" from class info to class maintenance,
and improve text.
* infrun.c:  Move "stop" to class_obscure, and give it a
function so it will not be seen as a global help topic.  FIXME,
it should be possible to set these attributes independently.

* core.c (core_command):  Make nicer error message for no core support.
1992-10-15 13:42:10 +00:00
K. Richard Pixley 7536558918 sony news native support 1992-10-15 06:47:31 +00:00
Stu Grossman 47b7176b22 * Makefile.in (HFILES): Add all nm-irix3.h, nm-irix4.h,
nm-sun2.h, nm-mips.h.
1992-10-10 00:32:07 +00:00
Stu Grossman a109657412 * Makefile.in (alldeps.mak): Add = sign after NATDEPFILES. 1992-10-09 23:01:11 +00:00
Stu Grossman e6c6137281 * Makefile.in (HFILES): Add nm-*.h files. 1992-10-09 01:29:17 +00:00
Stu Grossman 7c17335770 Remove duplicate core.c entry from SFILES_MAINDIR. 1992-10-09 00:49:57 +00:00
Stu Grossman 5413338bff * Makefile.in alldeps.mak depend: Rip out 29k/udi pending
resolution of copyright issues.
1992-10-08 20:54:37 +00:00
Stu Grossman 0da7012441 * Makefile.in (setup-to-dist): Remove -norecursion so that doc
subdir gets configured.

Bad John, bad...
1992-10-08 03:11:46 +00:00
Sean Eric Fagan 17cb669f38 Going back to old remote method for now. 1992-10-08 02:58:25 +00:00
Ken Raeburn 6a1f93f6a2 * Makefile.in (nindy.o): Define "STRIP" as pathname of strip program.
* nindy-share/nindy.c (coffstrip): Use that pathname, instead of searching for
a "bfd_strip" program.  Also, fixed up arguments passed to that program.

* tm-nindy960.h (ADDITIONAL_OPTIONS): Use "-ser" rather than "-r", which is now
used for something else.  Rewrite description of associated parameters to match
how gdb does it now.
(ADDITIONAL_OPTION_HELP): Fix message accordingly.

* m68k-pinsn.c (print_insn_arg): Handle new "`" operand type.
1992-10-08 02:09:28 +00:00
Sean Eric Fagan fabfaff466 Added remote-ser.c, which is a version of remote.c that uses the routines
in the ser-*.c files.  Needed for some systems, such as GO32, which don't
have stuff like <termios.h>.  Makefile.in now uses $(REMOTE), which defaults
to remote.o, instead of remote.o.
1992-10-06 23:03:51 +00:00
Stu Grossman aa1dea489b * Makefile.in: Re-install 29K/UDI stuff.
* remote-udi.c (udi_resume):  Clean up.
* (udi_wait):  Rewrite, leave out bugs.
* Add debugging code to print out all register fetches and stores.
* Straighten out target_ops.
* tm-29k.h (DUMMY_FRAME_RSIZE):  Pad out to doubleword.
1992-10-05 23:19:59 +00:00
K. Richard Pixley c9c2341230 Host/target/native split for sun4.
* Makefile.in (TSOBS): removed corelow.o.
* infptrace.c: included nat.h.
* nat-trash.h: temporary header file.  This should be removed once
  all hosts have the native/host/target split.
* configure.in: add a symlink from nat-trash.h to nat.h if no
  other nat file exists for this configuration.
* sparc-tdep.c: no longer include sys/ptrace.h.
* sparc-xdep.c: removed.  contents have been moved to nat-sparc.c.
* xm-sparc.h (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS): moved to
  nat-sun4os4.h.
* nat-sparc.c, nat-sun4os4.h: new files for sun4 native support.
* config/sun4os4.mh (XDEPFILES): moved infptrace.o and inftarg.o
  to NATDEPFILES.  removed sparc-xdep.o.
  (NATDEPFILES, NAT_FILE): new macros for native support.
1992-09-30 02:03:24 +00:00
John Gilmore b3d4dd73c3 * Makefile.in: Remove inftarg.[co], since it is now included via
config/*.mh files.
* config/*.mh:  Add inftarg.o and fork-child.o to all *.mh that
reference infptrace.o.  Add fork-child.o to all *.mh that
reference procfs.o.
1992-09-26 08:06:45 +00:00
John Gilmore 072b552ae1 * Makefile.in: Fix bug I introduced in merging Rich's change.
* infrun.c (child_create_inferior):  Use proceed() rather than
doing all the same stuff by hand.
1992-09-19 11:25:52 +00:00
John Gilmore d40309c72a * Makefile.in, configure.in: add support for files used only when
configured native, that is, when host == target.
1992-09-19 11:09:01 +00:00
John Gilmore 8c0950668f * Makefile.in (gdb-all.texi): Build in objdir, not $srcdir. 1992-09-19 10:47:09 +00:00
John Gilmore 22473f727a * Makefile.in (update-depend, update-alldeps): Split out of
setup-to-dist, for convenience in rebuilding the depend and
alldeps.mak files.
(assorted):  Update to catch straggler files when building gdb.tar.Z
1992-09-18 07:06:38 +00:00
Ken Raeburn 1e4f3c200a nindy bug fixes (function types) and opcode library inclusion 1992-09-08 22:33:31 +00:00
John Gilmore 6d7bfa9a44 Roll VERSION to 4.6.6. 1992-09-02 20:53:39 +00:00
Ian Lance Taylor b68b44fac8 Brought forward from p3:
Sun Aug 30 21:32:17 1992  Ian Lance Taylor  (ian@cygnus.com)

	* Makefile.in: map "gdb" through program_transform_name when
	installing.
1992-09-01 01:16:25 +00:00
Per Bothner 3402b1cff2 * cplus-dem.c, demangle.h: Moved to ../libiberty and ../include,
respectively, so same demangler can be used by other programs.
	* Makefile.in:  Remove demangler stuff.
	* Makefile.in (depend):  Pass -I../readline (needed for main.c).
	* demangle.c (_initialize_demangler):  Tell demangler which
	CPLUS_MARKER to assume.
1992-08-31 01:23:24 +00:00
John Gilmore ef131e1315 * configure.in (target configurations): Reformat into table.
Remove unsupp. Amigados host and target.  Ditto Mach 386 target.

* tm-altosgas.h, tm-i386v-g.h:  Remove ancient coff encap configs.
* config/{altosgas.mt, i386v-g.mt, i386v32-g.mt}:  Ditto.
* config/{i386sco.mt,i386v32.mt}:  Remove; identical to i386v.mt.
* config/{go32.mt,i960.mt}:  Remove; they only printed error msgs.
* config/nindy960.mt:  Remove useless MT_CFLAGS setting.
* config/i386aout.mt:  Use tm-i386v.h, not tm-i386v-g.h.

* Makefile.in (config-check):  Add command to check whether
configure.in is consistent with config/*.
1992-08-28 04:58:27 +00:00
Fred Fish a679650f37 * Makefile.in (VERSION): Bump to 4.6.3.
* dwarfread.c (scan_partial_symbols):  Skip over DIE's within
	function scopes when building partial symbol tables.
	* objfiles.c (open_existing_mapped_file):  Make it clear in
	warning message that out of date mapped files are ignored.
	* symtab.c (lookup_symtab_1, lookup_symbol):  Print compilation
	unit source file name in error message.
1992-08-11 05:29:41 +00:00
Stu Grossman cdaa27e9ae * Makefile.in (OTHERS): Add gcc.patch.
* partial-stab.h (N_SO):  Fix handling of redundant SOs (again...)
1992-07-16 20:40:36 +00:00
Fred Fish 781fa085cb Back out the energize patches that were inadvertently included in my
last check in.
1992-07-15 19:04:59 +00:00
Fred Fish 5e85287ea2 To avoid confusion, start off post release development versions at 4.6.1,
so the only 4.6 gdb executables are those built from the actual 4.6 release.
1992-07-15 06:11:24 +00:00
Stu Grossman 67ba524fe0 * Makefile.in (VERSION): 4.5.9. 1992-07-14 07:37:03 +00:00
Fred Fish 2dbde378c4 * Makefile.in (DEMANGLING_STYLE): New define to set default
demangling style for C++.  Defaults to "auto".
	* Makefile.in (DEMANGLE_OPTS):  Use DEMANGLING_STYLE.
	* Makefile.in (SFILES_MAINDIR):  Add demangle.c
	* Makefile.in (OBS):  Add demangle.o
	* cplus-dem.c (GNU_DEMANGLING, ARM_DEMANGLING, LUCID_DEMANGLING):
	Remove compile time decisions about demangling style and replace
	with runtime decisions using current_demangling_style.
	* cplus-dem.c (main):  Expand code included during building of
	standalone demangler to recognize demangling style options.
	* dbxread.c (demangle.h):  Include.
	* dbxread.c (read_ofile_symtab, process_one_symbol):  Set GNU C++
	demangling style if processing g++ code and current demangling style
	is auto (Note: this feature currently disabled.)
	* demangle.c:  New file, generic demangling control.
	* demangle.h (demangling_styles):  New enumeration to select one
	of several demangling styles.  Also define string names for each
	style.
	* demangle.h (set_demangling_style):  Add prototype.
	* dwarfread.c (demangle.h):  Include.
	* dwarfread.c (GPLUS_PRODUCER, LCC_PRODUCER, CFRONT_PRODUCER):
	New producer string prefixes to recognize.
	* dwarfread.c (handle_producer):  Consolidate actions for specific
	producers.  Set demangling style based on producer string if
	current style is auto.  (Note: this feature currently disabled.)
	* config/ncr3000.mt (DEMANGLE_OPTS):  Remove.
1992-07-14 02:13:12 +00:00
Stu Grossman e17e8e0e03 * Makefile.in (VERSION): Update to 4.5.8. 1992-07-09 00:24:24 +00:00
Fred Fish 0239d9b328 * maint.c: New file.
* Makefile.in (SFILES_MAINDIR):  Add new file maint.c.
	* Makefile.in (OBS):  Add new file maint.o.
	* defs.h (command_class):  Add class_maintenance.
	* defs.h (MAINTENANCE_CMDS):  Default to including maintenance
	commands.  Allow for them (and other nonessential parts of gdb)
	to be selectively left out under special circumstances.
	* gdbtypes.c (recursive_dump_type):  New function; supports
	maintenance print-type command.
	* gdbtypes.h (recursive_dump_type, maintenance_print_type):
	Add prototypes.
	* main.c (maintenancelist, maintenanceinfolist):  Add maintenance
	command lists.
	* main.c (initialize_cmd_lists):  Eliminate unnecessary casts on
	initializers.  Add initializations for setprintlist, showprintlist,
	setchecklist, showchecklist, maintenancelist, and maintenanceinfolist.
	* printcmd.c (maintenance_print_type):  New maintenance cmd.
	* valprint.c (setprintlist, showprintlist):  Move to main.c, as
	implied by comment that all cmd lists are owned by main.c.
	* infcmd.c (unsetlist):  Move to main.c, as implied by comment
	that all cmd lists are owned by main.c.
	* language.c (setchecklist, showchecklist):  Move to main.c, as
	implied by comment that all cmd lists are owned by main.c
	* breakpoint.c (enablelist, enablebreaklist, disablelist, cmdlist,
	deletelist):  Remove redundant declarations (also in gdbcmd.h).
	* symmisc.c (printsyms_command):  Now maintenance_print_symbols.
	* symmisc.c (printmsyms_command):  Now maintenance_print_msymbols.
	* symmisc.c (printpsyms_command):  Now maintenance_print_psymbols.
	* symmisc.c (printobjfiles_command):  Now maintenance_print_objfiles.
	* symtab.h (maintenance_print_symbols, maintenance_print_psymbols,
	maintenance_print_msymbols, maintenance_print_objfiles):
	Add prototypes.
	* symmisc.c (printsyms_command, printpsyms_command,
	printmsyms_command, printobjfiles_command):  Removed from
	_initialize_symmisc.
	* main.c (dump_me_command):  Moved to maint.c and renamed to
	maintenance_dump_me.
	* breakpoint.c (all_breakpoints_info):  Rename to
	maintenance_info_breakpoints.
	* breakpoint.c (_initialize_breakpoint):  Convert add_info of
	all_breakpoints_info to add maintenance_info_breakpoints to the
	maintenanceinfolist instead.
	main.c (initialize_main):  Set up maintenance class commands.
1992-07-06 00:22:57 +00:00
Fred Fish 91fef76b2a * Makefile.in (VERSION): Bump to 4.5.7.
* cplus-dem.c (demangle_args):  Validate index for previously
	seen type to guard against bogus values from malformed manglings.
	* valops.c (value_struct_elt_for_reference):  Guard against
	blindly using NULL return value from lookup_symbol.
1992-07-05 17:21:13 +00:00
John Gilmore 2670f34d21 Relocate symbols using an array of section_offsets, rather than a
single `addr' or `offset'.  This makes Solaris-2 support work, and
permits better VxWorks (and maybe xcoff) support later.  See ChangeLog.
1992-07-04 13:59:03 +00:00
Fred Fish 74fb91be98 * sparc-pinsn.c: Use <string.h> rather than "string.h", for
consistency with all other gdb files.
	* cadillac.c:  Use <string.h> rather than <strings.h>.
	* cadillac.c (kernel_dispatch):  Convert rindex usage to strrchr.
	* Makefile.in (MAKE):  Remove definition for consistency with
	other Makefile.in files and to fix problem with recursive makes.
1992-06-27 19:16:47 +00:00
Fred Fish e676a15f0b * Makefile.in (VERSION): Bump to 4.5.6.
* coffread.c (coff_end_symtab):  Cast 2nd arg of complain() to
	correct type.
	* defs.h (NORETURN):  Define away for Lucid compiler.
	* remote.c (remote_timer, remote_interrupt):  Signal handlers
	take one int arg.
	* ser-termios.c (serial_write, serial_close):  Return whatever
	value the write/close call returns, rather than falling off end.
	* inferior.h (PTRACE_ARG3_TYPE):  Third arg to ptrace is int on
	more systems than it is "char *".  Define PTRACE_ARG3_TYPE to
	default to int.
	* infptrace.c, hppabsd-xdep.c, hppahpux-xdep.c, i386-xdep.c,
	inferior.h (call_ptrace):  Use PTRACE_ARG3_TYPE to declare type
	of third arg.
	* a68v-xdep.c, arm-xdep.c, convex-xdep.c, hp300ux-xdep.c, infrun.c,
	m88k-xdep.c, mach386-xdep.c, mips-xdep.c, os68k-xdep.c, pyr-tdep.c,
	pyr-xdep.c, rs6000-xdep.c, sparc-xdep.c, sun3-xdep.c, sun386-xdep.c,
	symm-xdep.c, ultra3-xdep.c:  Use PTRACE_ARG3_TYPE to cast ptrace
	argument 3.
	* sparc-xdep.c, a68v-xdep.c (fetch_inferior_registers,
	store_inferior_registers): Supply missing fourth argument to
	ptrace().
1992-06-24 04:49:48 +00:00
Stu Grossman 9aa448333d * Makefile.in (c-exp.tab.c, m2-exp.tab.c): Filter out bogus extern
declarations of malloc/realloc/free that are inserted by some
versions of yacc.
* m2-exp.y:  Prevent conflicts with TRUE and FALSE tokens by
#undeffing them.
* xm-rs6000.h:  Declare malloc/realloc/free appropriately.  Yet
another decl of strdup (this really ought to come from libiberty.h!).
1992-06-19 22:39:44 +00:00
Stu Grossman b50a958c14 Add demangle.h to HFILES. 1992-06-16 23:15:05 +00:00
Stu Grossman 33cf356ae1 Unscrew this file... (Been up too long I think...) 1992-06-16 23:14:01 +00:00
Stu Grossman 93c6c6c190 One mo time... 1992-06-16 22:37:12 +00:00
Stu Grossman d941d8c341 Fixup install.all target so that install-texinfo can be removed properly by GDB
packaging procedures.
1992-06-16 22:36:08 +00:00
Stu Grossman 09fc8ec35a Remove 29k/UDI stuff for now. For the time being, the original Makefile is
called Makefile.in-29k-UDI.
1992-06-16 21:58:53 +00:00
Fred Fish 4c07f28d77 * Makefile.in (VERSION): Bump to 4.5.5.
* symtab.c (decode_line_1):  Until C++ support stabilizes, when
	C++ lookups fail, print possibly helpful hint about completion.
	* cplus-dem.c (demangle_signature):  Fix ARM style demangling
	for static data members.
	* dbxread.c (dbx_psymtab_to_symtab_1):  Fix prototype.
	* config/ncr3000.mh (INSTALL):  Don't use /usr/ucb/install,
	it's broken on ncr3000's.
1992-06-15 19:25:13 +00:00
John Gilmore d9915ebc47 * Makefile.in: Roll VERSION to 4.5.4.
* Makefile.in, config/*.mh, config/*.mt:  Rename TM_CFLAGS
to MT_CFLAGS, XM_CFLAGS to MH_CFLAGS to match file names.
* config/sun4os5.mh:  Add MH_CFLAGS=-xs to save debug info.
1992-06-09 05:10:15 +00:00
Fred Fish f9b5584c8e * Makefile.in (VERSION): Bump to 4.5.3
* Makefile.in (DEMANGLE_OPTS):  Remove obsolete -Dnounderscore
	* Makefile.in (demangle):  New target to create standalone
	demangler with same code and options as internal demangler.
	* cplus-dem.c:  Massive restructuring, rewriting, cleanups, etc
	to support ARM style and Lucid style demangling, improve
	maintainability, fix several demangling bugs.  More changes
	to follow.
	* defs.h (strstr):  Add ANSI compatible prototype.
	* valprint.c (type_print_1):  Demangle using ansi option.
	* config/ncr3000.mt (DEMANGLE_OPTS):  Remove -Dnounderscore.
1992-05-10 01:43:04 +00:00