summaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib
Commit message (Collapse)AuthorAgeFilesLines
* * gdb/source.c (source_info): Mention whether the symtab hasJim Blandy2002-06-111-1/+1
| | | | | | | | | | 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-05-15 Nick Clifton <nickc@cambridge.redhat.com>Michael Snyder2002-05-231-2/+7
| | | | | | | | * 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.
* * gdb.base/printcmds.exp (test_integer_literals_rejected):Jim Blandy2002-05-101-0/+8
| | | | | | Recognize more detailed error message produced by the macro expander's lexical analyzer. * lib/gdb.exp (test_print_reject): Same.
* 2002-05-06 Michael Snyder <msnyder@redhat.com>Michael Snyder2002-05-071-1/+10
| | | | | | | * 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-06 Michael Snyder <msnyder@redhat.com>Michael Snyder2002-05-071-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-03 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2002-04-031-18/+4
| | | | | * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect. (gdb_expect): Remove $notransfer hack.
* * lib/mi-support.exp (mi_run_to_helper): Move commentsDaniel Jacobowitz2001-11-121-6/+3
| | | | outside of gdb_expect.
* * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,Daniel Jacobowitz2001-11-111-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.
* Don't print ``(MI_OUT)'' at startup.Andrew Cagney2001-10-211-6/+1
|
* 2001-10-04 Frank Ch. Eigler <fche@redhat.com>Frank Ch. Eigler2001-10-041-1/+1
| | | | | * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu if gdb child process crashes, just signal an error.
* * lib/gdb.exp (test_xfail_format): Simplify.Jim Blandy2001-10-021-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-27 Michael Snyder <msnyder@redhat.com>Michael Snyder2001-09-271-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.
* * approved by kseitzFrank Ch. Eigler2001-09-191-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.
* * lib/insight-support.exp (_gdbtk_export_target_info): AddKeith Seitz2001-09-191-0/+17
| | | | | support for running tests against sid targets. (gdbtk_done): Ditto.
* 2001-09-15 Frank Ch. Eigler <fche@redhat.com>Frank Ch. Eigler2001-09-151-1/+1
| | | | | * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with the "-ac" (disable access control) flag.
* * lib/gdb.exp: Move all insight-related functionality intoKeith Seitz2001-08-302-280/+293
| | | | | separate file. * lib/insight-support.exp: New file.
* * lib/mi-support.exp (mi_gdb_start): If a remote target, use theAndrew Cagney2001-08-191-0/+15
| | | | | CLI jump command to start it. (mi_run_to_main): Fail immediatly when unexpected output.
* * lib/mi-support.exp (mi_gdb_start): Move call to sid_start toAndrew Cagney2001-08-181-6/+6
| | | | beginning of function. Fix PR gdb/191.
* * lib/gdb.exp (gdbtk_start): Don't set environmentKeith Seitz2001-08-151-7/+1
| | | | | variables for TCL_LIBRARY and friends. Insight will now figure these out for itself.
* * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY isKeith Seitz2001-07-231-2/+7
| | | | the empty string, do not run the tests.
* For MI>0, output full breakpoint table header information. Output theAndrew Cagney2001-06-271-0/+1
| | | | breakpoint table body as a list.
* * stack.c (print_frame): For ui_out, output a list of arguments.Andrew Cagney2001-06-261-3/+3
| | | | Update all tests. Update doco.
* Rename gdb.mi/ChangeLog-mi to gdb.mi/ChangeLog. Update everything.Andrew Cagney2001-06-231-5/+0
|
* * lib/gdb.exp (gdb_test): Doc fix.Jim Blandy2001-06-141-1/+5
|
* * lib/gdb.exp (gdbtk_initialize_display): New proc which willKeith Seitz2001-05-071-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.
* Update/correct copyright notices.Kevin Buettner2001-03-062-2/+3
|
* * mi-support.exp (mi_gdb_start): Skip mi tests if -i flag isMark Kettenis2001-01-211-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-20 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2000-12-201-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.
* * lib/gdb.exp (gdb_test): Override timeout with board info.Nicholas Duffek2000-11-171-4/+8
|
* * configure.in: Add AC_EXEEXT.Nicholas Duffek2000-11-171-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-16 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2000-10-171-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.
* * configure: Rebuilt.Anthony Green2000-07-241-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.
* From 2000-04-28 Andreas Jaeger <aj@suse.de>:Andrew Cagney2000-05-011-1/+1
| | | | Properly check for GCC version number.
* 2000-03-13 James Ingham <jingham@leda.cygnus.com>Jim Ingham2000-03-131-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.
* When GDB doesn't recognize the -i=mi option, assume there is no MI support.Andrew Cagney2000-03-041-0/+5
|
* Add mi/ and testsuite/gdb.mi/ subdirectories.Andrew Cagney2000-02-231-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-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-02-141-1/+1
| | | | | * lib/gdb.exp: Tell the testsuite that now gdbtk is in the gdbtk/library directory, not in gdbtcl2.
* import insight-2000-02-04 snapshot (2nd try)Jason Molenda2000-02-071-0/+101
|
* import gdb-1999-12-06 snapshotJason Molenda1999-12-071-8/+12
|
* import gdb-1999-11-16 snapshotJason Molenda1999-11-171-4/+29
|
* Initial revisionJason Molenda1999-11-172-0/+65
|
* import gdb-1999-11-08 snapshotJason Molenda1999-11-091-1/+16
|
* import gdb-1999-10-18 snapshotJason Molenda1999-10-191-24/+40
|
* import gdb-1999-09-08 snapshotStan Shebs1999-09-091-1/+14
|
* import gdb-1999-08-02 snapshotJason Molenda1999-08-021-18/+58
|
* import gdb-1999-07-05 snapshotJason Molenda1999-07-051-22/+28
|
* import gdb-1999-06-28 snapshotJason Molenda1999-06-281-1/+82
|
* import gdb-1999-06-21 snapshotJason Molenda1999-06-211-5/+10
|
* import gdb-19990422 snapshotStan Shebs1999-04-261-8/+55
|
* Initial revisionStan Shebs1999-04-163-0/+1864