Commit Graph

1724 Commits

Author SHA1 Message Date
Daniel Jacobowitz 12d2f0a1dd * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
dates.
2003-01-14 17:36:49 +00:00
Daniel Jacobowitz 6ca37014df * gdb.c++/printmethod.exp (print virtual method): Accept "(void)". 2003-01-14 04:40:48 +00:00
Daniel Jacobowitz b00234725e * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
(ptype &*"foo").
	* gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2003-01-14 04:34:46 +00:00
Daniel Jacobowitz d6abaea528 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
* gdb.mi/mi1-console.exp: Likewise.
2003-01-13 23:24:43 +00:00
Daniel Jacobowitz dfd536a75e * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
* gdb.mi/mi1-console.exp: Likewise.
2003-01-13 22:07:15 +00:00
Daniel Jacobowitz b5e5c35c01 Update copyright years. 2003-01-13 20:09:33 +00:00
Daniel Jacobowitz a1fb14a2c2 * gdb.c++/overload.exp: Remove some fixed XFAILs. 2003-01-13 20:08:16 +00:00
Daniel Jacobowitz c4cf40b7ca * gdb.base/detach.exp: New test. 2003-01-09 19:18:04 +00:00
Daniel Jacobowitz 696d5a5b84 * Makefile.in (ALL_SUBDIRS): New variable.
(subdirs, clean, distclean): Use it.
	* gdb.arch/Makefile.in: Clean up Makefile.  Remove rules for
	regenerating Makefile, since it is generated from the top level.
	* gdb.asm/Makefile.in: Likewise.
	* gdb.base/Makefile.in: Likewise.
	* gdb.c++/Makefile.in: Likewise.
	* gdb.disasm/Makefile.in: Likewise.
	* gdb.java/Makefile.in: Likewise.
	* gdb.mi/Makefile.in: Likewise.
	* gdb.threads/Makefile.in: Likewise.
	* gdb.trace/Makefile.in: Likewise.
2003-01-09 18:50:28 +00:00
David Carlton 754533e434 2003-01-09 David Carlton <carlton@math.stanford.edu>
* gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
	Add copyright year 2003.
2003-01-09 17:10:39 +00:00
Michael Chastain d8b3e9ee2a 2003-01-06 Michael Chastain <mec@shout.net>
* gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
	When selecting a thread, 'line' and 'file' are optional.
	* gdb.mi/mi1-pthreads.exp: Likewise.
2003-01-07 03:31:27 +00:00
Andreas Schwab 8e9e0fe6da * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
failures.
2003-01-06 18:10:32 +00:00
Daniel Jacobowitz b5ab8ff3a4 Fix PR gdb/844
* lib/gdb.exp (gdb_compile): Handle "quiet" option.
	(gdb_compile_pthreads): Pass "quiet" to gdb_compile.

	* gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads.  Return
	instead of calling gdb_suppress_entire_file.
	* gdb.threads/print-threads.exp: Likewise.
	* gdb.threads/schedlock.exp: Likewise.

	* gdb.threads/killed.exp: Return instead of calling
	gdb_suppress_entire_file.
	* gdb.threads/linux-dp.exp: Likewise.
	* gdb.threads/pthreads.exp: Likewise.
2003-01-04 23:05:05 +00:00
Daniel Jacobowitz 1e69823536 gdb/
* buildsym.h (processing_hp_compilation): Remove obsolete variable.
	* gdbarch.sh Remove include of "value.h" in gdbarch.h.
	(COERCE_FLOAT_TO_DOUBLE): Remove.
	* gdbarch.c: Regenerate.
	* gdbarch.h: Regenerate.
	* Makefile.in: Remove value_h from gdbarch_h.
	* valops.c (coerce_float_to_double): New variable.
	(default_coerce_float_to_double): Remove.
	(standard_coerce_float_to_double): Remove.
	(value_arg_coerce): Use coerce_float_to_double.
	(_initialize_valops): Add "set coerce-float-to-double".
	* value.h (default_coerce_float_to_double): Remove prototype.
	(standard_coerce_float_to_double): Remove prototype.

	* hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as
	prototyped.
	* mdebugread.c (parse_symbol): Likewise.
	* stabsread.c (define_symbol): Mark all functions as prototyped.

	* hppa-tdep.c (hppa_coerce_float_to_double): Remove.
	* alpha-tdep.c (alpha_gdbarch_init): Remove call to
	set_gdbarch_coerce_float_to_double.
	* arm-tdep.c (arm_gdbarch_init): Likewise.
	* frv-tdep.c (frv_gdbarch_init): Likewise.
	* h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out).
	* i386-sol2-tdep.c (i386_sol2_init_abi): Likewise.
	* mips-tdep.c (mips_gdbarch_init): Likewise.
	(mips_coerce_float_to_double): Remove.
	* rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
	(rs6000_coerce_float_to_double): Remove.
	* s390-tdep.c (s390_gdbarch_init): Likewise.
	* sh-tdep.c (sh_gdbarch_init): Likewise.
	(sh_coerce_float_to_double): Remove.
	* sparc-tdep.c (sparc_gdbarch_init): Likewise.
	(sparc_coerce_float_to_double): Remove.
	* v850-tdep.c (v850_gdbarch_init): Likewise.
	* xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
	* config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove.
	* config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove.
	(hppa_coerce_float_to_double): Remove prototype.
	* config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove.
doc/
	* gdb.texinfo (Controlling GDB): Add ABI section.  Document
	"set coerce-float-to-double".
	* gdbint.texinfo (COERCE_FLOAT_TO_DOUBLE): Remove documentation.
testsuite/
	* gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
	stabs.
	* gdb.base/completion.exp: Allow marker1(void) as well as marker1().
	* gdb.base/whatis.exp: Always allow (void) after function names.
2003-01-04 22:37:49 +00:00
Daniel Jacobowitz 147ff08c6b * gdb.c++/casts.exp: Correct regexp. 2003-01-04 22:30:21 +00:00
Mark Kettenis dc62bfc2fc * configure.in: Call AC_CONFIG_HEADER. Don't call
AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
gdb.disasm, gdb.mi, gdb.threads and gdb.trace.  Call
AC_CHECK_HEADERS on pthread.h.  Put Makefiles in the
aforementioned directories in the AC_OUPUT call.
* config.hin: New file.
* gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
gdb.threads/killed.exp, gdb.threads/print-threads.exp,
gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
pass -I$objdir instead of -I$objdir/$subdir in compilation.
* gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
gdb.threads/configure.in, gdb.threads/configure,
gdb.threads/config.in, gdb.trace/configure.in,
gdb.trace/configure: Removed.
2003-01-04 15:37:40 +00:00
Michael Chastain 77afa6398a 2003-01-03 Michael Chastain <mec@shout.net>
* gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
	testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
2003-01-04 04:07:16 +00:00
Daniel Jacobowitz 7634bb6e63 * gdb.base/store.exp: Fix regular expressions. 2003-01-04 03:59:27 +00:00
Mark Kettenis b39c905ef8 * configure.in: Rewrite.
* configure: Regenerated.
2003-01-04 00:43:24 +00:00
David Carlton 0a8551ddd5 2003-01-03 David Carlton <carlton@math.stanford.edu>
* gdb.base/psymtab.exp: New file.
	* gdb.base/psymtab1.c: Ditto.
	* gdb.base/psymtab2.c: Ditto.
2003-01-03 20:55:46 +00:00
Adam Fedor c60b71880d gdb.base/maint.exp: Update expect output to include 'ObjC'. 2002-12-24 04:03:46 +00:00
David Carlton ee73db833f 2002-12-23 David Carlton <carlton@math.stanford.edu>
* gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
	and current_directory initialization.
2002-12-23 16:56:25 +00:00
Jim Blandy f0a847b8c7 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
rather than as part of the output file name.
2002-12-23 00:02:02 +00:00
Jim Blandy d6c1774ec3 * gdb.base/attach.exp: There's no need to copy the test program to
/tmp; that was only ever necessary on HP/UX, and this test is
entirely disabled there anyway.
2002-12-22 23:53:48 +00:00
Jim Blandy 4c2acfeafe * gdb.c++/psmang.exp: Doc fix. 2002-12-22 02:58:43 +00:00
Jim Blandy f0708dbbc4 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
test.
2002-12-21 22:56:56 +00:00
David Carlton 9579e00017 2002-12-20 David Carlton <carlton@math.stanford.edu>
* gdb.c++/annota2.exp: KFAIL annotate-quit.
2002-12-20 18:37:15 +00:00
Michael Chastain d181017144 2002-12-18 Michael Chastain <mec@shout.net>
* gdb.c++/annota2.exp: Add copyright year 2002.
2002-12-19 05:10:45 +00:00
David Carlton 7656509736 2002-12-17 David Carlton <carlton@math.stanford.edu>
* gdb.c++/try_catch.cc: Add marker comments.
	* gdb.c++/try_catch.exp: Get line numbers from marker comments.
	* gdb.c++/m-data.cc: Delete namespace __gnu_test.
	* gdb.c++/m-static.cc: Ditto.
	* gdb.c++/m-static1.cc: Ditto.
	* gdb.c++/try_catch.cc: Ditto.
2002-12-17 23:24:57 +00:00
Jeff Johnston da81390ba6 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
* lib/mi-support.exp (mi_reinitialize_dir): Check mi level
        to see whether we are using the new -environment-directory
        command which resets via -r or the old version of the command
        which may prompt the user.  Part of fix for gdb/741.
2002-12-16 20:03:17 +00:00
Andrew Cagney b304d13005 Remove obsolete testsuite code. 2002-12-16 19:33:54 +00:00
Jeff Johnston 93ce5efb0a 2002-12-13 Jeff Johnston <jjohnstn@redhat.com>
* mi-basics.exp: Change tests for -environment-directory.  Also add
        tests for -environment-cd, -environment-pwd, and -environment-path.
        Part of fix for PR gdb/741.
2002-12-13 17:57:38 +00:00
David Carlton a23b6e6a0a 2002-12-11 David Carlton <carlton@math.stanford.edu>
* gdb.c++/m-data.exp: Add test for members that shadow global
	variables: see PR gdb/804.
	* gdb.c++/m-data.cc: Ditto.
2002-12-11 18:45:29 +00:00
Daniel Jacobowitz 6604731ba7 * config/pa/nm-hppah.h (CHILD_POST_FOLLOW_VFORK): Change to
CHILD_FOLLOW_FORK.
	* hppah-nat.c (saved_vfork_pid): Add.
	(child_post_follow_vfork): Remove.
	(child_follow_fork): New function.
	(child_wait): Call detach_breakpoints after receiving the child vfork.
	Call child_resume directly instead of going through resume ().
	Make sure we have the exec before reporting the vfork.
	* inferior.h (follow_inferior_reset_breakpoints): Add prototype.
	* infrun.c (follow_fork, follow_vfork, follow_inferior_fork): Remove.
	(follow_fork): New function.  Call target_follow_fork.
	(follow_inferior_reset_breakpoints): New function broken out from
	old follow_inferior_fork.
	(resume): Remove hack to follow exec after vfork.
	* inftarg.c (child_post_follow_vfork): Remove.
	(child_follow_fork): New function.
	(init_child_ops): Replace to_post_follow_vfork with to_follow_fork.
	* target.c (cleanup_target): Replace to_post_follow_vfork with
	to_follow_fork.
	(update_current_target): Likewise.
	(setup_target_debug): Likewise.
	(debug_to_post_follow_vfork): Remove.
	(debug_to_follow_fork): New function.
	* target.h (struct target_ops): Replace to_post_folow_vfork with
	to_follow_fork.
	(child_post_follow_vfork): Remove prototype.
	(child_follow_fork): Add prototype.
	(target_post_follow_vfork): Remove macro.
	(target_follow_fork): Add macro.

testsuite/
	* gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2002-12-11 02:04:45 +00:00
David Carlton de46ecd713 2002-12-06 David Carlton <carlton@math.stanford.edu>
* gdb.base/store.c: Don't declare functions static.
2002-12-06 19:21:51 +00:00
Andrew Cagney 27e829d037 2002-12-04 Andrew Cagney <ac131313@redhat.com>
* gdb.base/store.exp, gdb.base/store.c: New files.
2002-12-05 01:48:19 +00:00
Daniel Jacobowitz 92806416b3 * gdb.base/selftest.exp: Update for current gdb. 2002-12-04 03:15:27 +00:00
Daniel Jacobowitz 3bcbaac540 * gdb.base/maint.exp: Only dump symbols from one source file
or objfile.
2002-12-04 03:13:22 +00:00
Daniel Jacobowitz f4f00b1fe5 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
function call.
2002-12-04 03:07:45 +00:00
Jim Blandy f1c8a9492e * lib/mi-support.exp (mi_delete_breakpoints): Change name of
function appearing in error message.
2002-11-25 19:54:09 +00:00
Jim Blandy f81a4d0bea Revert previous change --- the hour was late, and I was confused about
its status.
2002-11-22 19:07:28 +00:00
Jim Blandy b6d3ce7015 * gdb.base/step-line.exp: Check that GDB can handle filenames that
appear in the line number info, but not in the preprocessor macro
info.

* lib/gdb.exp (gdb_internal_error_regexp): New variable.
(gdb_internal_error_resync): New procedure.
(gdb_test): If the command results in an internal error,
answer GDB's questions until we get back to a prompt.
2002-11-22 07:00:37 +00:00
Daniel Jacobowitz 9e297a9744 * gdb.base/maint.exp (help maint dump-me): Update with typo fix. 2002-11-22 04:31:21 +00:00
Klee Dienes 82661bd0df 2002-11-09 Klee Dienes <kdienes@apple.com>
* chexp.exp: Mark as obsolete.
        * pr-5016.exp: Remove stray trailing newline.
2002-11-09 19:15:23 +00:00
Jeff Johnston 1f312e798b 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
* lib/mi-support.exp (mi_gdb_start): Verify the startup message
        for mi1 and current mi is in correct format.  New mi startup message
        should be in mi console format.  This is part of fix for PR gdb/604.
2002-11-08 20:37:50 +00:00
Fernando Nasser 83c31e7d1e * printcmd.c (disassemble_command): Remove obsolete function.
(_initialize_printcmd): Do not create disassemble command here.
	* cli/cli-cmds.c (disassemble_command): New function.  Implements
	disassemble command.
	(init_cli_cmds): Create disassemble command here instead.

	* gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
	which explicitly prints the zero offset as "+0".
2002-11-08 03:21:34 +00:00
Jeff Johnston f80a3b5fb4 2002-11-05 Jeff Johnston <jjohnstn@redhat.com>
* gdb792.cc: New file to test patch for PR gdb/792.
        * gdb792.exp: Ditto.
2002-11-05 22:31:32 +00:00
Elena Zannoni 6afa27b08c 2002-11-04 Elena Zannoni <ezannoni@redhat.com>
* mi-console.exp: Use mi_runto, mi_run_to_main, mi_next_to,
	mi_step_to wherever possible.  Update copyright notices.
	* mi-disassemble.exp: Ditto.
	* mi-eval.exp: Ditto.
	* mi-read-memory.exp: Ditto.
	* mi-regs.exp: Ditto.
	* mi-return.exp: Ditto.
	* mi-stack.exp: Ditto.
	* mi-stepi.exp: Ditto.
	* mi-var-block.exp: Ditto.
	* mi-var-cmd.exp: Ditto.
	* mi-watch.exp: Ditto.
	* mi1-console.exp: Ditto.
	* mi1-disassemble.exp: Ditto.
	* mi1-eval.exp: Ditto.
	* mi1-read-memory.exp: Ditto.
	* mi1-regs.exp: Ditto.
	* mi1-return.exp: Ditto.
	* mi1-stack.exp: Ditto.
	* mi1-stepi.exp: Ditto.
	* mi1-var-block.exp: Ditto.
	* mi1-var-cmd.exp: Ditto.
        * mi1-watch.exp: Ditto.
2002-11-05 15:43:18 +00:00
Jeff Johnston 7b8e064773 2002-10-23 Jeff Johnston <jjohnstn@redhat.com>
* mi-var-cmd.exp: Add tests to verify that a -var-assign that changes
        a value shows up in the changelist of a -var-update.  Part of fix
	for gdb/702.
        * mi1-var-cmd.exp: Ditto.
2002-10-23 23:57:28 +00:00
Daniel Jacobowitz 322b3f65ca * gdb.threads/schedlock.c (args): Make unsigned. 2002-10-23 03:22:56 +00:00
Daniel Jacobowitz 8b1d7e37a4 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
numbers.  Allow "foo2|selected stack frame".
        * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
        * gdb.asm/asmsrc2.s: Likewise.
        * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end.  Update
        comments.
        * gdb.asm/mips.inc: New file.
2002-10-22 01:43:37 +00:00
Adam Fedor 5e2fe5b8f8 gdb.base/default.exp: Update expected output to include 'ObjC'.
gdb.base/help.exp: Likewise.
2002-10-18 18:54:55 +00:00
Kevin Buettner abe1a5d0ef * gdb.base/constvars.c (struct crass, struct crisp): New structs.
* gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2002-10-17 20:22:58 +00:00
Jeff Johnston c18008c5d8 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
* mi-return.exp: Change expected frame output to remove extraneous
        space in level field when frame level is single digit.  Part of
        fix for PR gdb/192.
        * mi-stack.exp: Ditto.
        * mi1-return.exp: Ditto.
        * mi1-stack.exp: Ditto.
2002-10-03 22:33:15 +00:00
Jeff Johnston 93cae4bfd9 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
* mi-var-block.exp: Change expected output from -var-update
        command to expect list format for "changelist".  Fix for
        PR gdb/672.
        * mi-var-cmd.exp: Ditto.
        * mi-var-child: Ditto.
2002-10-03 20:03:55 +00:00
Jim Blandy 10abb1d48f * gdb.c++/casts.cc, gdb.c++/casts.exp: New test. 2002-10-02 21:46:56 +00:00
Andrew Cagney 1f609b42e3 2002-10-01 Andrew Cagney <ac131313@redhat.com>
* mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
	* mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
	* mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
	* mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
	* mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
	* mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
	* mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2002-10-01 16:01:37 +00:00
Andrew Cagney 0aee02e418 Delete no-longer-needed tests. 2002-09-29 14:20:32 +00:00
Kevin Buettner 6fde09ad29 * gdb.base/annota1.exp (info break): Make directory components of
path optional since not all compilers emit this debug information.

 	* gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
 	step ends up stepping out of the function instead of stopping on
 	the epilogue.
2002-09-28 01:12:04 +00:00
Keith Seitz 9e8aab7587 * lib/insight-support.exp (gdbtk_start): Figure out where
the insight executable is based on where gdb is. Use this
        executable to start insight instead of gdb.
2002-09-27 14:49:26 +00:00
Andrew Cagney e36180d795 2002-09-25 Andrew Cagney <cagney@redhat.com>
* frame.c: Include "gdb_string.h" and "builtin-regs.h".
	(frame_map_regnum_to_name): New function.
	(frame_map_name_to_regnum): New function.
	* frame.h (frame_map_name_to_regnum): Declare.
	(frame_map_regnum_to_name): Declare.
	* builtin-regs.c (builtin_reg_map_regnum_to_name): New function.
	* builtin-regs.h (builtin_reg_map_regnum_to_name): Declare.
	* parse.c: Do not include "builtin-regs.h".
	(target_map_name_to_register): Delete function.
	(write_dollar_variable): Use frame_map_name_to_regnum.
	* parser-defs.h (target_map_name_to_register): Delete declaration.
	* expprint.c: Include "frame.h".
	(print_subexp): Use frame_map_regnum_to_name.
	* eval.c (evaluate_subexp_standard): Use frame_map_regnum_to_name.
	* infcmd.c (registers_info): Use frame_map_name_to_regnum.

2002-09-25  Andrew Cagney  <cagney@redhat.com>

	* gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2002-09-25 20:30:38 +00:00
Keith Seitz 1154261b1f * mi-pthreads.exp (get_mi_thread_list): Check if expect_out
exists before using it.
        (check_mi_and_console_threads): Likewise.
        * gdb669.exp (get_mi_thread_list): Likewise.
        (check_mi_and_console_threads): Likewise.
2002-09-25 16:08:43 +00:00
Keith Seitz d1a2f20434 * configure.in: Add config header.
Check for pthread.h.
        * configure: Regenerate.
        * config.in: New file.
        * pthreads.c: New file.
        * mi-pthreads.exp: New file to test thread functionality.
        * gdb669.exp: New file.
2002-09-24 19:36:06 +00:00
Andrew Cagney 9dd34b2bcf 2002-09-24 Andrew Cagney <ac131313@redhat.com>
* gdb.gdb/complaints.exp (test_initial_complaints): Rename
	test_isolated_complaints.
	(test_empty_complaint): New function.
	(test_empty_complaints): New function.  Check no output when no
	complaints.
2002-09-24 16:07:42 +00:00
Kevin Buettner dea9781227 Add new tests for charset support. 2002-09-20 00:26:06 +00:00
Andrew Cagney 54951bd7b5 2002-09-19 Andrew Cagney <ac131313@redhat.com>
* gdb.gdb/complaints.exp: New file.
2002-09-19 15:22:47 +00:00
Andrew Cagney dec43320d9 2002-09-18 Andrew Cagney <ac131313@redhat.com>
* maint.c (maintenance_internal_error): Print the parameter as the
	error message.
	(maintenance_internal_warning): New function.
	(_initialize_maint_cmds): Add command `maint internal-warning'.

	* defs.h (internal_warning, internal_vwarning): Declare.
	* utils.c (struct internal_problem): Define.
	(internal_vproblem): New function.
	(internal_warning): New function.
	(internal_vwarning): New function.
	(internal_warning_problem, internal_error_problem): New variables.
	(internal_verror): Just call internal_vproblem.

Index: testsuite/ChangeLog
2002-09-18  Andrew Cagney  <ac131313@redhat.com>

	* gdb.base/maint.exp: Check `help maint internal-warning'.
2002-09-18 23:53:52 +00:00
David Carlton e70d6e3ff5 2002-09-18 David Carlton <carlton@math.stanford.edu>
* gdb.c++/m-static.exp: Remove breakpoints depending on line
	numbers, and replace them by a single breakpoint after the
	constructors are all finished.
	Add test 4.
	* gdb.c++/m-static.cc: Add test 4.
	* gdb.c++/m-static.h: New file.
	* gdb.c++/m-static1.cc: New file.

	* gdb.c++/printmethod.exp: New file.
	* gdb.c++/printmethod.cc: New file.

	* gdb.c++/pr-574.exp: New file.
	* gdb.c++/pr-574.cc: New file.
2002-09-18 18:48:43 +00:00
Corinna Vinschen afb5c968b6 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
embedded targets which never actually exit.
2002-09-18 17:20:54 +00:00
Fernando Nasser 31e45dee03 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
"don't step after run" as unresolved or unsupported, instead of xfail.
2002-09-18 17:11:53 +00:00
Corinna Vinschen a283c5a10f * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
	Add newline to expected string in "step out of main (status wrapper)"
	case.
2002-09-18 16:04:53 +00:00
Corinna Vinschen 11350d2a6f * lib/gdb.exp (rerun_to_main): Allow restarting application.
* gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2002-09-18 15:34:10 +00:00
Keith Seitz 6f1d84a5f0 * mi-var-cmd.exp: Add tests to check when varobj pinned to a
selected frame changes type.
2002-09-17 20:45:28 +00:00
Keith Seitz d4f53e96eb * mi-console.exp: Update copyright.
* mi-var-block.exp: Likewise.
        * mi-var-cmd.exp: Likewise.
        * mi-var-display.exp: Likewise.
        * mi0-console.exp: Likewise.
        * mi0-var-child.exp: Likewise.
        * mi0-var-cmd.exp: Likewise.
        * mi0-var-display.exp: Likewise.
2002-09-17 20:30:24 +00:00
Tom Tromey 0deec7d673 * gdb.base/printcmds.exp (test_print_string_constants): Expect
\000, not \0, in double-quoted string.
2002-09-17 17:01:22 +00:00
Keith Seitz 8038ed9723 * gdb701.exp: New file for testing varobj target type bug.
* gdb701.c: New file.
2002-09-16 19:01:43 +00:00
Corinna Vinschen b2b4a1b5e6 * gdb.base/command.exp: Don't expect a "Program exited normally"
string after running the commands execution on breakpoint tests.
2002-09-14 09:31:36 +00:00
Keith Seitz 78d0849c9d Fix line numbers. 2002-09-13 21:29:42 +00:00
Keith Seitz 602f3bfac4 * mi-var-child.exp: Use mi_step_to and mi_execute_to instead
of a bunch of repeated send_gdb/gdb_expect statements.
2002-09-13 21:03:33 +00:00
Corinna Vinschen 1c56143ab1 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string. 2002-09-13 17:20:11 +00:00
Joel Brobecker 37f8da45ab * gdb.base/call-strs.exp: Fix a small typo in one of the comments. 2002-09-13 00:43:10 +00:00
Keith Seitz fc5cfef41b * mi-simplerun.exp (test_controlled_execution): Follow renaming of
mi_run_to to mi_execute_to.
        * mi-var-cmd.exp: Likewise.
        * mi0-simplerun.exp: Likewise.
        * mi0-var-cmd.exp: Likewise.
2002-09-10 22:28:44 +00:00
Keith Seitz 08b468e0c5 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
runto proc.
        (mi_run_to_main): Use mi_runto.
        (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2002-09-10 22:28:19 +00:00
Keith Seitz dc360f582a * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
regexp for stopping at main. Could have multiple event notifications.
        Don't assume that main was declared with no parameters.
        (mi_next): Use mi_step_to.
        (mi_step): Use mi_next_to.
2002-09-10 22:07:58 +00:00
Corinna Vinschen ce3abcfb03 * gdb.base/default.exp: Fix expected string in `info float' test. 2002-09-10 07:03:18 +00:00
Ben Elliston d1f5b980c3 * config/mips.exp: Update comments.
* config/mips-idt.exp: Likewise.
	* config/nind.exp: Likewise.
	* config/slite.exp: Likewise.
	* config/sparclet.exp: Likewise.
	* config/udi.exp: Likewise.
	* config/vx.exp: Likewise.
	* config/vxworks29k.exp: Likewise.
2002-09-09 21:21:35 +00:00
Jim Blandy 2f71430b46 * gdb.threads/killed.exp: Fix test failure message. 2002-09-05 19:45:11 +00:00
Keith Seitz 7ddebc7e56 * lib/mi-support.exp: Update copyright.
(mi_gdb_test): Increase the priority of the expected pattern
        so that it matches gdb_test.
2002-09-04 21:05:07 +00:00
Keith Seitz 0ae67eb394 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
Use integer comparison instead of string comparison for testing
        whether binary was built.
2002-09-03 22:29:14 +00:00
Jim Blandy 38fc42c80d * gdb.threads/killed.exp, gdb.threads/killed.c: New test. 2002-09-03 20:02:48 +00:00
Keith Seitz d26bd0178a * gdb680.exp: New file to test to check for uiout list/tuple
nesting bug.
2002-09-03 16:37:00 +00:00
Jim Blandy b6ff0e81ff * gdb.threads/pthreads.exp: Move the portable thread compilation
code into a function in lib/gdb.exp, and call that from here.
* lib/gdb.exp (gdb_compile_pthreads): New function.
2002-08-29 22:36:52 +00:00
Keith Seitz 07c988968a * lib/mi-support.exp (mi_gdb_test): Add global declaration for
expect_out so that callers can get at it.
2002-08-29 16:10:13 +00:00
Michael Snyder c2b8ed2c80 2002-08-26 Joel Brobecker <brobecker@gnat.com>
* cli/cli-script.c (copy_command_lines): New function.
	* defs.h (copy_command_lines): Export.
	* testsuite/gdb.base/commands.exp: New tests for commands
	attached to a temporary breakpoint, and for commands that
	delete the breakpoint they are attached to.

2002-08-26  Michael Snyder  <msnyder@redhat.com>

	* breakpoint.c (bpstat_stop_status): Instead of copying the
	pointer to the breakpoint commands struct, make a new copy
	of the struct and point to that.
	(bpstat_clear): Free the commands struct.
	(bpstat_clear_actions): Free the commands struct.
	(bpstat_do_actions): Free the command actions.  Also execute
	the local cleanups, instead of deleting them.
	(delete_breakpoint): Leave the commands field of the bpstat
	chain alone -- it will be freed later.
2002-08-27 01:09:09 +00:00
Daniel Jacobowitz 0312286c94 * gdb.threads/print-threads.c: New file.
* gdb.threads/print-threads.exp: New file.
        * gdb.threads/schedlock.c: New file.
        * gdb.threads/schedlock.exp: New file.
2002-08-23 20:32:02 +00:00
Elena Zannoni dd039bc424 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
* gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
        not altivec.c.
2002-08-23 01:52:22 +00:00
Mark Kettenis 1f36144cb0 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
targets.  The problem should be fixed now.
2002-08-17 10:22:01 +00:00
Mark Kettenis 16057ec7a6 *** empty log message *** 2002-08-15 18:38:43 +00:00
Mark Kettenis 5415e7c5d4 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2002-07-24 change that removes final dots from error messages.
2002-08-15 17:18:50 +00:00
Tom Tromey 3c1499adb3 * gdb.base/readline.exp: New file. 2002-08-13 22:10:18 +00:00
Andrew Cagney ba010b30d4 More obsolete CHILL. 2002-08-02 00:25:23 +00:00
Andrew Cagney a20ce2c398 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
supress message.
2002-08-01 22:06:49 +00:00
Andrew Cagney db034ac512 2002-08-01 Andrew Cagney <cagney@redhat.com>
* NEWS: Menion that CHILL has been made obsolete.

* gdbtypes.c (chill_varying_type): Make chill references obsolete.
* gdbserver/Makefile.in: Ditto.
* stabsread.c (read_range_type): Ditto.
* gdbtypes.h: Ditto.
* language.c (binop_type_check): Ditto.
(binop_result_type): Ditto.
(integral_type): Ditto.
(character_type): Ditto.
(string_type): Ditto.
(boolean_type): Ditto.
(structured_type): Ditto.
(lang_bool_type): Ditto.
(binop_type_check): Ditto.
* language.h (_LANG_chill): Ditto.
* dwarfread.c (set_cu_language): Ditto.
* dwarfread.c (CHILL_PRODUCER): Ditto.
* dwarfread.c (handle_producer): Ditto.
* expression.h (enum exp_opcode): Ditto.
* eval.c: Ditto for comments.
* typeprint.c (typedef_print) [_LANG_chill]: Ditto.
* expprint.c (print_subexp): Ditto.
(print_subexp): Ditto.
* valops.c (value_cast): Ditto.
(search_struct_field): Ditto.
* value.h (COERCE_VARYING_ARRAY): Ditto.
* symfile.c (init_filename_language_table): Ditto.
(add_psymbol_with_dem_name_to_list): Ditto.
* valarith.c (value_binop): Ditto.
(value_neg): Ditto.
* valops.c (value_slice): Ditto.
* symtab.h (union language_specific): Ditto.
(SYMBOL_INIT_LANGUAGE_SPECIFIC): Ditto.
(SYMBOL_DEMANGLED_NAME): Ditto.
(SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
* defs.h (enum language): Ditto.
* symtab.c (got_symtab): Ditto.
* utils.c (fprintf_symbol_filtered): Ditto.

* ch-typeprint.c: Make file obsolete.
* ch-valprint.c: Make file obsolete.
* ch-lang.h: Make file obsolete.
* ch-exp.c: Make file obsolete.
* ch-lang.c: Make file obsolete.

* Makefile.in (FLAGS_TO_PASS): Do not pass CHILL or CHILLFLAGS or
CHILL_LIB.
(TARGET_FLAGS_TO_PASS): Ditto.
(CHILLFLAGS): Obsolete.
(CHILL): Obsolete.
(CHILL_FOR_TARGET): Obsolete.
(CHILL_LIB): Obsolete.
(SFILES): Remove ch-exp.c, ch-lang.c, ch-typeprint.c and
ch-valprint.c.
(HFILES_NO_SRCDIR): Remove ch-lang.h.
(COMMON_OBS): Remove ch-valprint.o, ch-typeprint.o, ch-exp.o and
ch-lang.o.
(ch-exp.o, ch-lang.o, ch-typeprint.o, ch-valprint.o): Delete
targets.

2002-08-01  Andrew Cagney  <cagney@redhat.com>

* stabs.texinfo, gdb.texinfo, gdbint.texinfo: Obsolete references
to CHILL.

2002-08-01  Andrew Cagney  <cagney@redhat.com>

* Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
CHILL_FOR_TARGET and CHILL_LIB.
* configure.in (configdirs): Remove gdb.chill.
* configure: Regenerate.
* lib/gdb.exp: Obsolete references to chill.
* gdb.fortran/types.exp: Ditto.
* gdb.fortran/exprs.exp: Ditto.
2002-08-01 17:18:35 +00:00
Kevin Buettner 3e000b1880 * gdb.base/shlib-call.exp (additional_flags): Conditionally
set Irix-specific compile and link flags.
2002-07-30 18:51:23 +00:00
Kevin Buettner 28f4966bbb * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
source files.  The ``-o'' option doesn't work with the ``-E'' option
	when using the Irix compiler.
2002-07-29 23:35:56 +00:00
Daniel Jacobowitz 46c0d5a66e 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
* config/gdbserver.exp (gdb_load): Don't use TCL varargs.
        Improve support for reusing an exec file.  Copy exec file
        to target, and run gdbserver on the target instead of on the host.
2002-07-19 19:40:28 +00:00
Jim Blandy 0f815cdf7e * gdb.base/ending-run.exp: Don't expect to see the program end in
some orderly fashion when we're running on a real stand-alone
board.
2002-07-19 00:02:34 +00:00
Jim Blandy eecf4bedc4 * gdb.base/interrupt.exp: Correct logic for skipping tests on
targets that don't support interrupts.
2002-07-18 23:52:49 +00:00
Joel Brobecker 52d309e45f * gdb.base/attach.exp: Add patterns to match output from /proc-based
systems.
       Move comments in expect statements to inside the actions, so that they
       don't get matched against.
2002-07-11 00:51:37 +00:00
Mark Kettenis ff683d9ee1 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
function when asleep" test.
2002-07-10 23:00:57 +00:00
Andrew Cagney b535675370 * gdb.base/page.exp: Rewrite to handle problems with very long
`info set' output.  Update copyright.
2002-07-10 21:57:56 +00:00
Andrew Cagney 6aa4d13aab Zap remainder of gdb.threads-hp directory. 2002-06-27 03:58:32 +00:00
Andrew Cagney 8cf8c2b853 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
setlocale, bindtextdomain and textdomain.
2002-06-22 22:19:37 +00:00
Jim Blandy 919d772c55 * gdb/source.c (source_info): Mention whether the symtab has
information about preprocessor macros.

* gdb/testsuite/lib/gdb.exp (get_debug_format): Tolerate message
saying whether preprocessor macro information is present.

* gdb/doc/gdb.texinfo (Symbols): Update documentation for `info
source' command.
2002-06-11 20:37:05 +00:00
Jim Blandy 6827a8f8fe * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
tests.
2002-06-11 20:27:50 +00:00
Michael Snyder c5984d7012 2002-06-06 Michael Snyder <msnyder@redhat.com>
* gdb.base/overlays.exp: Record addresses of overlay
	functions in TCL variables rather than in GDB variables,
	to avoid having GDB convert them to pointers (with loss
	of information).
2002-06-06 20:26:10 +00:00
Michael Snyder 99a8512bd1 2002-06-06 Michael Snyder <msnyder@redhat.com>
* gdb.base/d10v.ld: Merge in several years worth of
        default linker script changes.
2002-06-06 19:12:39 +00:00
Michael Snyder c15b0d21ff 2002-06-06 Michael Snyder <msnyder@redhat.com>
* gdb.base/long_long.exp: Add check for sizeof (long double).
2002-06-06 19:08:18 +00:00
Michal Ludvig be26fe0d93 2002-06-06 Michal Ludvig <mludvig@suse.cz>
* gdb.asm/asm-source.exp: Add x86-64 target.
	* gdb.asm/x86_64.inc: New.
2002-06-06 15:19:17 +00:00
Michael Chastain 4b3153f1b9 Fix formatting of "From ... " lines on recent changes
that I committed on behalf of others.
2002-05-31 19:45:27 +00:00
Michael Chastain 258093ca1e 2002-05-30 Michael Chastain <mec@shout.net>
From Benjamin Kosnik  <bkoz@redhat.com>

	* gdb.c++/m-static.cc: New file.
	* gdb.c++/m-static.exp: New file.
2002-05-30 19:09:47 +00:00
Michael Snyder 241264c6a6 2002-05-28 Michael Snyder <msnyder@redhat.com>
* gdb.base/call-ar-st.exp: Allow for reduced floating point
        precision.
2002-05-29 02:23:20 +00:00
Michael Chastain 71ea1be0a8 2002-05-27 Michael Chastain <mec@shout.net>
From Benjamin Kosnik  <bkoz@redhat.com>

	* gdb.c++/m-data.cc: New file.
	* gdb.c++/m-data.exp: New file.
2002-05-27 21:46:52 +00:00
Michael Chastain 9bba8c8f34 2002-05-27 Michael Chastain <mec@shout.net>
From Benjamin Kosnik  <bkoz@redhat.com>

	* gdb.c++/try_catch.cc: New file.
	* gdb.c++/try_catch.exp: New file.
2002-05-27 20:07:25 +00:00
Michael Chastain def1b996f9 2002-05-27 Michael Chastain <mec@shout.net>
* gdb.c++/local.exp: Accept more nested types in output.
2002-05-27 18:00:14 +00:00
Michael Chastain 522ba26890 2002-05-26 Michael Chastain <mec@shout.net>
* gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2002-05-27 02:03:35 +00:00
Michael Snyder 277254ba88 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
* lib/gdb.exp (gdb_wrapper_init): Just because
	gdb_wrapper_file exists, this does not mean that the file
	should not be rebuilt.  That is what gdb_wrapper_initialized
	is for.
	(default_gdb_init): Reset gdb_wrapper_initialized.
2002-05-23 21:25:42 +00:00
Michael Snyder 5bdb6d01db 2002-05-23 Michael Snyder <msnyder@redhat.com>
* gdb.base/all-bin.exp: Revise previous patch by just reducing
	the precision of the floating point test results.
	* gdb.base/call-rt-st.exp: Ditto.
2002-05-23 21:20:53 +00:00
Michael Snyder b61a87338a 2002-05-23 Michael Snyder <msnyder@redhat.com>
* gdb.base/all-bin.exp: Allow for reduced floating point precision.
        * gdb.base/call-rt-st.exp: Ditto.
2002-05-23 15:42:44 +00:00
Michael Chastain 56f6e91079 2002-05-19 Michael Chastain <mec@shout.net>
* gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2002-05-20 05:16:53 +00:00
Elena Zannoni ad0b001691 2002-05-17 Elena Zannoni <ezannoni@redhat.com>
* configure.in (configdirs): Add gdb.arch.
       * configure: Regenerate.
2002-05-20 01:07:14 +00:00
Jim Blandy f617d2b61f * gdb.base/completion.exp: Recognize the more detailed error
messages produced by the macro expander's lexical analyzer.
2002-05-17 22:03:34 +00:00
Elena Zannoni eac2a696e0 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
* gdb.arch/altivec-abi.c: New file.
	* gdb.arch/altivec-abi.exp: New file.
	* gdb.arch/altivec-regs.c: New file.
	* gdb.arch/altivec-regs.exp: New file.
2002-05-14 22:10:16 +00:00
Elena Zannoni 57680a243b 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
* gdb.arch/altivec-abi.c: New file.
	* gdb.arch/altivec-abi.exp: New file.
	* gdb.arch/altivec-regs.c: New file.
	* gdb.arch/altivec-regs.exp: New file.
2002-05-14 22:02:52 +00:00
Daniel Jacobowitz 2fdde8f831 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
* gdbtypes.h: Update accessor macros to use TYPE_MAIN_TYPE.
        (TYPE_CONST, TYPE_VOLATILE, TYPE_CODE_SPACE, TYPE_DATA_SPACE): Use
        TYPE_INSTANCE_FLAGS.
        (struct main_type): New.
        (struct type): Move most members to struct main_type.  Change
        cv_type and as_type to new type_chain member.  Add instance_flags.
        (TYPE_MAIN_TYPE, TYPE_CHAIN, TYPE_INSTANCE_FLAGS): New macros.
        (TYPE_CV_TYPE, TYPE_AS_TYPE): Remove.
        (finish_cv_type): Remove prototype.
        * gdbtypes.c (alloc_type): Update comment.  Allocate TYPE_MAIN_TYPE.
        Set TYPE_CHAIN.
        (alloc_type_instance): New function.
        (smash_type): New function.
        (make_pointer_type, make_reference_type, make_function_type)
        (smash_to_member_type, smash_to_method_type): Call smash_type.
        (make_qualified_type): New function.
        (make_type_with_address_space): Call make_qualified_type.
        (make_cv_type): Likewise.
        (finish_cv_type): Remove unnecessary function.
        (replace_type): Update comment.  Copy TYPE_MAIN_TYPE.
        (recursive_dump_type): Dump TYPE_CHAIN and TYPE_INSTANCE_FLAGS;
        remove TYPE_CV_TYPE and TYPE_AS_TYPE.
        * c-typeprint.c (c_type_print_modifier): Use TYPE_INSTANCE_FLAGS.
        * dwarf2read.c (read_structure_scope): Don't call finish_cv_type.
        * hpread.c (hpread_read_struct_type): Likewise.
        * stabsread.c (read_struct_type): Likewise.

2002-05-14  Daniel Jacobowitz  <drow@mvista.com>

        * gdb.base/maint.exp (maint print type): Update for new type
        structure.
2002-05-14 18:30:53 +00:00
Elena Zannoni e31f1a7cdb 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
* gdb.arch: New directory.
	* gdb.arch/configure.in: New file.
	* gdb.arch/configure: New file.
	* gdb.arch/Makefile.in: New file.
2002-05-14 17:09:13 +00:00
Corinna Vinschen db5897415c * gdb.asm/asm-source.exp: Add v850 as supported target.
* gdb.asm/v850.inc: New file.
2002-05-14 10:25:33 +00:00
Daniel Jacobowitz 8ce2a7dcda 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
* gdb.c++/annota2.exp (annotate-quit): Add comment.
2002-05-13 19:18:52 +00:00
Daniel Jacobowitz df763c7f5b 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/break.exp: Check 'break "marker2"'.
2002-05-13 01:18:19 +00:00
Michael Snyder 377daeed9a 2002-05-10 Michael Snyder <msnyder@redhat.com>
* gdb.base/long_long.exp: Fix typo.
2002-05-10 23:43:04 +00:00
Jim Blandy ecac9a4eaf * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
a bug.
2002-05-10 20:25:26 +00:00
Jim Blandy c4b7bc2bea * gdb.base/printcmds.exp (test_integer_literals_rejected):
Recognize more detailed error message produced by the macro
expander's lexical analyzer.
* lib/gdb.exp (test_print_reject): Same.
2002-05-10 18:38:09 +00:00
Mark Kettenis e71019a17f * gdb.c++/method.exp: Fix typo. 2002-05-09 20:07:16 +00:00
Michael Snyder 166a195727 2002-05-08 Michael Snyder <msnyder@redhat.com>
* gdb.mi/mi-var-child.exp: Accept (void) as well as ().
	* gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
2002-05-09 18:29:33 +00:00
Michael Snyder 35928259ea 2002-05-09 Michael Snyder <msnyder@redhat.com>
* gdb.base/long_long.exp: Add iftarget clause for strongarm.
2002-05-09 18:17:22 +00:00
Michael Snyder fedfc8e665 2002-05-08 Michael Snyder <msnyder@redhat.com>
* gdb.base/long_long.exp: Merge clauses for arm and xscale.
	* gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
2002-05-08 21:05:44 +00:00
Michael Snyder cb9a9d3ed2 2002-05-06 Michael Snyder <msnyder@redhat.com>
* lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
	(gdb_continue_to_end): Accept output from status wrapper.
	* gdb.base/ending-run.exp: Add case for output	from status wrapper.
        Clean up fail messages to match pass messages.
2002-05-07 02:22:08 +00:00
Michael Snyder f1c47eb238 2002-05-06 Michael Snyder <msnyder@redhat.com>
Enable the "needs_status_wrapper" testsuite feature.
	* lib/gdb.exp (gdb_wrapper_init): New procedure.
	(gdb_compile): Conditionally call gdb_wrapper_init.
	* gdb.base/a2-run.exp: Recognize output from status wrapper.
	* gdb.c++/method.exp: Recognize output from status wrapper.
2002-05-07 00:45:46 +00:00
Ben Elliston 6079c749e1 2002-05-06 Ben Elliston <bje@redhat.com>
From Graydon Hoare  <graydon@redhat.com>

	* config/sid.exp: Include support for "rawsid" protocol.
2002-05-06 12:19:30 +00:00
Jim Blandy 188baff3f1 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
* gdb.c++/hang3.C: New file.
2002-05-04 20:51:16 +00:00