aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib
AgeCommit message (Collapse)AuthorFilesLines
2002-05-072002-05-06 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+35
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-04-032002-04-03 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-18/+4
* lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect. (gdb_expect): Remove $notransfer hack.
2001-11-12 * lib/mi-support.exp (mi_run_to_helper): Move commentsDaniel Jacobowitz1-6/+3
outside of gdb_expect.
2001-11-11 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,Daniel Jacobowitz1-2/+94
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-10-21Don't print ``(MI_OUT)'' at startup.Andrew Cagney1-6/+1
2001-10-042001-10-04 Frank Ch. Eigler <fche@redhat.com>Frank Ch. Eigler1-1/+1
* lib/insight-support.exp (gdbtk_start): Don't exit dejagnu if gdb child process crashes, just signal an error.
2001-10-02* lib/gdb.exp (test_xfail_format): Simplify.Jim Blandy1-12/+14
* lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in front of the variable name `format'. Simplify `if'.
2001-09-272001-09-27 Michael Snyder <msnyder@redhat.com>Michael Snyder1-3/+11
* 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-19* approved by kseitzFrank Ch. Eigler1-1/+1
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 * lib/insight-support.exp (_gdbtk_export_target_info): AddKeith Seitz1-0/+17
support for running tests against sid targets. (gdbtk_done): Ditto.
2001-09-152001-09-15 Frank Ch. Eigler <fche@redhat.com>Frank Ch. Eigler1-1/+1
* lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with the "-ac" (disable access control) flag.
2001-08-30 * lib/gdb.exp: Move all insight-related functionality intoKeith Seitz2-280/+293
separate file. * lib/insight-support.exp: New file.
2001-08-19* lib/mi-support.exp (mi_gdb_start): If a remote target, use theAndrew Cagney1-0/+15
CLI jump command to start it. (mi_run_to_main): Fail immediatly when unexpected output.
2001-08-18* lib/mi-support.exp (mi_gdb_start): Move call to sid_start toAndrew Cagney1-6/+6
beginning of function. Fix PR gdb/191.
2001-08-15 * lib/gdb.exp (gdbtk_start): Don't set environmentKeith Seitz1-7/+1
variables for TCL_LIBRARY and friends. Insight will now figure these out for itself.
2001-07-23 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY isKeith Seitz1-2/+7
the empty string, do not run the tests.
2001-06-27For MI>0, output full breakpoint table header information. Output theAndrew Cagney1-0/+1
breakpoint table body as a list.
2001-06-26* stack.c (print_frame): For ui_out, output a list of arguments.Andrew Cagney1-3/+3
Update all tests. Update doco.
2001-06-23Rename gdb.mi/ChangeLog-mi to gdb.mi/ChangeLog. Update everything.Andrew Cagney1-5/+0
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.