Commit Graph

298 Commits

Author SHA1 Message Date
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
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
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
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
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
Corinna Vinschen 1c56143ab1 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string. 2002-09-13 17:20:11 +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
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 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
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 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
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
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
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
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
Daniel Jacobowitz 5f279fa6a9 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
* lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
        (gdb_expect): Remove $notransfer hack.
2002-04-03 16:17:11 +00:00
Daniel Jacobowitz 1902c51fa6 * lib/mi-support.exp (mi_run_to_helper): Move comments
outside of gdb_expect.
2001-11-12 19:44:28 +00:00
Daniel Jacobowitz dcf95b4721 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
        mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
        mi0_run_to): New functions.
        * gdb.mi/mi-simplerun.exp: Use them.
        * gdb.mi/mi0-simplerun.exp: Likewise.
        * gdb.mi/mi-var-cmd.exp: Likewise.
        * gdb.mi/mi0-var-cmd.exp: Likewise.
2001-11-11 20:11:03 +00:00
Andrew Cagney d20bf2e81b Don't print ``(MI_OUT)'' at startup. 2001-10-21 19:43:41 +00:00
Frank Ch. Eigler 1d9d99f32d 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
* lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
	if gdb child process crashes, just signal an error.
2001-10-04 22:11:12 +00:00
Jim Blandy 838ae6c473 * lib/gdb.exp (test_xfail_format): Simplify.
* lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
front of the variable name `format'.  Simplify `if'.
2001-10-02 19:42:10 +00:00
Michael Snyder b55a47712d 2001-09-27 Michael Snyder <msnyder@redhat.com>
* lib/gdb.exp (test_debug_format): New proc.
	(setup_xfail_format): Use new proc test_debug_format.
	* gdb.base/constvars.exp (local_compiler_xfail_check): New
	proc; use new service proc test_debug_format.
	Replace all other "gcc_compiled" tests with this test.
	* gdb.base/volatile.exp (local_compiler_xfail_check): New
	proc; use new service proc test_debug_format.
	Replace all other "gcc_compiled" tests with this test.
2001-09-27 21:35:56 +00:00
Frank Ch. Eigler 2015650dea * approved by kseitz
2001-09-19  Frank Ch. Eigler  <fche@redhat.com>

	* lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
	to localhost:NNN instead of :NNN, in case Xvfb is listening
	only on TCP.
2001-09-19 15:39:54 +00:00
Keith Seitz 6b819c92c4 * lib/insight-support.exp (_gdbtk_export_target_info): Add
support for running tests against sid targets.
	(gdbtk_done): Ditto.
2001-09-19 00:08:43 +00:00
Frank Ch. Eigler 9890ac81bc 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
* lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
	the "-ac" (disable access control) flag.
2001-09-15 17:11:24 +00:00
Keith Seitz 4c32cc04d2 * lib/gdb.exp: Move all insight-related functionality into
separate file.
	* lib/insight-support.exp: New file.
2001-08-30 16:34:04 +00:00
Andrew Cagney 6a90e1d0a6 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
CLI jump command to start it.
(mi_run_to_main): Fail immediatly when unexpected output.
2001-08-19 01:02:58 +00:00
Andrew Cagney 1759b3c3d8 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
beginning of function.  Fix PR gdb/191.
2001-08-18 21:34:28 +00:00
Keith Seitz 942a4df220 * lib/gdb.exp (gdbtk_start): Don't set environment
variables for TCL_LIBRARY and friends. Insight will
	now figure these out for itself.
2001-08-15 21:11:45 +00:00
Keith Seitz 413eca6f96 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
the empty string, do not run the tests.
2001-07-23 19:02:31 +00:00
Andrew Cagney cff22675c6 For MI>0, output full breakpoint table header information. Output the
breakpoint table body as a list.
2001-06-27 17:27:08 +00:00
Andrew Cagney 68c81b5495 * stack.c (print_frame): For ui_out, output a list of arguments.
Update all tests.  Update doco.
2001-06-26 04:48:49 +00:00
Andrew Cagney 2dd627049d Rename gdb.mi/ChangeLog-mi to gdb.mi/ChangeLog. Update everything. 2001-06-23 21:47:09 +00:00
Jim Blandy 8dbfb380f7 * lib/gdb.exp (gdb_test): Doc fix. 2001-06-14 00:12:32 +00:00
Keith Seitz 9671de4892 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
set up the display for testing.
        (gdbtk_start): Convert all paths to paths that tcl will like.
        Export target information to environment.
        (_gdbtk_xvfb_init): New proc to start Xvfb if available and
        necessary.
        (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
        (to_tcl_path): New proc to convert a given pathname into
        a path acceptible as an argument to a tcl command.
        (_gdbtk_export_target_info): New proc to export target info
        into the environment for gdbtk testing.
        (gdbtk_done): New proc to signal end-of-test.
2001-05-07 20:34:45 +00:00
Kevin Buettner b6ba6518e9 Update/correct copyright notices. 2001-03-06 08:22:02 +00:00
Mark Kettenis 7d76bd60cf * mi-support.exp (mi_gdb_start): Skip mi tests if -i flag is
recognized (i.e. if GDB was compiled with UI_OUT, but the mi
interpreter wasn't recognized (because it wasn't compiled in).
2001-01-21 15:07:05 +00:00
Fernando Nasser b4df4f6849 2000-12-20 Fernando Nasser <fnasser@redhat.com>
* Makefile.in (UIOUT_CFLAGS): New macro. CFLAGS needed for uiout code
        to be compiled.  Defines UI_OUT.
        (SUBDIR_MI_CFLAGS): Defines MI_OUT, not UI_OUT.
        (INTERNAL_WARN_CFLAGS): Also include UIOUT_CFLAGS.
        * configure.in (UIOUT_CFLAGS): New configuration variable.
        (--with-uiout): New configuration option.  Causes uiout code to
        be compiled, instead of the old *printf one.
        * configure: Regenerate.
        * top.c (print_gdb_version): Test for and print MI_OUT, not UI_OUT.
        * testsuite/lib/mi-support.exp (mi_gdb_start): Test for MI_OUT,
        not UI_OUT.
2000-12-20 21:24:28 +00:00
Nicholas Duffek 9d2e1bab9d * lib/gdb.exp (gdb_test): Override timeout with board info. 2000-11-17 17:16:24 +00:00
Nicholas Duffek 930764990d * configure.in: Add AC_EXEEXT.
* configure: Regenerate.
	* Makefile.in (just-check): Export EXEEXT.
	* lib/gdb.exp ($EXEEXT): Import from environment.
	* gdb.base/maint.exp: Expect $EXEEXT in executable name.  Don't
	expect "maint dump-me" on Cygwin.
	* gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
	$EXEEXT.
2000-11-17 16:37:48 +00:00
Michael Snyder 13a5e3b841 2000-10-16 Michael Snyder <msnyder@cleaver.cygnus.com>
* lib/gdb.exp (gdb_skip_float_test): New proc.  Skip test if
        no floating point support.
        (gdb_skip_stdio_test): New proc.  Skip test if no stdio support.
        * gdb.base/call-ar-st.exp: Use above procs to skip tests.
        * gdb.base/call-rt-st.exp: Ditto.
        * gdb.base/call-strs.exp: Ditto.
        * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
        * gdb.base/varargs.exp: Skip entire test if no printf support.
        * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
        * gdb.base/shlib-call.exp: Skip several tests if no printf support.
2000-10-17 20:00:21 +00:00
Anthony Green 9d273ca387 * configure: Rebuilt.
* configure.in (configdirs): Add gdb.java.
	* gdb.java/jmisc.java: New file.
	* gdb.java/jmisc.exp: New file.
	* gdb.java/Makefile.in: New file.
	* gdb.java/configure: Rebuilt.
	* gdb.java/configure.in: New file.
	* lib/java.exp: New file.
2000-07-24 04:34:52 +00:00
Andrew Cagney 7d4187854f From 2000-04-28 Andreas Jaeger <aj@suse.de>:
Properly check for GCC version number.
2000-05-01 05:45:36 +00:00
Jim Ingham 73a93a3251 2000-03-13 James Ingham <jingham@leda.cygnus.com>
Add support for a variable object that tries to evaluate itself in
	the currently selected frame, rather than in a fixed frame.

	* wrapper.c,h (gdb_parse_exp_1): Added a wrapper for
 	gdb_parse_exp_1.
	* varobj.h: Added USE_CURRENT_FRAME to varobj_type & changed def'n
	of varobj_create.
	* varobj.c (varobj_list): Return type indicates whether the
	variable's type has changed (for current frame variables).
	(varobj_update): Handle the case where the variable's type has
	changed.
	(delete_variable_1): Allow for deletion of variables that have not
	been installed yet.
	(new_root_variable): Initialize use_selected_frame variable.
	(value_of_root): This is where most of the work to handle "current
	frame" variables was added.  Most of the complexity involves
	handling the case where the type of the variable has changed.
	(varobj_create): Add a "type" argument, to tell if the
	variable is one of these "current frame" variables.  Also protect
	call to parse_exp_1 from long jumping.

	* mi-var-block.exp: The error report from varobj_create changed
	since I am now trapping parse_exp_1 errors.  Change the tests to
	match the new error message.
	* mi-var-child.exp: Ditto.
	* mi-var-cmd.exp: Ditto.

	* lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
	the library directories.

	* gdbtk-varobj.c (variable_create): Pass the correct
	"how_specified" flag to the varobj_create routine.
2000-03-13 21:51:46 +00:00
Andrew Cagney 76c520e05c When GDB doesn't recognize the -i=mi option, assume there is no MI support. 2000-03-04 03:01:38 +00:00
Andrew Cagney fb40c20903 Add mi/ and testsuite/gdb.mi/ subdirectories.
Add --enable-gdbmi option to configury.
Add mi rules to Makefile.in
Add mi conditional output to event-top.c infrun.c main.c top.c.
Add -i=mi option.
2000-02-23 00:25:43 +00:00
Elena Zannoni 853819b8a1 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* lib/gdb.exp: Tell the testsuite that now gdbtk is in the
 	gdbtk/library directory, not in gdbtcl2.
2000-02-14 19:12:30 +00:00
Jason Molenda 3fc11d3e80 import insight-2000-02-04 snapshot (2nd try) 2000-02-07 00:19:45 +00:00
Jason Molenda c2d11a7da0 import gdb-1999-12-06 snapshot 1999-12-07 03:56:43 +00:00
Jason Molenda 4ce44c668d import gdb-1999-11-16 snapshot 1999-11-17 02:31:06 +00:00
Jason Molenda 11cf874164 import gdb-1999-11-08 snapshot 1999-11-09 01:23:30 +00:00
Jason Molenda 917317f4c6 import gdb-1999-10-18 snapshot 1999-10-19 02:47:02 +00:00
Stan Shebs d4f3574e77 import gdb-1999-09-08 snapshot 1999-09-09 00:02:17 +00:00
Jason Molenda a0b3c4fd32 import gdb-1999-08-02 snapshot 1999-08-02 23:48:37 +00:00
Jason Molenda 43ff13b418 import gdb-1999-07-05 snapshot 1999-07-05 17:58:44 +00:00
Jason Molenda 085dd6e638 import gdb-1999-06-28 snapshot 1999-06-28 16:06:02 +00:00
Jason Molenda 9e0b60a847 import gdb-1999-06-21 snapshot 1999-06-21 13:27:42 +00:00
Stan Shebs 7a292a7adf import gdb-19990422 snapshot 1999-04-26 18:34:20 +00:00
Stan Shebs c906108c21 Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
Stan Shebs 071ea11e85 Initial creation of sourceware repository 1999-04-16 01:34:07 +00:00
Jim Ingham c98fe0c119 This is the merge of the Itcl3.0 gdbtk development branch into the
trunk.  To build it, you will have to do update -dP in the itcl
directory, and update tcl, tk, tix and libgui as well.
1999-01-28 03:50:17 +00:00
Michael Snyder 209c77a838 *** empty log message *** 1998-10-08 22:45:53 +00:00
Michael Snyder 27001c664d Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* lib/<emc-support.exp trace-support.exp}: New files.
        * configure.in: add new test directory gdb.trace.
        * gdb.trace/{configure configure.in Makefile.in}: New files.
        * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
        * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
        * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
        * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
        * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
        * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
        * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
1998-09-15 22:25:01 +00:00
Keith Seitz f35ea21826 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
* configure.in: Add options for gdbtk testsuite.

        * configure: Regenerate.

        * gdb.gdbtk: New directory to hold gdbtk tests.

        * gdb.gdbtk/console.{exp, test}: New console window tests.
1998-06-27 00:47:35 +00:00
Bob Manson eead61208d * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
for a newline from gdb before continuing.
	(default_gdb_exit): Just look for y or n.
1998-03-31 08:42:55 +00:00
Bob Manson f33e31a61a * gdb.base/callfuncs.exp: Fix indentation.
* lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
	suppress_flag has been set.
	(gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
	target feature.
1997-09-17 05:24:14 +00:00
Bob Manson fc75bd970a * lib/gdb.exp(gdb_step_for_stub): New function.
(gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
	exists, reload the executable and do a "continue" instead of
	doing a jump.
	(runto_main): Use gdb_step_for_stub.

	* gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
 	tests to have unique names.
	* gdb.base/callfuncs.exp: Ditto.
	* gdb.base/commands.exp: Ditto.
	* gdb.base/default.exp: Ditto.
	* gdb.base/help.exp: Ditto.
	* gdb.base/list.exp: Ditto.
	* gdb.base/opaque.exp: Ditto.
	* gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
	similar tests.

	* gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
	* gdb.c++/cplusfuncs.cc: Ditto.
	* gdb.c++/virtfunc.cc: Ditto.

	* config/monitor.exp: Keep track of the last file we saw, rather
	than trying to get the info from gdb.

	* gdb.fortran/types.exp: Move comment to previous line.

Fixes for TCL8 miscellaneous problems, plus other changes.
1997-09-13 00:08:05 +00:00
Bob Manson 9039701bda * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
if we can't get a debug format from GDB (we may be testing an
 	older GDB). Use a 10 second timeout when checking for the format.

	* gdb.stabs/weird.exp: Fix quoting.
1997-07-04 01:04:45 +00:00
Bob Manson a6d380b997 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
until it has been modified to work with the new testsuite.

	* gdb.*/*.exp: Instead of causing 1 unresolved test when the
 	testcase won't compile, cause all of the testcases in the file to
 	fail instead.

	* lib/gdb.exp(gdb_suppress_entire_file): New procedure.
	(gdb_clear_suppressed): New procedure.
	(gdb_stop_suppressing_tests): Only clear suppress_flag if
	it contains a positive value.
1997-06-30 04:24:17 +00:00
Bob Manson b14f3a01ff * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature. 1997-06-29 04:05:41 +00:00
Fred Fish 70742cd831 * lib/gdb.exp (setup_xfail_format): New function.
(get_debug_format): New function to get debug format.
	(debug_format): New global variable to hold last value set
	by get_debug_format.
	* gdb.base/list.exp: Call get_debug_format and expect some
 	tests to fail for DWARF 1 and COFF formats.
	* gdb.c++/ptype.exp: Ditto.
	* gdb.c++/classes.exp: Ditto.
	* gdb.c++/cplusfuncs.exp: Ditto.
	* gdb.c++/inherit.exp: Ditto.
	* gdb.c++/templates.exp: Ditto.
	* gdb.c++/virtfunc.exp: Ditto.
1997-06-28 06:03:43 +00:00
Bob Manson 5e7be5310d * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
host doesn't have a currently-open connection.

	* config/sparclet.exp: Cleanups and fixes to make it generic for
 	any gdb stub target. Handle cases where gdb doesn't respond when
 	interrupted in a sane fashion.

	* config/m32r.exp: Load sparclet.exp instead of trying to do the
 	same thing in a totally different way.

	* config/monitor.exp: Pass in timeouts to gdb_expect instead of
 	setting "timeout".
	(gdb_start): We set the global gdb_prompt variable in
 	default_gdb_init now.
1997-06-25 16:29:59 +00:00
Fred Fish 41438a392a * gdb.base/printcmds.exp: Fix "check for floating addition"
regexp to accept results within approx +/- .01 of exact value.
	* lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
1997-06-22 16:17:49 +00:00
Bob Manson 283e535d3f (gdb_expect): Add optional timeout parameter, and add timeout
value to various calls.
	(gdb_suppress_tests): Only give one warning message per group.
1997-06-19 04:36:04 +00:00
Bob Manson 585a4b7b35 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
properly.
1997-06-18 18:13:19 +00:00
Bob Manson 66e38fb282 lib/gdb.exp(gdb_expect): Handle getting a value for $timeout
more gracefully.
1997-06-18 05:10:11 +00:00
Bob Manson 17b59a7407 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode
as global variables.
1997-06-17 20:11:04 +00:00
Bob Manson 77f3ac77b5 * lib/gdb.exp: Close connection to remote host if gdb doesn't
initialize.
	(default_gdb_init): New procedure; allow gdb_init to be overridden
 	by a target configuration file.
	(gdb_expect): Pass the timeout to remote_expect.

	* config/dos.exp(dos_wait): Add timeout parameter.

	* lib/remote.exp(remote_expect): Add timeout parameter.
	(remote_wait): Ditto.
	(standard_wait): Ditto. Also give up if the program outputs
	more than 512,000 bytes.

	* config/vxworks.exp: Use timeout parameter instead of setting
	timeout variable.
	* config/dos.exp: Ditto.
	* config/ddb.exp: Ditto.
	* lib/mondfe.exp: Ditto.
	* lib/rlogin.exp: Ditto.
	* lib/telnet.exp: Ditto.
	* config/base68k.exp: Ditto.
	* config/i386-bozo.exp: Ditto.
	* config/gdb-comm.exp: Ditto.
	* config/gdb_stub.exp: Ditto.
	* config/i960.exp: Ditto.
	* config/ddb-ether.exp: Ditto.
	* config/sim.exp: Ditto.

	* lib/g++.exp(g++_init): Use g++_include_flags instead of making
	up the includes ourselves.
1997-06-17 00:08:20 +00:00
Bob Manson 19d31cb3e8 Make sure we keep the old value of timeout set properly. 1997-05-23 06:15:46 +00:00
Bob Manson d8b63305a2 Don't look at timeout unless it exists. 1997-05-23 06:10:08 +00:00
Bob Manson c55809ce2d * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
feature.
1997-05-23 06:05:12 +00:00
Bob Manson fb07c69693 * lib/gdb.exp: Remove spurious .* patterns at the beginning
of regexps.
1997-05-22 06:00:28 +00:00
Bob Manson ddb594ac2a * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
failures.
	(gdb_stop_suppressing_tests): Note that tests have restarted.
1997-04-03 17:47:33 +00:00
Bob Manson fa5864d5f7 Added and updated copyright notices to testsuite expect
scripts.
1997-03-06 22:32:25 +00:00
Bob Manson ae7872effe * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
target feature.
1997-03-06 01:51:44 +00:00
Bob Manson 3c0af8a010 * lib/gdb.exp(gdb_test): Generate a FAIL message when
send_gdb fails.
1997-02-24 21:24:26 +00:00
Bob Manson 40ac16240a * config/vr4300.exp: New file.
* gdb.*/*.exp: Call gdb_expect instead of expect.

	* lib/gdb.exp(gdb_expect): New function.
1997-02-24 05:43:35 +00:00
Bob Manson eb659148ad * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
for each individual variable set.
1997-02-21 00:21:34 +00:00
Bob Manson 6a590607fc * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
$gdb_spawn_id directly.

Checking for errors actually helps. *sigh*
1997-02-11 00:49:17 +00:00
Jeff Law 0979e7bd28 * gdb.base/break.exp: Check for gdb,noresults before testing
exit status and/or results from the target.
        * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
        * lib/gdb.exp: Remove old (now bogus) initialization of
        noinferior, noargs, noresults and nosignals.
More cleanups for new testing framework.
1997-02-06 19:50:33 +00:00
Bob Manson b6f32a5bb9 * config/sh.exp: New file.
* config/slite.exp: Try to connect multiple times to the board
	before rebooting. Only send a "monitor run" if need_monitor_run
	is set.

	* gdb.base/break.exp: Don't do the "stub continue" test if
	the target has gdb_stub set.

	* gdb.base/callfuncs.exp: Increase the timeout.

	* gdb.base/interrupt.exp: Don't even try to compile the testcase
	if the target has gdb,noinferiorio set.

	* gdb.base/list.exp: Increase match_max to 10000 characters.

	* gdb.base/sigall.exp: Check for gdb,nosignals on the target.

	* gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
	target.

	* lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.

Misc fixes for sparclite and SH.
1997-02-05 06:25:42 +00:00
Bob Manson 0d8017baad * lib/gdb.exp(gdb_test): Surround the result pattern with
parenthesis in case it contains multiple regexps separated
	with |.

Fixes last nights native failures.

	* gdb.base/watchpoint.exp: Use gdb_test.
	* gdb.base/default.exp: Ditto.

More improvements.
1997-02-03 03:35:42 +00:00
Bob Manson 85fbaa747f * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
* gdb.base/scope.exp: Use gdb_test.
	* gdb.c++/classes.exp: Ditto.
	* gdb.c++/inherit.exp: Ditto.

More random cleanups. Still lots to go, however.
1997-02-02 07:59:25 +00:00
Bob Manson 05a2139023 * gdb.base/crossload.exp: Don't use execute_anywhere, use
remote_exec instead.
        * gdb.base/corefile.exp: Don't be ridiculous.
        * gdb.base/*.c: Add missing stub invocations.

Fixes failures on HP-UX.
1997-01-31 21:21:31 +00:00
Bob Manson 1a7dadf9cf * lib/gdb.exp: Fix runto.
* gdb.base/signals.exp: Check for a gdb,nosignals feature of
	the target.

	* gdb.base/watchpoint.exp: Fix regexp.

Random miscellaneous fixes. Gotta dig up all these global variables someday..
1997-01-31 01:03:51 +00:00
Bob Manson 83b1cc25d1 * lib/gdb.exp(default_gdb_exit): Add a catch to the
close and wait commands, as the descriptor may now be
	invalid. Always call "remote_close host".

Makes sure things get cleaned up if gdb dies in the middle of a test.
1997-01-31 00:51:45 +00:00
Bob Manson 787f622077 Major revision to testsuites for cross-testing and DOS testing support. 1997-01-29 09:40:31 +00:00
Fred Fish f646eef47b * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
"p func1 ()" and note that rests of tests are skipped.
	* gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
 	setup_xfails for "print func2::coremaker_local".
	Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
	* gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
	affected by the previous run test.
	* gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
	"print array () ubyte (foo)" and "print/x array () byte (\$i)"
	* gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
	"pass int powerset tuple" and "pass modeless int powerset tuple".
	* gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
	"real write 4" and "real write 8".
	* gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
 	setup_xfails for "print vs1 after tuple assign 2",
	"print \$i after tuple assign 2", and
	"print vs2 after tuple assign 2".
	* lib/gdb.exp (gdb_test): When a gdb aborts, print a more
	meaningful error message and return -1 so the caller can
	suppress further tests and avoid a cascade of errors.
1996-10-01 03:29:45 +00:00
Fred Fish e7dc69ffc0 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n. 1996-08-06 19:20:25 +00:00
Fred Fish 5fac6a39dc * gdb.base/signals.exp (test_handle_all_print): Test separately for
each signal's status in the output of "handle all print".
	* lib/gdb.exp (gdb_test): Document that the pattern must NOT include
	the \r\n sequence that immediately precedes the gdb prompt.
	* gdb.base/a1-selftest.exp: Save original timeout and restore
	after test.
1996-08-06 01:18:18 +00:00
Fred Fish 302fcffb7e * lib/gdb.exp (default_gdb_start): When reporting a timeout during
gdb initialization, also report how long dejagnu waited.  Restore
	old timeout before doing error return.  Temporarily increase timeout
 	by 3 minutes to allow for slow startups over heavy NFS use.
1996-06-28 00:30:45 +00:00
Fred Fish a26fa899a0 * lib/gdb.exp: Report timeout value for verbosity level 2.
* config/gdbserver.exp: Ditto.
	* config/hppro.exp: Ditto.
	* config/mips-gdb.exp: Ditto.
	* config/monitor.exp: Ditto.
	* config/netware.exp: Ditto.
	* config/sim-gdb.exp: Ditto.
	* config/slite-gdb.exp: Ditto.
	* config/udi-gdb.exp: Ditto.
	* config/unix-gdb.exp: Ditto.
	* config/vx-gdb.exp: Ditto.
	* gdb.base/a1-selftest.exp: Ditto.
	* gdb.base/a2-run.exp: Ditto.
	* gdb.base/break.exp: Ditto.
	* gdb.base/corefile.exp: Ditto.
	* gdb.base/list.exp: Ditto.
	* gdb.base/recurse.exp: Ditto.
	* gdb.base/scope.exp: Ditto.
	* gdb.base/signals.exp: Ditto.
1996-06-26 04:38:38 +00:00
Jeff Law 4771fe157f * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
Load libgloss.exp.
1996-02-02 17:20:54 +00:00
Kung Hsu 065924f7de * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs. 1995-03-31 00:43:12 +00:00
Kung Hsu 3c23a941c3 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1. 1995-03-29 20:31:26 +00:00
Jim Kingdon b34b32e7f9 * lib/gdb.exp (default_gdb_version): A version number must start
with a digit, but other than that contains all characters up to
	the first whitespace character.
1995-03-27 16:05:08 +00:00
Jim Kingdon 8c7ab5da73 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.). 1995-03-24 20:05:28 +00:00
Kung Hsu 120edc2f7c * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
will not runto main but do a 'step' to step out of breakpoint().
1995-03-22 01:11:34 +00:00
Jim Kingdon f2ee99a46f * lib/gdb.exp: Skip CHILL for AIX and Solaris. 1995-03-17 15:20:42 +00:00
Jim Kingdon 96528ad569 * lib/gdb.exp: Skip CHILL for AIX. 1995-03-17 13:45:00 +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
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
Jim Kingdon f7ef65ff72 * lib/gdb.exp: Just use "file exists", rather than undocumented
dejagnu procedure "findfile".
1995-02-17 00:00:53 +00:00
J.T. Conklin 65424cda04 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
Removed, these values are set by lib/gdb.exp.
* lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
1995-02-16 18:41:54 +00:00
Jim Kingdon f34c87666e * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
	gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
	gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
	it makes the tests harder to understand and confuses test-o-matic.
	The preferred style is that each test provides a PASS or a FAIL,
	and has a unique message (e.g. "continue #54" not just "continue")
	which is the same for the pass and the fail.
	* gdb.fortran/exprs.exp, gdb.fortran/types.exp,
	gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
	to lib/gdb.exp.
	* gdb.base/printcmds.exp: Use test_print_accept.  Remove
	prt_accept which was basically the same thing.  Likewise for
	test_print_reject and prt_reject.
	* lib/gdb.exp (test_print_reject): Add some more error message
	patterns to match from the former printcmds.exp (prt_reject).
	* gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
	One defect of the passcount stuff is that some of it failed to
	report XPASS where appropriate.
	* gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
	stuff before and after arg in expected pattern.
	(test_paddr_operator_functions): Re-do test without print_addr_of;
	this is the only test which seems to want extra stuff there.
1995-01-20 22:26:33 +00:00
Stan Shebs 70bcd4bc7e * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
patterns, since that is not a valid context for comments.
1994-08-24 02:21:37 +00:00
J.T. Conklin 959fea03b5 Changed pattern in gdb_run_cmd to match up to the first newline only.
The old pattern used ".*$", which could, and did, swallow up output
that we were attempting to match elsewhere.
1994-07-20 17:29:02 +00:00
J.T. Conklin 4f2ec2eeb8 New implementation of gdb_run_cmd which fixes some subtle bugs. 1994-07-20 16:40:08 +00:00
J.T. Conklin 412c988b1d Temporarily back out last change 1994-07-20 01:03:24 +00:00
J.T. Conklin b34c14fb19 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd. 1994-07-19 22:57:49 +00:00
J.T. Conklin 809943cfa9 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
running.
1994-07-19 22:19:41 +00:00
J.T. Conklin 3e304ddfab * gdb.base/bitfields.exp: Simplify by using delete_breakpoints and
gdb_test.
* lib/gdb.exp (gdb_test): if match times out, don't call fail if
  message is "".
1994-07-19 17:33:52 +00:00
Stan Shebs 0fba9aa255 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
* config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
	* lib/gdb.exp (default_gdb_start): Define.
1994-06-08 19:25:43 +00:00
Jim Kingdon 68361314c0 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
(which was basically just a local version of the same thing).  In
	addition to avoiding duplication, gdb_test_exact is faster.
	* lib/gdb.exp (gdb_test_exact): Fix typo.
1994-06-07 16:40:10 +00:00
Jim Kingdon 31711c6961 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
don't give an error.
	* gdb.base/term.exp: Call delete_breakpoints before starting.
1994-06-07 16:04:40 +00:00
Per Bothner faa157708b * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures. 1994-06-02 23:02:00 +00:00
Bill Cox 90fba5fa0f * Revert the previous changes. Please see Rob's directory
/lisa/test/rob/progressive/gdb/testsuite for these fixes.
1994-05-21 17:24:22 +00:00
Bill Cox 2f10998399 * Makefile.in, configure.in, config/mips-gdb.exp,
config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
          config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
          config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
	  gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
	  gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
	  gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
	  gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
	  gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
	  gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
	  gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
	  gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
	  gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
	  gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
	  gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
	  gdb.t24/demangle.exp, lib/gdb.exp:  Check in Rob's testing
	  changes from 94Q1.
1994-05-19 19:58:04 +00:00
Bill Cox 8f07e53768 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
lib/gdb.exp: Replace error proc calls with perror.
1994-05-17 22:06:15 +00:00
Rob Savoye 002cc99ff6 Apply patches from gdb 4.12 testing. 1994-01-17 23:28:29 +00:00
Rob Savoye 9bcc6c3f67 Tweaked to work with either version of expect. 1994-01-11 05:09:44 +00:00
Jim Kingdon 51763ee245 * lib/gdb.exp: Comment out code which depends on non-existent
`transform' procedure.
1993-11-03 19:57:50 +00:00
Rob Savoye 85174909de * lib/gdb.exp: Transform tool name.
* gdb.t*/*.exp: Change error to perror so it works with DejaGnu
	1.1's new error handling system.
1993-11-03 18:28:22 +00:00
Rob Savoye 5019a2755a Add default gdb version so it can be shared. 1993-08-30 23:12:28 +00:00
Rob Savoye c79f61db34 Make gdb_exit into default_gdb_exit so it can be shared. 1993-08-30 23:08:02 +00:00
Fred Fish b5ed6e32c2 Remove '.Sanitize' from explicit list of Things-to-lose. It is now implicitly
added to the list by Sanitize, unless Sanitize knows it needs to keep it.
1993-08-02 23:29:32 +00:00
Fred Fish 775d4a4096 Add .Sanitize to Things-to-lose list. 1993-07-30 16:46:19 +00:00
K. Richard Pixley 87756e15db added things-to-lose sections 1993-05-27 06:44:29 +00:00
Mike Werner bf3d2b7571 * gdb/testsuite: made modifications to testcases, etc., to allow
them to work properly  given the reorganization of deja-gnu and the
	relocation of the testcases from deja-gnu to a "tool" subdirectory.
1993-02-22 16:20:25 +00:00
Mike Werner 19fa4a0af3 * gdb/testsuite: Initial creation of gdb/testsuite.
Migrated dejagnu testcases and support files for testing nm to
	gdb/testsuite from deja-gnu.  These files were moved "as is"
	with no modifications.	This migration is part of a major overhaul
	of dejagnu.  The modifications to these testcases, etc., which
	will allow them to work with the new version of dejagnu will be
	made in a future update.
1993-02-21 20:03:55 +00:00