Commit graph

311 commits

Author SHA1 Message Date
Jim Kingdon
662f3b3f1f * config/mips/littlemips64.mt: Rename to mipsel64.mt for 14
character file names.
	Makefile.in: Add Kung's new mips64 files.
1994-02-18 15:42:48 +00:00
Jim Kingdon
01cd70b985 * config/mips/mipsm3.mh, config/i386/i386m3.mh,
config/ns32k/ns32km3.mh: Define NAT_FILE.
	* config/nm-m3.h: Change guard from _OS_MACH3_H_ and _OS_MACH3_H
	(it was inconsistent and namespace-wrong) to NM_M3_H.
	* m3-nat.c (mach_really_wait): Change parameter name to ourstatus.
	(m3_open): New function.
	(m3_ops): Use it.
	* TODO: Update Mach section.

	* Makefile.in: Remove "rapp" stuff; it is superseded by gdbserver.
1994-02-06 22:38:28 +00:00
Fred Fish
4901e77de7 * Makefile.in (VERSION): Bump to 4.12.1
* NEWS, README:  Update to match 4.12 release.
1994-02-04 01:37:20 +00:00
Jim Kingdon
7a78db151e * Makefile.in: Don't set M_INSTALL and M_UNINSTALL. These variables
are not used anywhere (a 5 Oct 1993 change removed the uses).
1994-01-29 17:17:28 +00:00
Jim Kingdon
a28d16d380 * Makefile.in (version.c), main.c (print_gdb_version): Use
host_alias and target_alias, not host_canonical and
	target_canonical, to print configuration.
1994-01-27 20:19:13 +00:00
Fred Fish
a2608ea10e * Makefile.in (realclean): Remove info files per make-stds.texi. 1994-01-21 22:31:50 +00:00
Fred Fish
0e7da49c55 * Makefile.in (ALLPARAM): Change irix5.h to nm-irix5.h. 1994-01-17 21:36:29 +00:00
Jim Kingdon
623d738026 * Makefile.in (init.c): Add comment explaining formatting conventions. 1994-01-17 00:58:29 +00:00
Jim Kingdon
0791922161 * Makefile.in (ALLCONFIG, ALLPARAM, ALLDEPFILES, HFILES_NO_SRCDIR):
Add various files which were added to GDB recently.
1994-01-16 22:45:13 +00:00
Jim Kingdon
b76dcd4b68 * Makefile.in: Add mostlyclean target. 1994-01-16 17:47:47 +00:00
Jim Kingdon
d7a5ff3c82 * Version 4.11.4. 1994-01-16 03:43:22 +00:00
Jim Kingdon
f4f0d17487 * valops.c (call_function_by_hand, push_word), defs.h (push_word),
convex-xdep.c, m88k-nat.c, i386m3-nat.c, mips-tdep.c, mipsm3-nat.c,
	ns32km3-nat.c, remote-bug.c, m88k-tdep.c, remote-hms.c, remote-mips.c,
	config/gould/tm-np1.h, hppa-tdep.c (hppa_fix_call_dummy), remote-vx.c:
	Use REGISTER_SIZE, unsigned LONGEST, and
	{store,extract}_unsigned_integer, instead of sizeof
	(REGISTER_TYPE) and REGISTER_TYPE.
	* All tm.h files: Change REGISTER_TYPE to REGISTER_SIZE.
	* hppa-tdep.c (pa_print_fp_reg): Remove unused variable val.

	* Makefile.in (ALLDEPFILES): Remove i386ly-nat.c and m68kly-nat.c.
	Add lynx-nat.c.
1993-12-26 18:10:22 +00:00
Jim Kingdon
89ce0c8f50 gcc -Wall lint:
* thread.c: Include "gdbcmd.h" and <ctype.h>.
	* Makefile.in: Update dependency.
	* thread.c (thread_command): Remove unused variable p.
	* values.c (unpack_double): Use len instead of TYPE_LENGTH (type).
	* valprint.c (print_floating): Correctly check sign bit now that
	we are using unsigned arithmetic.
	* symtab.c (find_pc_line_range): Remove unused variables exact_match,
	ind, and l.
1993-11-10 15:58:48 +00:00
Jim Kingdon
7fb951392a * Makefile.in (init.c): Add udi2go32.o to list of files that we
should not try to search for _initialize_* functions.

	* remote-udi.c (udi_wait): Change UDIGdb_StdoutReady back to
	UDIStdoutReady.  It accidentally got changed on 24 Oct 93 when
	stdout was changed to gdb_stdout.  Likewise for UDIGetStdout,
	UDIStderrReady, and UDIGetStderr.
1993-11-10 01:34:39 +00:00
Jeffrey Wheat
99c411063e RUNTEST = test for existance of a runtest in the source tree first. 1993-11-09 01:42:17 +00:00
Jim Kingdon
de759c833b * Makefile.in: Remove unused variable GCC. Remove "#CC=cc" line
which doesn't really relate to anything.
1993-11-08 23:18:46 +00:00
Jim Kingdon
058470e1dc * Makefile.in (CC_FOR_TARGET): Test for existence of gcc/xgcc, not
for existence of gcc/Makefile.
1993-11-08 23:12:38 +00:00
Jim Kingdon
f7ae8a41b7 * Version 4.11.2. 1993-11-05 20:54:42 +00:00
Jim Kingdon
e2507f812e * Makefile.in (init.c): Don't call sed if filename is empty. 1993-11-05 13:59:31 +00:00
Jim Kingdon
021a5c6b01 Merge changes for dos x udi:
* Makefile.in (udi2go32.o): add rule to build this file
	* 29k-share/udi/udi2go32.c: new file
	* config/a29k/a29k-udi.mt: add udi2go32.o
	* 29k-share/udi/{udr.c, udip2soc.c}: #ifdef out the entire file
	  if __GO32__ is defined.  What a hack.
1993-11-03 21:33:13 +00:00
Jim Kingdon
3fd4045fdb * paread.c (pa_symtab_read): Change comments to say ignoring
labels really should be handled by the assembler/compiler.

	* Makefile.in: Add -O to CXXFLAGS.

	* TODO: Expand comments on fast watchpoints.
1993-11-01 20:41:35 +00:00
Fred Fish
34ec93be19 * Makefile.in (VERSION): Bump to 4.11.1 after release and cvs
tagging.
1993-10-29 07:42:30 +00:00
Jim Kingdon
6a6fe3dbde gcc -Wall lint:
* nlmread.c: Include stabsread.h.
	* Makefile.in: Update dependencies.
1993-10-26 22:16:07 +00:00
Jim Kingdon
dfbb7762a5 gcc -Wall lint:
* breakpoint.c: Include thread.h.
	* coffread.c: Include stabsread.h.
	* Makefile.in: Update dependencies.
	* breakpoint.c (mention): Add bp_call_dummy to switch.
	* symmisc.c (dump_symtab): Use %d not %ld for line number.
1993-10-25 20:20:15 +00:00
Fred Fish
c8bd627f9f * Makefile.in (ALLPARAM): Add config/m88k/xm-delta88v4.h 1993-10-22 13:24:55 +00:00
Jim Kingdon
976bb0be03 * Makefile.in (init.c): Generate using the source, not munch. This
cleans up all kinds of hassles (which nm to use in munch, etc).  The
	new formatting conventions (mostly already followed) are that
	the name of the _initialize_* routines must start in column zero,
	and must not be inside #if.
	* munch: Removed.
	* Makefile.in: Remove references to munch.
	* serial.c, remote.c, infptrace.c, maint.c, convex-tdep.c,
	alpha-tdep.c, hp300ux-nat.c, hppab-nat.c, osfsolib.c, remote-es.c,
	procfs.c, remote-udi.c, ser-go32.c, ultra3-xdep.c, sh-tdep.c,
	i960-tdep.c, hppa-tdep.c, h8500-tdep.c, dpx2-nat.c, delta68-nat.c,
	z8k-tdep.c: Make sure the above conventions are followed.  Make
	sure they are all declared as returning void.  Clean up
	miscellaneous comments and such.
1993-10-22 05:55:58 +00:00
Jim Kingdon
b8615faeec * Makefile.in: Update dependencies to reflect all these new includes. 1993-10-22 01:49:27 +00:00
Jim Kingdon
100f92e2de * Makefile.in (c-exp.tab.o): Remove notice about shift/reduce conflicts
which no longer occur.

	gcc -Wall lint:
	* findvar.c (symbol_read_needs_frame), corelow.c (ignore),
	inflow.c (gdb_has_a_terminal): Make sure to return a value.
	* regex.h: Declare re_set_syntax.
	* printcmd.c: Include valprint.h.
	* infcmd.c, exec.c, maint.c, core.c: Include language.h.
	* maint.c: Include expression.h.
	* infrun.c, fork-child.c, corelow.c, inflow.c: Include thread.h.
	* inftarg.c: Include command.h.
	* coredep.c: Include value.h.
	* c-exp.y, m2-exp.y, ch-exp.y: Include bfd.h, symfile.h and objfiles.h.
	* ch-typeprint.c: Include typeprint.h.
	* ch-valprint.c: Include c-lang.h.
	* nlmread.c: Include buildsym.h.
	* environ.c: Include gdbcore.h.  Only include defs.h once.
	(set_in_environ): Cast const char * to char * when passing to
	set_gnutarget.
	Remove unused variables:
	* printcmd.c (printf_command): args_to_vprintf.
	* coffread.c (coff_symfile_init): strsection.
	Move variables to within the #ifdefs where they are used:
	* symtab.c (gdb_mangle_name): opname.
	* inftarg.c (child_attach): pid and exec_file.
	* inftarg.c (child_detach): siggnal.
	* objfiles.c (allocate_objfile): mapto, md, and fd.
	* objfiles.c (free_objfile): mmfd.
	* infrun.c (wait_for_inferior): Include BPSTAT_WHAT_LAST in switch.
	* infrun.c (wait_for_inferior): Remove unused same_pid label.
	* inferior.h: Declare set_sigint_trap and clear_sigint_trap.
	* parser-defs.h: Declare write_exp_elt_block.
	* stabsread.h: Declare elfstab_offset_sections and
	coffstab_build_psymtabs.
1993-10-21 20:41:50 +00:00
Jim Kingdon
b8c0ec2737 * Makefile.in (INTERNAL_LDFLAGS): New macro. The new part is
that we use CFLAGS and PROFILE_CFLAGS to link.
	(gdb, rapp, kdb): Use INTERNAL_LDFLAGS instead of
	LDFLAGS and/or GLOBAL_CFLAGS.
1993-10-20 17:15:45 +00:00
Stu Grossman
36b1d5287c * Makefile.in: Add $(srcdir) to all refs to 29k-share
directories.
1993-10-20 16:51:41 +00:00
Fred Fish
ed89c3d938 * Makefile.in (ALLCONFIG): Add config/i386/{i386m3.mh, i386m3.mt,
i386/i386mk.mh i386/i386mk.mt}, config/mips/{mipsm3.mh,
	mipsm3.mt}, config/ns32k/{ns32km3.mh, ns32m3.mt}
	* Makefile.in (remote_utils_h):  Add remote-sim.h
	* Makefile.in (NONSRC):  Add i386-nlmstub.c
	* Makefile.in (HFILES):  Add coff-solib.h
1993-10-20 00:30:09 +00:00
Jim Kingdon
615289ece9 * config/rs6000/rs6000.mh (TERMCAP): Define to -lcurses.
* Makefile.in: Define CXXFLAGS.
1993-10-19 17:20:53 +00:00
Fred Fish
0ac1a039f4 * Makefile.in (ALLPARAM): Add config/m88k/{nm-delta88v4.h,
tm-delta88v4.h, xm-dgux.h}.
	* Makefile.in (ALLCONFIG):  Add config/m88k/{delta88v4.mh,
	delta88v4.mt}.
1993-10-19 13:27:55 +00:00
Jim Kingdon
adee89e8a2 * c-exp.y: Remove never-used (because of shift/reduce conflicts)
rules for pointers to members.
	* Makefile.in: Remove notice about expected shift/reduce conflicts.
1993-10-18 18:01:51 +00:00
Fred Fish
cf4d863151 Bump version to 4.10.3 in main trunk after branch for gdb 4.11 1993-10-17 20:08:10 +00:00
Jim Kingdon
5d76c8e662 * fork-child.c (fork_inferior), remote-eb.c (eb_create_inferior),
remote-mon.c (monitor_create_inferior), remote-nindy.c
	(nindy_create_inferior), remote-st.c (st2000_create_inferior),
	remote-vx.c (vx_create_inferior): Remove CREATE_INFERIOR_HOOK; it
	is replaced by init_trace_fun.
	* config/convex/xm-convex.h, convex-xdep.c: Add comments explaining
	how to do without CREATE_INFERIOR_HOOK for whoever fixes the Convex
	port.

	* Makefile.in: Add Mach files to ALLDEPFILES, etc.
	* m3-nat.c: Clean up more hair--message(), cprocs.
	* configure.in: Recognize Mach targets and hosts.
	* config/ns32k/tm-umax.h: Add some #ifndef's so tm-ns32km3.h can
	include this file.
	* Mach headers in config/*/tm-*.h: Fix includes to match correct
	locations of files.
1993-10-15 04:26:06 +00:00
Jim Kingdon
f5ebb9ea78 * Makefile.in (REGEX, REGEX1): Always use our own version of
regex.c to be consistent across hosts.
	* source.c (_initialize_source):  Initialize regex to use grep
	style syntax as an approximation to POSIX basic regex syntax.
1993-10-07 11:03:35 +00:00
Jim Kingdon
cfeed64ee6 * Makefile.in (install, uninstall): Remove $$n.1 stuff; I don't
understand what it is trying to do, but I suspect it's not doing
	it.

	* config/ns32k/merlin.mh: Add comment about M_INSTALL.
	* config/m88k/{delta88.mh,delta88v4.mh}: Remove M_INSTALL and
	M_UNINSTALL; it tries to install a non-existent file gdb.z.
	* Makefile.in: Remove M_INSTALL stuff; the above were the only uses.
1993-10-05 21:25:10 +00:00
Peter Schauer
cef4c2e7a5 Changes to support alpha OSF/1 in native mode.
* alpha-nat.c, alpha-tdep.c, config/alpha/alpha-osf1.mt,
	  config/alpha/nm-alpha.h, config/alpha/tm-alpha.h, osfsolib.c:
	New files.
	* Makefile.in:  Add new files and dependencies.
	* configure.in:  Add alpha target.
	* config/alpha/alpha-osf1.mh (NATDEPFILES):  Add osfsolib.o
	* config/alpha/alpha-osf1.mh (MH_CFLAGS):  Remove, we can handle
	shared libraries now.
	* config/alpha/xm-alpha.h:  Cleanup, get MAKEVA_* defines right.

	* defs.h (CORE_ADDR):  Make its type overridable via CORE_ADDR_TYPE,
	provide `unsigned int' default.
	* breakpoint.c (breakpoint_auto_delete):  Delete only if we really
	stopped for the breakpoint.
	* stabsread.c, stabsread.h (define_symbol):  Change valu parameter
	to a CORE_ADDR.
	* stabsread.c (read_range_type):  Handle the case where the lower
	bound overflows and the upper doesn't and the range is legal.
	* infrun.c (resume):  Do not step a breakpoint instruction if
	CANNOT_STEP_BREAKPOINT is defined.

	* inferior.h (CALL_DUMMY_LOCATION):  New variant AT_ENTRY_POINT.
	Now that we have the bp_call_dummy breakpoint the call dummy code
	is no longer needed. PUSH_DUMMY_FRAME, PUSH_ARGUMENTS and
	FIX_CALL_DUMMY can be used to set up everything for the dummy.
	The breakpoint for the dummy is set at the entry point and thats it.
	* blockframe.c (inside_entry_file, inside_entry_func):  Do not stop
	backtraces if pc is in the call dummy at the entry point.
	* infcmd.c (run_stack_dummy):  Handle AT_ENTRY_POINT case. Use
	the expected breakpoint pc when setting up the frame for
	set_momentary_breakpoint.
	* symfile.c (entry_point_address):  New function for AT_ENTRY_POINT
	support.
	* valops.c (call_function_by_hand):  Handle AT_ENTRY_POINT case.
1993-10-05 19:44:57 +00:00
Jim Kingdon
a834c083ac * Makefile.in, coff-solib.c, coff-solib.h, i386lynx.mt,
tm-i386lynx.h:  Add support for SVR3 COFF shared libraries.
1993-10-03 01:53:35 +00:00
Stu Grossman
ead291d4c3 * Makefile.in, coff-solib.c, coff-solib.h, i386lynx.mt,
tm-i386lynx.h:  Add support for SVR3 COFF shared libraries.
1993-10-02 23:09:51 +00:00
K. Richard Pixley
b70b042d02 fix serial.h inclusion 1993-09-14 20:08:23 +00:00
Jim Kingdon
899931b638 * Makefile.in (a29k-tdep.o): Depend on $(defs_h).
* config/a29k/tm-a29k.h (SAVED_PC_AFTER_CALL): Use gr122 not lr0
	if this	is a transparent procedure.
1993-09-14 16:22:07 +00:00
K. Richard Pixley
c6f494e8be collect some remote things into remote-utils 1993-09-13 22:12:16 +00:00
Jim Kingdon
bf6608851f * Makefile.in (mipsread.o): Depend on $(bfd_h). 1993-09-08 15:48:03 +00:00
K. Richard Pixley
d538b510a0 break dcache code out of remote.c 1993-09-01 00:43:09 +00:00
K. Richard Pixley
755892d6ff break dcache code out of remote-bug.c 1993-08-31 22:13:29 +00:00
Jim Kingdon
c033ec179a * Rename files for 14-character limits:
gdbserver/remote-gutils.c -> gdbserver/utils.c
	gdbserver/remote-inflow.c -> gdbserver/low-lynx.c
	gdbserver/remote-inflow-sparc.c -> gdbserver/low-sparc.c
	gdbserver/remote-server.c -> gdbserver/server.c
	remote-monitor.c -> remote-mon.c
	* Makefile.in, gdbserver/Makefile.in, config/m68k/monitor.mt:
	Change accordingly.
	* gdbserver/Makefile.in: Remove more junk inherited from gdb Makefile.
1993-08-27 16:59:46 +00:00
David D. Zuhn
a06f0c9f27 bump VERSION to 4.10.2 1993-08-27 02:37:22 +00:00
Fred Fish
5069d77051 * Makefile.in (VERSION): Bump to 4.10.1 after release and cvs
tagging.
1993-08-13 17:17:16 +00:00