aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib
AgeCommit message (Collapse)AuthorFilesLines
2001-06-14* lib/gdb.exp (gdb_test): Doc fix.Jim Blandy1-1/+5
2001-05-07 * lib/gdb.exp (gdbtk_initialize_display): New proc which willKeith Seitz1-18/+195
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-03-06Update/correct copyright notices.Kevin Buettner2-2/+3
2001-01-21* mi-support.exp (mi_gdb_start): Skip mi tests if -i flag isMark Kettenis1-0/+5
recognized (i.e. if GDB was compiled with UI_OUT, but the mi interpreter wasn't recognized (because it wasn't compiled in).
2000-12-202000-12-20 Fernando Nasser <fnasser@redhat.com>Fernando Nasser1-1/+1
* 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-11-17 * lib/gdb.exp (gdb_test): Override timeout with board info.Nicholas Duffek1-4/+8
2000-11-17 * configure.in: Add AC_EXEEXT.Nicholas Duffek1-0/+10
* 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-10-172000-10-16 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+27
* 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-07-24 * configure: Rebuilt.Anthony Green1-0/+105
* 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-05-01From 2000-04-28 Andreas Jaeger <aj@suse.de>:Andrew Cagney1-1/+1
Properly check for GCC version number.
2000-03-132000-03-13 James Ingham <jingham@leda.cygnus.com>Jim Ingham1-10/+12
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-04When GDB doesn't recognize the -i=mi option, assume there is no MI support.Andrew Cagney1-0/+5
2000-02-23Add mi/ and testsuite/gdb.mi/ subdirectories.Andrew Cagney1-0/+683
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-142000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni1-1/+1
* lib/gdb.exp: Tell the testsuite that now gdbtk is in the gdbtk/library directory, not in gdbtcl2.
2000-02-07import insight-2000-02-04 snapshot (2nd try)Jason Molenda1-0/+101
1999-12-07import gdb-1999-12-06 snapshotJason Molenda1-8/+12
1999-11-17import gdb-1999-11-16 snapshotJason Molenda3-4/+94
1999-11-09import gdb-1999-11-08 snapshotJason Molenda1-1/+16
1999-10-19import gdb-1999-10-18 snapshotJason Molenda1-24/+40
1999-09-09import gdb-1999-09-08 snapshotStan Shebs1-1/+14
1999-08-02import gdb-1999-08-02 snapshotJason Molenda1-18/+58
1999-07-05import gdb-1999-07-05 snapshotJason Molenda1-22/+28
1999-06-28import gdb-1999-06-28 snapshotJason Molenda1-1/+82
1999-06-21import gdb-1999-06-21 snapshotJason Molenda1-5/+10
1999-04-26import gdb-19990422 snapshotStan Shebs1-8/+55
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs3-0/+1864
1999-04-16Initial creation of sourceware repositoryStan Shebs3-1749/+0
1999-01-28This is the merge of the Itcl3.0 gdbtk development branch into theJim Ingham1-5/+222
trunk. To build it, you will have to do update -dP in the itcl directory, and update tcl, tk, tix and libgui as well.
1998-10-08*** empty log message ***Michael Snyder1-0/+2
1998-09-15Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+307
* 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-06-27 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.Keith Seitz1-0/+31
* 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-03-31 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; waitBob Manson1-9/+43
for a newline from gdb before continuing. (default_gdb_exit): Just look for y or n.
1997-09-17 * gdb.base/callfuncs.exp: Fix indentation.Bob Manson1-42/+59
* 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-13 * lib/gdb.exp(gdb_step_for_stub): New function.Bob Manson1-9/+87
(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-07-04 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to failBob Manson1-5/+9
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-06-30 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabledBob Manson1-2/+15
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-29 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.Bob Manson1-5/+2
1997-06-28 * lib/gdb.exp (setup_xfail_format): New function.Fred Fish1-0/+47
(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-25 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remoteBob Manson1-3/+9
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-22 * gdb.base/printcmds.exp: Fix "check for floating addition"Fred Fish1-1/+0
regexp to accept results within approx +/- .01 of exact value. * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
1997-06-19 (gdb_expect): Add optional timeout parameter, and add timeoutBob Manson1-65/+53
value to various calls. (gdb_suppress_tests): Only give one warning message per group.
1997-06-18 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_initBob Manson1-1/+1
properly.
1997-06-18 lib/gdb.exp(gdb_expect): Handle getting a value for $timeoutBob Manson1-8/+11
more gracefully.
1997-06-17 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCodeBob Manson1-0/+2
as global variables.
1997-06-17 * lib/gdb.exp: Close connection to remote host if gdb doesn'tBob Manson1-3/+9
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-05-23 Make sure we keep the old value of timeout set properly.Bob Manson1-3/+7
1997-05-23 Don't look at timeout unless it exists.Bob Manson1-3/+9
1997-05-23 * lib/gdb.exp(gdb_expect): Look for gdb,timeout targetBob Manson1-0/+8
feature.
1997-05-22 * lib/gdb.exp: Remove spurious .* patterns at the beginningBob Manson1-28/+34
of regexps.
1997-04-03 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequentBob Manson1-4/+17
failures. (gdb_stop_suppressing_tests): Note that tests have restarted.