Commit Graph

5158 Commits

Author SHA1 Message Date
Jim Kingdon
ccd87bf2b4 * objfiles.c (build_objfile_section_table): Cast return value
from obstack_finish.
1993-04-13 15:31:29 +00:00
Jim Kingdon
f36492275c * config/rs6000/tm-rs6000.h, rs6000-tdep.c: Move FRAME_CHAIN
to rs6000_frame_chain and deal with it if we're in a signal handler.
	(FRAME_SAVED_PC): Use rs6000_frame_chain.
1993-04-13 06:15:14 +00:00
Ken Raeburn
79f1d6a385 kill it dead 1993-04-13 05:32:52 +00:00
Rob Savoye
ce30725700 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path. 1993-04-12 22:27:06 +00:00
Rob Savoye
32a02b2a49 Make sure $GDB contains a real program. 1993-04-12 22:15:10 +00:00
Jim Kingdon
0a819c0429 * breakpoint.c (within_scope): New function.
(enable_breakpoint, watchpoint_check): Use it.
1993-04-12 21:22:46 +00:00
John Gilmore
d0b09ced76 Clean up old comments 1993-04-12 21:18:31 +00:00
Jim Kingdon
affc968624 source.c (openp): Handle "exec-file ./ls" correctly. 1993-04-12 18:21:25 +00:00
Jim Kingdon
0a62ff3608 (breakpoint_1): use wrap_here before "at" 1993-04-12 17:56:35 +00:00
Ian Lance Taylor
9a9a88c18f Fix typo, change appropriate instances of -2 to SERIAL_TIMEOUT, add
explicit != 0 tests, improve comments.
1993-04-10 20:25:54 +00:00
Ian Lance Taylor
da962137db * test-build.mk: Pass -with-gnu-as for known MIPS native and MIPS
targets, rather than for MIPS hosts.
1993-04-10 19:05:18 +00:00
Per Bothner
5a7c9cceb7 * ch-exp.y: Clean up lexing of identifiers and
reserved words.  (E.g. don't recognize FALSEXXX as the
	keyword FALSE followed by the identifier XXX.)
	Also, convert identifiers to lower case.
1993-04-10 08:35:32 +00:00
Stu Grossman
1724c671da * remote-mips.c, remote-monitor.c, remote-st2000.c: Convert to
new serial interface.
1993-04-09 22:55:00 +00:00
Stu Grossman
4febd10272 * remote.c (remote_open): Use SERIAL_OPEN instead of serial_open.
(putpkt, getpkt):  Use new return codes for SERIAL_READCHAR.
	* ser-go32.c:  Return -1 on most failures, 0 on most successes,
	and use new return codes for go32_readchar().
	* ser-unix.c:  Ditto.  Also, move error handling up to caller for
	SERIAL_SETBAUDRATE().
	* serial.c (serial_open):  Internal call, not SERIAL_OPEN to get
	to specific routine.
	(serial_close):  New routine to wrap around device close routine.
	serial.h:  Clean & document return values more clearly.
1993-04-09 22:14:04 +00:00
David D. Zuhn
6a42d18472 * configure.in: add comment for --with-x default values
* config.guess: handle Motorola Delta88 box for SVR3 and SVR4.
	* Makefile.in: add check-* targets for each of the directories in
	the tree.  Add a definition of RUNTEST that will use the one we
	just built, if it exists.  Pass this down via FLAGS_TO_PASS.
1993-04-09 20:58:44 +00:00
Jim Kingdon
944c1c2f31 * rs6000-pinsn.c (print_operand): Deal with no operand instructions.
* rs6000-pinsn.c (print_operand, case LI): Print condition register
	operand in decimal rather than wrong textual versions.
1993-04-09 20:54:02 +00:00
Jim Kingdon
a7a9a714e0 * rs6k.h: Clean up instructions for primary opcode 19 (many were
simply wrong, ics, rfi, & rfsvc were missing).
	Add "a" to opr_ext for "bb".  Doc fix.
1993-04-09 20:52:04 +00:00
Ian Lance Taylor
36c0a1ec22 * config/sun3.h: String argument to fprintf is const. 1993-04-09 18:50:36 +00:00
Ian Lance Taylor
545a27683e Please don't add declarations of random system functions to general
source files if you can possibly avoid it.  They inevitably fail on
some system somewhere.

	* objdump.c: Removed useless fprintf declaration.
1993-04-09 18:22:57 +00:00
Jim Kingdon
21486670ae * printcmd.c (_initialize_printcmd): Clean up docstring for "x"
(mention 't', remove false thing about 'g' only good with 'f').
1993-04-09 18:06:45 +00:00
Jim Kingdon
ddc6e6f785 * breakpoint.h: move "struct breakpoint" and friends to top of
file so that bpstat_find_breakpoint prototype works.
1993-04-09 17:51:40 +00:00
Ian Lance Taylor
032250cda4 * coff-mips.c: Renamed PAGE_SIZE to ROUND_SIZE, to avoid confusion
on systems which define PAGE_SIZE in <limits.h>.
1993-04-09 17:48:10 +00:00
Steve Chamberlain
55237887a6 Support for the H8/500 1993-04-09 17:46:13 +00:00
Jim Kingdon
a80c7bf67c * solib.c (struct so_list): Add bfd field.
(solib_map_sections): Leave bfd open and scratch_pathname allocated.
	Put the bfd in bfd field of the so_list.
	(clear_solib): Free bfd name and close_bfd on the bfd.
1993-04-09 17:43:59 +00:00
Ian Lance Taylor
55ff56bdb2 Fix typo. 1993-04-09 16:10:30 +00:00
Ian Lance Taylor
349f20de4e * config/obj-ecoff.h (ecoff_build_lineno): Make ilineMax in
symbolic header match cline in FDR; the native liinker seems to
	want that.
1993-04-09 16:08:29 +00:00
Per Bothner
47f366bc62 * valarith.c (value_subscript): Add COERCE_REF.
* ch-exp.y (operand_5):  We can generalize the 2nd operand
	of a string repetition ot 'literal' without ambiguity.
1993-04-09 07:52:50 +00:00
Jim Kingdon
cabd4da684 * breakpoint.h (struct bpstat): Remove momentary field.
Remove bpstat_momentary_breakpoint.  This was always kludgy
	and is no longer used.

	* breakpoint.h: Add enum bpstat_what.
	breakpoint.h (struct bpstat), breakpoint.c (bpstat_stop_status):
	stop and print fields of bpstat now per-breakpoint, not just
	one for the whole chain.
	breakpoint.{c,h} (bpstat_what): New function.
	breakpoint.h: Remove bpstat_stop and bpstat_should_print.
	infrun.c: Replace switch (stop_bpstat->breakpoint_at->type)
	with call to bpstat_what.
	README: Remove watchpoint/breakpoint bug from known bugs.

	* breakpoint.h: Prototype bpstat_find_breakpoint.
1993-04-09 03:17:45 +00:00
Fred Fish
dfbfbd9632 * symtab.c (find_methods, gdb_mangle_name): Note that functions
are g++ specific.
	* symtab.h (VTBL_FNADDR_OFFSET, OPNAME_PREFIX_P, VTBL_PREFIX_P,
	DESTRUCTOR_PREFIX_P):  Note that macros are g++ specific.
1993-04-08 23:05:16 +00:00
David D. Zuhn
5316696f0d as.texinfo lives in $(srcdir) 1993-04-08 22:53:01 +00:00
Roland Pesch
8ac18b21c3 doc/Makefile.in 1993-04-08 22:17:13 +00:00
Roland Pesch
8209a8c4c6 (as.dvi target) update for new source file structure supporting
texinfo conditionals
(as.ms, as.mm, as.me targets) update for new structure, and add note that
                these targets probably broken until texi2roff supports
                texinfo conditionals
(clean-dvi target) new; clean dvi files and side effects
(clean-info target) clean out only info files
(clean target)  run clean-dvi, clean-info
1993-04-08 22:14:53 +00:00
Ian Lance Taylor
d565311f22 * config/ho-decstatn.h: Define BROKEN_ASSERT if not __GNUC__,
rather than undefining know.
1993-04-08 19:55:44 +00:00
Ian Lance Taylor
ac91d2ca5b * i960-pinsn.c (tabent): Copied struct definition from
opcodes/i960-dis.c.
1993-04-08 19:47:54 +00:00
Ian Lance Taylor
bc2f76abd5 * mt-a29k, mt-ebmon29k, mt-os68k, mt-ose68000, mt-ose68k,
mt-vxworks68, mt-vxworks960: Removed obsolete, unused target
	Makefile fragment files.
1993-04-08 18:24:37 +00:00
Ian Lance Taylor
a649a160fe * configure.in: Removed obsolete references to bfd_target and
target_makefile_frag.
1993-04-08 18:24:03 +00:00
Peter Schauer
ca6a826d84 * symtab.h (DESTRUCTOR_PREFIX_P): New macro to check if physname
is a C++ destructor.
        * symtab.c (gdb_mangle_name): Use it.
        * symtab.c (find_methods): Do not add destructors to choice list
        for constructors.
        * symtab.c (decode_line_1): Make breakpoints on destructors work
        for gcc-2.x again.
1993-04-08 17:37:24 +00:00
Peter Schauer
98a445b0fa * trad-core.c (trad_unix_core_file_failing_signal): Use new macro
TRAD_UNIX_CORE_FILE_FAILING_SIGNAL to allow host files to specify
        the core file failing signal.
        * hosts/decstation.h (TRAD_UNIX_CORE_FILE_FAILING_SIGNAL): Define
        to supply the core file failing signal.
1993-04-08 17:30:28 +00:00
Ian Lance Taylor
e110c2a839 * build-all.mk: Set assorted targets for Q2.
* config.sub: Recognize z8k-sim and h8300-hms.
	* test-build.mk: Really don't pass host to configure.
	(HOLES): Added uname.
1993-04-08 16:26:01 +00:00
Rob Savoye
a54a5a9ebc Rename to util-defs.exp and turn into generic procedures. 1993-04-08 05:26:10 +00:00
Rob Savoye
3e7f73db77 * Makefile.in: Changed check target to use DejaGnu. 1993-04-08 05:23:39 +00:00
Rob Savoye
6edcdd0ddb All use new util_test proc. 1993-04-08 05:16:13 +00:00
Rob Savoye
c50fa6b3c6 Replaced by just $(target_os) name. Use new util_test proc. 1993-04-08 05:15:20 +00:00
Rob Savoye
c3361cd3ca Changed "make check" target to use DejaGnu. 1993-04-08 05:12:06 +00:00
Rob Savoye
e57072116f Get rid of all the links. 1993-04-08 05:10:49 +00:00
Stu Grossman
b83bf6b370 * ser-go32.c: Make it use serial port name.
* go32-xdep.c:  Put in def for strlwr, needed by dir.o in go32 libc.
1993-04-08 04:12:56 +00:00
Roland Pesch
0742a6fded Record abolition of last m4 conditional markup holdout manual. 1993-04-08 03:20:44 +00:00
Roland Pesch
730ad1a786 Converted to Texinfo conditionals; no longer need M4.
Checked makeinfo output for "all" config; other old M4 configs now sanitized
out, will be replaced by .texi configs as each config is tested.
1993-04-08 03:13:41 +00:00
Stu Grossman
40b56283bc * infcmd.c (read_pc): Make sure that we read PC_REGNUM when not
in a system call!
1993-04-08 01:45:35 +00:00
Stu Grossman
41faa7759d * configure.in: Only configure sparclite subdir when target_cpu
is sparclite.
1993-04-07 22:53:49 +00:00