Commit Graph

5091 Commits

Author SHA1 Message Date
J.T. Conklin
a64bbacfc8 * configure.in (alpha-*-netware*): Removed configuration. 1995-03-15 22:36:46 +00:00
J.T. Conklin
4c659894ed Reworded comments. gdbserve.nlm is no longer NetWare/i386 specific. 1995-03-15 22:32:57 +00:00
J.T. Conklin
f919f30267 * nlmstub.def: Removed, this was moved to nlm/gdbserve.def
long ago.

* config/alpha/{alpha-nw.mt, gdbserve.mt, tm-alphanw.h}: Removed.
* nlm/{README-ALPHA-NETWARE, aio.h, alpha-io.S, alpha-regdef.h,
  alpha.c, alpha.h, altdebug.h}: Removed.
1995-03-15 22:00:30 +00:00
J.T. Conklin
68c1bc9ca1 * nlmstub.def: Removed, this was moved to nlm/gdbserve.def
long ago.

* config/alpha/{alpha-nw.mt, gdbserve.mt, tm-alphanw.h}: Removed.
* nlm/{README-ALPHA-NETWARE, aio.h, alpha-io.S, alpha-regdef.h,
  alpha.c, alpha.h, altdebug.h}: Removed.
1995-03-15 21:24:56 +00:00
Jim Kingdon
a59f104ed8 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
printing of '\'' (which is what the comment says we are testing,
	even though we were not), not '''.
	(test_integer_literals_rejected): Test that printing ''' is an error.

	* gdb.fortran/exprs.exp, gdb.fortran/types.exp,
	gdb.chill/chexp.exp, gdb.base/printcmds.exp,
	gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
	gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
	Use gdb_test not test_print_accept.
	* lib/gdb.exp: Remove test_print_accept.
1995-03-15 21:23:14 +00:00
J.T. Conklin
b1dda26e87 * nlm/gdbserve.c (main): Add support for processing BOARD=
argument, deprecate NODE=.
1995-03-15 21:07:10 +00:00
Jim Kingdon
961b8ebd27 * c-exp.y (yylex): Make an empty character constant an error. 1995-03-15 19:18:26 +00:00
Jim Kingdon
82f14c545b * gdb.base/signals.exp (signal_tests_1): Make pass message
consistent with fail message.
1995-03-15 16:09:58 +00:00
Jim Kingdon
67f356336f * gdb.base/whatis.exp: Remove xfails for printing char vs.
unsigned char; the bug (PR 1821) is fixed.

	* gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.

	* gdb.base/scope.exp (test_at_localscopes): Call pass for
	successful tests--makes xfailing them work right.
1995-03-15 12:23:45 +00:00
Jim Kingdon
6b62554aee * gdb.base/nodebug.exp: Test ability to call a function and pass
it a string (even with no debugging info).
1995-03-15 01:57:01 +00:00
Per Bothner
912cb3fdd5 * valops.c (value_arg_coerce): Do possible value_coerce_array
before determining type argument to value_cast.
1995-03-14 23:03:22 +00:00
Jim Kingdon
4081daa1ed * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
only \r\n, not .*.  The test can pass .* as the last thing in
	$pattern if that is what it wants.  In addition to providing this
	flexibility, this change should speed up pattern matching in cases
	where the pattern already ended with .* (there were a number of
	them).  This change also helps catch bad patterns--in the old
	scheme the typo "char \*" instead of "char \\*" would pass.  Now
	it is caught.
	* Many .exp files: Update callers.
1995-03-14 21:25:19 +00:00
Kung Hsu
1990231d57 * remote-es.c: Replace ignore with 0. 1995-03-14 18:48:06 +00:00
Jim Kingdon
9be82863cc * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
clearer and does not spuriously match multiple ('s.  Likewise for
	) and *.
1995-03-14 18:40:05 +00:00
Jim Kingdon
fcb869f1f2 * gdb.base/nodebug.exp: Test ability to call a function and pass
it a string (even with no debugging info).
1995-03-14 18:06:26 +00:00
Jim Kingdon
05918905ce * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
"p '\'", which is the same as "p ''" once tcl gets done with
	quoting, to "p '\\'", which I suspect is what is intended (one
	backslash gets sent to GDB).

	* gdb.base/printcmds.exp (test_artificial_arrays): New tests.
1995-03-14 16:47:38 +00:00
Jim Kingdon
2e12bf4fd1 * valops.c (value_repeat), eval.c (evaluate_subexp_standard):
If VALUE_REPEATED is already set, just error out.
1995-03-14 16:31:28 +00:00
Jim Kingdon
36633dcc4a * valops.c (value_cast, value_slice), parse.c (follow_types): Add
FIXME-type-allocation comments.
1995-03-14 14:59:24 +00:00
Jim Kingdon
a3012272b0 * gdbtypes.h (struct type): Fix comment about what units the
TYPE_LENGTH is in.
1995-03-14 14:05:16 +00:00
Stan Shebs
477b242500 * ch-valprint.c (annotate.h): Include.
* eval.c (evaluate_subexp_standard): Remove unused variable.
	(calc_f77_array_dims): Add parens to expression.
	* f-exp.y (yylex): Add parens to expression, remove unused label.
	* f-lang.h (calc_f77_array_dims): Declare.
	* f-valprint.c (f_val_print): Remove unused variables.
1995-03-14 02:37:20 +00:00
Per Bothner
d0b2a91c25 * gdb.texinfo (Define): Document $arg0... arguments to commands,
and new 'if' and 'while' commands.
1995-03-14 00:49:33 +00:00
Jim Kingdon
4f69fe4692 * alpha-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
use the PDR, just examine prologues instead.
1995-03-13 23:37:10 +00:00
Jim Kingdon
2f8996dc3c * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
1817) was fixed literally years ago.
1995-03-11 05:34:40 +00:00
Kung Hsu
c230fbb6df * config/tm-arc.h: Change arc register names. 1995-03-11 00:17:15 +00:00
Stan Shebs
6e9cac5f32 default to keeping rather than losing gdbtk 1995-03-10 19:39:59 +00:00
Stan Shebs
8cbf6efc61 Finish sanitization gaffes 1995-03-10 18:39:48 +00:00
Peter Schauer
d4f389f692 * gdb.c++/templates.exp: Source templ-info.exp only if
the templates executable exists.
1995-03-10 12:18:05 +00:00
Peter Schauer
07b963574f * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
test, it causes stepping out of call_after_alloca_subr with
	optimizing compilers.
	(localvars_in_indirect_call):  Consume GDB prompt if `finish'
	fails.

	* gdb.c++/misc.cc (class Contains_static_instance,
	class Contains_nested_static_instance),
	gdb.c++/classes.exp (test_static_members):  Test printing of
	a class that contains a static instance of the class.
1995-03-10 11:24:30 +00:00
Peter Schauer
a1a0d97484 Fix problems with infinite recursion when printing a class
that contains a static instance of the class.
	* cp-valprint.c (dont_print_vb_obstack):  Renamed from
	dont_print_obstack, made static.
	(dont_print_statmem_obstack):  New obstack, controls printing
	of static member classes.
	(_initialize_cp_valprint):  Initialize it.
	(cp_print_static_field):  New function, handles printing of
	static members.
	(cp_print_value_fields):  New parameter dont_print_statmem to
	handle recursive printing of static member classes, use
	cp_print_static_field to handle printing of static members.
	* c-valprint.c (cp_print_value_fields):  Update prototype and
	call to include additional dont_print_statmem parameter.
	* c-valprint.c, f-valprint.c (dont_print_obstack):  Remove unused
	extern declaration.

	* alpha-tdep.c, findvar.c, infptrace.c:  Include <string.h>.

	* config/alpha/tm-alpha.h (FRAME_FIND_SAVED_REGS):  Call
	alpha_find_saved_regs if fi->saved_regs is still NULL.

	* elfread.c (elf_symtab_read):  Ensure that the filename field
	of a minsym is nonempty. Ignore solib trampoline symbols from
	the main symbol table, they might have a bogus value.

	* procfs.c (set_proc_siginfo), config/alpha/alpha-osf2.mh:
	Fix typos in comments.
1995-03-10 11:21:32 +00:00
Jim Kingdon
45d6f6230e * mdebugread.c (parse_symbol, psymtab_to_symtab_1): Initialize
pdr.framereg field of MIPS_EFI_SYMBOL_NAME symbol to -1.  That way
	we know whether the PDR ever got set.
	* mips-tdep.c (find_proc_desc): If pdr.framereg field is -1, don't
	use the PDR, just examine prologues instead.
1995-03-10 01:26:09 +00:00
Jeff Law
eb1e8d350d * somsolib.c (som_solib_section_offsets): Get offset of text
section right.
1995-03-09 06:37:02 +00:00
Stu Grossman
9468f8aa3e * gdbtk.c (gdb_get_breakpoint_info): Return error if breakpoint
type is not bp_breakpoint.
1995-03-09 00:43:41 +00:00
Stu Grossman
34c40fd7e8 * source.c (forward_search_command reverse_search_command): Set
convenience variable $_ to be the line # of the match.
	* symtab.c (decode_line_1):  Allow convenience variables to be
	used in line specs (for breakpoints and such).
1995-03-09 00:25:15 +00:00
Jim Kingdon
5e8ade2361 * *.exp: Skip all tests silently if skip_chill_tests returns true.
* misc.exp: Remove reference to non-existent variable passcount.
1995-03-08 21:32:37 +00:00
Jim Kingdon
a331c834c1 * lib/gdb.exp (skip_chill_tests): New procedure. 1995-03-08 21:30:07 +00:00
Jim Kingdon
54e85b8bd0 * gdb.base/signals.exp (signal_tests_1): xfail for irix. 1995-03-08 21:16:15 +00:00
Stan Shebs
9561821190 * Makefile.in (VERSION): Bump to 4.14.1.
* NEWS, README: Update for 4.14.
	* i386v-nat.c (i386_insert_aligned_watchpoint): Fix declaration.
	(i386_insert_nonaligned_watchpoint): Call aligned instead of
	generic watchpoint insertion.
1995-03-08 21:07:41 +00:00
Per Bothner
34410e9541 * string.ch, string.exp, Makefile.in: New test case.
This is PR 5696.
1995-03-08 03:29:55 +00:00
Per Bothner
830a65b3ff * valops.c (value_slice): Do COERCE_VARYING_ARRAY.
This fixes PR 5696.
1995-03-08 03:26:21 +00:00
Stu Grossman
32fa4b5936 * monitor.c array-rom.c monitor.h rom68k-rom.c: Move target_ops
into monitor.c.
	* monitor.c (monitor_create_inferior):  Allow run command to start
	program.
1995-03-08 03:21:51 +00:00
Stu Grossman
f17aed8ba3 * monitor.c (monitor_load): Set PC to start address when done
loading.

	* array-rom.c monitor.h rom68k-rom.c:  Clean up target_ops.
	Remove ref to monitor_create_inferior.
1995-03-08 01:18:08 +00:00
Stu Grossman
8f07823450 * monitor.c: More general cleanups. Add prototypes, remove
unused routines.  Fix bug with wrong number of args to error().
1995-03-08 00:06:55 +00:00
Stu Grossman
cc60ad636d * main.c (main): Don't start up GUI when running under gdb mode
in emacs.
1995-03-07 09:32:29 +00:00
Stu Grossman
1265e2d823 * Makefile.in: Add rules for monitor.o and rom68k-rom.o to make
Sun make (with VPATH) work...

	* monitor.c monitor.h rom68k-rom.c:  Serious cleanup to make IDP
	(rom68k) target work right.
	* array-rom.c op50-rom.c w89k-rom.c:  Partial updates to new
	monitor.c interface.  More work needs to be done here.
	* config/m68k/tm-monitor.h:  Change DECR_PC_AFTER_BREAK to 0 to
	match the IDP monitor.  Also, set NUM_REGS to 18 cuz there's no
	floating-point for this card.
1995-03-07 09:26:39 +00:00
Stu Grossman
09374c9863 * command.h command.c top.c: Add var_enum command type. It's
like var_string but allows only only one of the specified strings.
1995-03-07 09:06:16 +00:00
Stu Grossman
85c8b135fe * serial.h ser-go32.c ser-go32-para.c ser-mac.c ser-tcp.c
ser-unix.c:  Add SERIAL_SETSTOPBITS to set the number of stopbits
	(needed for IDP board?!?!?).
1995-03-07 09:03:37 +00:00
Stu Grossman
7baea94608 * defs.h utils.c remote-hms.c remote-pa.c remote.c: Fix defs and
usage of fputc_unfiltered and putchar_unfiltered.  Eliminate
	putc_unfiltered (it's superfluous).
1995-03-07 08:57:32 +00:00
Stu Grossman
236274b9f8 * command.h command.c: Add var_enum command type. It's like
var_string but allows only only one of the specified strings.
1995-03-07 08:32:55 +00:00
Jim Kingdon
e70bba9f27 * valops.c (value_cast): Don't use backslash newline--pre-ANSI
compilers (such as SunOS4 /bin/cc) don't generally support it
	except in some contexts.
1995-03-06 23:12:02 +00:00
Per Bothner
3654c0672f * tuples.ch (setnmode); New module.
* tuples.exp:  Add some extra tests.
These are from PR 5024.
1995-03-06 22:11:17 +00:00