Commit Graph

7294 Commits

Author SHA1 Message Date
Jim Kingdon
55fea07b55 * remote.c: Define remote_debug to 0 and #if 0 baud_rate. Temporary
hack so this file compiles again.

	* remote-utils.c (gr_multi_scan): Cast return value from alloca.
	(gr_multi_scan): #if 0 never-reached return(-1).
1993-09-14 01:08:22 +00:00
Jim Kingdon
02ff0cd370 add comment 1993-09-13 23:06:17 +00:00
Jim Kingdon
66eca5ee10 add som.c and som.h 1993-09-13 22:51:51 +00:00
K. Richard Pixley
c6f494e8be collect some remote things into remote-utils 1993-09-13 22:12:16 +00:00
Ian Lance Taylor
604633aeca * subsegs.c: Renamed non-BFD_ASSEMBLER subseg_new to subseg_set.
Wrote non-BFD_ASSEMBLER subseg_new.  Now subseg_new always takes a
	section name, and subseg_set always takes a segT.  Changed all
	callers as appropriate.
	* config/obj-coffbfd.c 	(change_to_section): Renamed to
	obj_coff_add_segment.  Corrected.  Made callers use subseg_new.
	* config/obj-coffbfd.h (obj_segment_name, obj_add_segment):
	Define.

Also some more gcc warning removal.
1993-09-13 21:32:07 +00:00
Jim Kingdon
37c99ddb4e * inferior.h, infrun.c, thread.c, infcmd.c: Remove all uses of
pc_changed.  If it was ever set to a non-zero value, it was before
	GDB 2.8.  It doesn't seem to have any useful function.
1993-09-13 20:54:00 +00:00
David Edelsohn
54e3e909d2 config/tc-sparc.h (LOCAL_LABEL): Remove test for name[0] == 'L'. 1993-09-13 20:16:03 +00:00
Jim Kingdon
e3c16900cd * defs.h: Don't define NORETURN (see comment). 1993-09-13 20:13:03 +00:00
K. Richard Pixley
65ae7bfa78 white space change to avoid nested comment 1993-09-13 19:52:23 +00:00
K. Richard Pixley
becbe1c328 do not echo recursion lines 1993-09-13 19:49:33 +00:00
Ian Lance Taylor
57fbd6b0c0 * m68k.h (two): Protect second argument with parentheses. 1993-09-13 19:47:41 +00:00
David D. Zuhn
877a53990d use pagas instead of gas 1993-09-13 19:33:54 +00:00
David D. Zuhn
36b41837d6 use mt-hppa, use 'gas ' instead of 'gas' 1993-09-13 19:29:54 +00:00
David Edelsohn
d71cbf2a83 Add EMUL=h8300h. 1993-09-12 23:12:31 +00:00
David Edelsohn
1bff7c388a * ldmain.c (main): Call set_scripts_dir after argv has been processed. 1993-09-12 23:07:40 +00:00
Jim Kingdon
4793011a34 * hosts/i386sco.h: Define a bunch of stuff for core files.
* sco-core.c: Remove, replace by trad-core.c.
	* trad-core.c: If HOST_STACK_START_ADDR is defined, use it.
	* config/i386sco.mh: Use trad-core not sco-core.
	* hosts/i386isc.h, config/i386isc.mh: Remove.
	* configure.host: Use i386sco for isc.
	* config/i386-sco.mt: Remove, identical to i386-coff.mt.
	* config.bfd: Use i386-coff not i386-sco.
1993-09-12 05:09:08 +00:00
Jim Kingdon
11e7b867f1 * gdb.texinfo: Clarify how well it works with Fortran. 1993-09-12 05:00:53 +00:00
Jim Kingdon
d36bdf4005 * config.bfd: Recognize i[34]86-*-solaris2* specifically rather
than using *-*-solaris2* (i486-unknown-solaris2 is i386-elf, not
	i486-elf which doesn't exist).
1993-09-12 01:16:45 +00:00
Jim Kingdon
00dff7538a * m88k-nat.c (fill_gregset): Set r31 and sfip. 1993-09-11 17:48:47 +00:00
Jim Kingdon
9d719a9cf9 * stabs.texinfo (Methods): Fix typo. 1993-09-11 16:36:01 +00:00
Ian Lance Taylor
a938b1d6ba More gcc lint with harsher warning options. 1993-09-11 00:15:39 +00:00
Ian Lance Taylor
d6a9983874 Snapshot of current i386 NLM debugging stub. 1993-09-10 23:25:40 +00:00
Ian Lance Taylor
bccf35217e * coffswap.h (coff_swap_aouthdr_out): For ALPHAECOFF, force
padding field to zero.
1993-09-10 21:54:32 +00:00
Ian Lance Taylor
eb9fa516b1 * alpha.c (external_aouthdr): Need four bytes of padding between
vstamp and tsize.
1993-09-10 21:41:41 +00:00
David D. Zuhn
d0b01a5d97 add support for gash 1993-09-10 21:36:45 +00:00
David D. Zuhn
1f36241228 add netbsd variants 1993-09-10 18:25:06 +00:00
Rob Savoye
3f677d9e6e Added gdb_exit to call default_gdb_exit. 1993-09-10 17:35:11 +00:00
Ian Lance Taylor
1964686f00 * config.bfd (i[34]86-*-netbsd*): New target; use i386-netbsd.
* configure.in: Remove bogus netbsd386 handling.
1993-09-10 17:10:13 +00:00
Ian Lance Taylor
5f9b59542f * coff-mips.c: Don't warn about overflow for MIPS_R_JMPADDR reloc.
Correct overflow detection requires matching the upper four bits
	of the destination against the PC.
1993-09-10 17:00:49 +00:00
Jeffrey Wheat
67d9694933 Added CXXFLAGS to compile stage in ld.cdtest/cdtest.exp 1993-09-10 17:00:19 +00:00
Jeffrey Wheat
108f145ba4 Changed CXX back to g++. Using ../gcc/xgcc breaks because of <assert.h> 1993-09-10 16:53:33 +00:00
Jeffrey Wheat
8a6665aef8 Changed CXX back to g++. ../gcc/xgcc breaks the cdtest because of <assert.h> 1993-09-10 16:50:52 +00:00
Jeffrey Wheat
3a9149a7b7 Fixed RUNTEST* CXX CXXFLAGS macros and check rule. 1993-09-10 16:37:47 +00:00
Ian Lance Taylor
58d4951d00 gcc lint. See ChangeLog for details. Also:
* config/obj-elf.h (S_SET_SIZE): Actually set the size.
1993-09-10 16:01:07 +00:00
David MacKenzie
941ffd1960 * Makefile.in (install): Don't put strings in tooldir/bin. 1993-09-10 15:13:05 +00:00
David MacKenzie
cbb5c2d133 * Makefile.in (TAGS): Use shell wildcards. 1993-09-10 14:29:45 +00:00
David MacKenzie
7640fe7108 fix a few typos 1993-09-10 13:36:07 +00:00
Jason Merrill
98e67c34ef (chmodcmd): Set file to mode 755 by default (should also do default
chgrp and chown, but I don't feel like dealing with that now)
1993-09-10 00:04:38 +00:00
Jason Merrill
241700396d * install.sh: Support -d option (in the manner of SunOS 4 install,
as it is more deterministic than that of GNU install)
1993-09-09 23:50:23 +00:00
Ken Raeburn
892a3ff190 gcc -Wall cleanups from Utah 1993-09-09 21:53:03 +00:00
Ian Lance Taylor
fc0d7441be * i386.h (i386_optab): Properly bracket initializers. 1993-09-09 21:43:54 +00:00
Ken Raeburn
ffe2639825 * configure.in: Make 64-bit stuff work with "--with-targets=all". 1993-09-09 21:03:20 +00:00
Ian Lance Taylor
abdd08c97c * read.c (get_stab_string_offset, s_stab_generic): If
BFD_ASSEMBLER, call subseg_set rather than subseg_new.
1993-09-09 19:09:23 +00:00
Jim Kingdon
f46ffb9ebd More gcc lint:
* exec.c (ignore): Return 0.
	* stack.c (return_command): Fetch lazy value directly, not via
	VALUE_CONTENTS, to avoid "value computed is not used".
	* inflow.c (new_tty): Move osigttou inside #if.

	* remote.c (remote_fetch_registers): If remote reply is short, just
	note that fact and keep going (reading extra registers as all bits 0).
	(remote_store_registers): Send number of registers that were found
	by remote_fetch_registers.
	* m68k-tdep.c, config/m68k/tm-m68k.h, config/m68k/tm-*.h: Remove
	HAVE_68881.  Define CANNOT_STORE_REGISTER if ptrace() can't write
	floating registers.
	* config/m68k/{tm-m68k-nofp.h,m68k-nofp.mt,tm-m68k-fp.h,m68k-fp.mt}:
	Remove, replaced by {tm-m68k-em.h,m68k-em.mt}.
	* Makefile.in, configure.in: Change accordingly.
1993-09-09 18:33:44 +00:00
Jim Kingdon
5c303f64ca * remote-udi.c (udi_wait, case UDIStdinNeeded): Use a loop calling
getchar() (terminated only on '\n') instead of scanf.  Send the
	'\n' which terminates it to the remote system.
1993-09-09 17:58:46 +00:00
Jim Kingdon
fc7ed03957 * config/m68k/{tm-m68k-nofp.h,m68k-nofp.mt}: Remove.
* config/m68k/{tm-m68k-fp.h,m68k-fp.mt}: Rename to
	{tm-m68k-em.h,m68k-em.mt}.
1993-09-09 16:09:37 +00:00
Peter Schauer
da398610b5 * mipsread.c (cross_ref): Allow SGI extended symbol types as cross
reference targets.
	* symmisc.c (print_symbol):  Use TYP_TAG_NAME not TYPE_NAME to avoid
	printing of identities.
1993-09-09 12:02:59 +00:00
Rob Savoye
4adf693011 Made cross testing work better. 1993-09-09 05:12:46 +00:00
Jim Kingdon
3ff8a96f44 * gdb.texinfo: Clarify how well it works with Fortran. 1993-09-09 01:53:36 +00:00
Jim Kingdon
93bb0afaf6 * breakpoint.c (breakpoint_1): Deal with step resume breakpoint. 1993-09-09 00:33:22 +00:00