summaryrefslogtreecommitdiff
path: root/gdb/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* 2002-04-03 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2002-04-032-18/+9
| | | | | * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect. (gdb_expect): Remove $notransfer hack.
* 2002-04-02 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2002-04-032-1/+6
| | | | | * gdb.c++/classes.exp ("calling method for small class"): Match updated register output.
* 2002-03-30 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2002-03-302-15/+20
| | | | | | | Fix PR gdb/452 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd when finished. Make gdb_file_cmd send "exec-file" when appropriate.
* 2002-03-30 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2002-03-302-7/+4
| | | | * gdb.base/attach.exp: Remove extra setup_xfail.
* 2002-03-26 Michael Snyder <msnyder@redhat.com>Michael Snyder2002-03-295-8/+554
| | | | | | | * gdb.base/default.exp: Add tests for dump, append, and restore. * gdb.base/help.exp: Add tests for dump, append, and restore. * gdb.base/dump.exp: New file, test dump, append and restore. * gdb.base/dump.c: New file.
* 2002-03-27 Michael Snyder <msnyder@redhat.com>Michael Snyder2002-03-282-11/+16
| | | | | * gdb.base/help.exp: Modify expect strings to reflect clean-ups in help messages.
* 2002-03-26 Fred Fish <fnf@redhat.com>Fred Fish2002-03-262-4/+24
| | | | | | * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we have debugging info for those functions and the compiler uses them internally to copy structs around.
* 2002-03-26 Fred Fish <fnf@redhat.com>Fred Fish2002-03-262-1/+13
| | | | | * gdb.base/list.exp: Revert the change made yesterday and add note about why we don't list the default lines for remote targets.
* 2002-03-25 Michael Snyder <msnyder@redhat.com>Michael Snyder2002-03-262-247/+251
| | | | * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
* 2002-03-25 Fred Fish <fnf@redhat.com>Fred Fish2002-03-262-7/+7
| | | | | * gdb.base/list.exp: This test works on remote targets so remove the short circuit for remote targets. Update copyright.
* Sigh, should have updated the copyright date in theFred Fish2002-03-261-1/+1
| | | | change I just checked in. Fix it here.
* 2002-03-25 Fred Fish <fnf@redhat.com>Fred Fish2002-03-262-12/+19
| | | | | | | * gdb.base/attach.exp: Fix logic error that was suppressing this test for all non hppa*-*-hpux* targets, instead of the hp target. Move comments closer to the suppression point. Also now need to check that we are running natively.
* 2002-03-22 Michael Snyder <msnyder@redhat.com>Michael Snyder2002-03-233-4/+4
| | | | | * gdb.base/default.exp: Add test for gcore. Update copyright. * gdb.base/help.exp: Add test for gcore. Update copyright.
* 2002-03-22 Michael Snyder <msnyder@redhat.com>Michael Snyder2002-03-233-0/+47
| | | | | * gdb.base/default.exp: Add test for gcore. * gdb.base/help.exp: Add test for gcore.
* This is a duplicate of an entry I made in testsuite/ChangeLog.Michael Chastain2002-03-101-0/+6
| | | | | | | | | | | | I overlooked that testsuite/gdb.mi/ChangeLog has its own ChangeLog. I'm leaving the testsuite/ChangeLog entry in place (ChangeLogs are permanent), and adding this one where it belongs. 2002-03-04 Michael Chastain <mec@shout.net> * mi-var-cmd.exp: In test "create local variable func", accommodate gcc v3 function signature. * mi0-var-cmd-exp: Ditto.
* 2002-03-07 Martin M. Hunt <hunt@redhat.com>Martin Hunt2002-03-072-12/+17
| | | | | * srcwin.test (5.1): Adjust line numbers to test now runs correctly.
* Checked in under the "obvious fix/typo rule".Fred Fish2002-03-073-2/+7
| | | | | | 2002-03-06 Fred Fish <fnf@redhat.com> * gdb.base/funcargs.c: Remove extraneous ';' character. * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
* 2002-03-04 Michael Chastain <mec@shout.net>Michael Chastain2002-03-053-4/+10
| | | | | | * gdb.mi/mi-var-cmd.exp: In test "create local variable func", accommodate gcc v3 function signature. * gdb.mi/mi0-var-cmd-exp: Ditto.
* s/Linux/.../Andrew Cagney2002-02-243-6/+11
| | | | Fix PR gdb/378.
* 2002-02-24 Michael Chastain <mec@shout.net>Michael Chastain2002-02-242-1/+9
| | | | | | * gdb.threads/pthreads.c (thread1): Add a return statement. (thread2): Likewise. (foo): Likewise.
* 2002-02-23 Michael Chastain <mec@shout.net>Michael Chastain2002-02-242-0/+7
| | | | | * gdb.threads/linux-dp.c (philosopher): Add a return statement to placate gcc.
* 2002-02-23 Michael Chastain <mec@shout.net>Michael Chastain2002-02-232-5/+6
| | | | | * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on test "ptype bint". The test passes on all my stabs configurations.
* * gdb.asm/asm-source.exp: Parse the output from `info sources' oneJim Blandy2002-02-212-4/+34
| | | | filename at a time, and watch for the ones we want to see.
* * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printingJim Blandy2002-02-213-0/+85
| | | | types of pointers to prototyped functions.
* * gdb.base/sizeof.c (main): Call fill_structs. Print value ofAndrew Cagney2002-02-213-11/+188
| | | | | | | | | | | | | | | signed, unsigned and straight char. (padding_char, padding_short, padding_int, padding_long, padding_long_long, padding_float, padding_double, padding_long_double): New global variables. (fill, fill_structs): New functions. * gdb.base/sizeof.exp: Check for signed and unsigned char. Check for correctly sized writes. Update copyright. (get_valueof): New procedure. (get_sizeof): Call get_valueof. (check_valueof): New procedure. (check_padding): New procedure.
* 2002-02-20 Michael Chastain <mec@shout.net>Michael Chastain2002-02-202-24/+41
| | | | | * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls to setup_xfail. Document some of the remaining calls.
* 2002-02-18 Michael Chastain <mec@shout.net>Michael Chastain2002-02-182-1/+5
| | | | * gdb.c++/userdef.exp: Update copyright year.
* 2002-02-18 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2002-02-182-273/+63
| | | | | * gdb.c++/userdef.exp: Test overloaded operators properly. Remove xfails.
* 2002-02-14 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2002-02-149-13/+26
| | | | | | | | | | | * gdb.base/a2-run.exp: Check for a remote target properly. * gdb.base/annota1.exp: Likewise. * gdb.base/list.exp: Likewise. * gdb.base/reread.exp: Likewise. * gdb.base/scope.exp: Likewise. * gdb.base/shlib-call.exp: Likewise. * gdb.base/term.exp: Likewise. * gdb.c++/annota2.exp: Likewise.
* * gdb.base/watchpoint.exp: Restore previous timeout at end of test.Richard Earnshaw2002-02-132-0/+9
|
* 2002-02-10 Michael Chastain <mec@shout.net>Michael Chastain2002-02-112-2/+7
| | | | | * gdb.base/funcargs.c (localvars_after_alloca): Fix return type. (call_after_alloca): Ditto.
* Update copyright date.Daniel Jacobowitz2002-02-101-1/+1
|
* 2002-02-10 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2002-02-102-1/+10
| | | | | * gdb.base/ending-run.exp: Guard "cont" test with gdb_skip_stdio_test.
* * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these testsJim Blandy2002-02-073-4/+74
| | | | | | from here... * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp: To here. Disable this test on non-HP platforms. Add big comment.
* * mi-regs.exp: Various cleanups for SPARC-only tests.Jim Blandy2002-02-053-9/+19
| | | | | | | | | | | | | (test_breakpoints_creation_and_listing): Format of breakpoint table has changed. (sparc_register_tests): Expand floating-point number regexp to recognize NaN values, too. Replace ineffectual single backslash before a hyphen with a double backslash. Don't check the exact numbers of the registers which have changed, since there's no way to know which registers changed, exactly; just check that the result is well-formed. * mi0-regs.exp: (sparc_register_tests): Same as for sparc_register_tests in mi-regs.exp.
* * mi-var-child.exp ("get children of struct_declarations", "getJim Blandy2002-02-053-6/+18
| | | | | | | children of struct_declarations.s2.u2.u1s2", "get children of weird"): Tolerate argument types when they appear in function types. (Dwarf 2 includes prototype info; STABS does not.) * mi0-var-child.exp: Same.
* 2002-02-04 Michael Snyder <msnyder@redhat.com>Michael Snyder2002-02-052-5/+12
| | | | | * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets other than d10v and m32r.
* 2002-01-14 Michael Snyder <msnyder@redhat.com>Michael Snyder2002-02-051-2/+2
| | | | * gdb.base/gcore.exp: Remove extra debugging output.
* * gdb.base/default.exp: Rewrite test patterns to reduce timeRichard Earnshaw2002-02-042-22/+27
| | | | taken to match them.
* 2002-01-30 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2002-01-313-4/+10
| | | | | | * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling. Allow a start function above main. * gdb.threads/linux-dp.exp: Fix copyright date.
* 2002-01-30 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2002-01-312-10/+16
| | | | | | * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'. (check_philosopher_stack): Check for manager thread before checking for a just-starting thread.
* 2002-01-30 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2002-01-302-13/+19
| | | | | | From Neil Booth <neil@daikokuya.demon.co.uk>: * gdb.base/bitfields.c: Correct assignments to bitfields to avoid warnings.
* 2002-01-21 Fred Fish <fnf@redhat.com>Fred Fish2002-01-222-1/+6
| | | | | * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee not caller.
* * infcmd.c (run_command): Check that the `exec' target layer's BFDJim Blandy2002-01-212-1/+70
| | | | | | | | is up-to-date before running the program, not just when a program exits. * testsuite/gdb.base/reread.exp: Check that GDB properly re-reads the executable file when it changes while no inferior is running.
* Approved by fnasser@redhat.com:Fred Fish2002-01-212-25/+11
| | | | | | 2002-01-21 Fred Fish <fnf@redhat.com> * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to optionally accept the "shlib events" variation.
* * gdb.base/ending-run.c (main): Avoid messing with setvbuf; justJim Blandy2002-01-213-5/+14
| | | | | | | | call `fflush' after every `printf', so that the output is produced at predictable points, regardless of whatever buffering does (or doesn't) take place. * gdb.base/ending-run.exp: Adjust tests to expect output to appear at different points.
* Copyright year updates.Daniel Jacobowitz2002-01-203-2/+7
|
* 2002-01-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2002-01-206-32/+66
| | | | | | | | | * gdb.c++/classes.exp: Update for improved v3 support and skipping artificial methods/arguments. * gdb.c++/derivation.exp: Likewise. * gdb.c++/inherit.exp: Likewise. * gdb.c++/method.exp: Likewise. * gdb.c++/virtfunc.exp: Likewise.
* Mark testsuite/gdb.hp/gdb.threads-hp/ as obsolete.Andrew Cagney2002-01-197-636/+645
|
* * console.test: Don't rely on "event generate" to doKeith Seitz2002-01-182-24/+53
| | | | | | keystrokes. It just doesn't work. Use the console window's "test" method instead. Use Console::test instead of Console::get_text.