summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
Commit message (Collapse)AuthorAgeFilesLines
* * gdb.base/ending-run.c (main): Set stdout buffersizeCorinna Vinschen2001-09-182-1/+5
| | | | | | to the same reasonable value for any target. * gdb.base/ending-run.exp: Add a regular expression to make testsuite happy on Sanyo Stormy16 target.
* * gdb.base/display.c (do_loops): Add float variable `f'.Corinna Vinschen2001-09-172-7/+17
| | | | | | Increment f in loop. * gdb.base/display.exp: Increment timeout by 60 seconds. Change float display test to use variable `f'.
* * gdb.base/restore.exp: Use temporary breakpoints, to avoidJim Blandy2001-09-171-11/+8
| | | | | overflowing the limited breakpoint tables on some ROM monitors (like the ROM68K).
* 2001-08-30 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb2001-09-031-4/+4
| | | | | * gdb.base/remote.c: Use a small buffer for targets with 16-bit ints.
* 2001-08-02 Michael Snyder <msnyder@redhat.com>Michael Snyder2001-08-061-2/+2
| | | | | | * gdb.base/completion.exp: Remove the symbol "a64l" from the expect string; this is target-specific, and not related to what is being tested.
* 2001-07-25 Michael Snyder <msnyder@redhat.com>Michael Snyder2001-07-252-0/+131
| | | | | | * gdb.base/consecutive.exp: New file. Test stepping over breakpoints on consecutive instructions. * gdb.base/consecutive.c: New file.
* 2001-07-25 Michael Snyder <msnyder@redhat.com>Michael Snyder2001-07-251-9/+9
| | | | | * gdb.base/call-rt-st.exp: Use double-backslash to quote curly braces in regular expressions.
* 2001-07-25 Michael Snyder <msnyder@redhat.com>Michael Snyder2001-07-251-33/+51
| | | | | * gdb.base/ending-run.exp: Accept "Program exited normally" as legitimate output from stepping out of main.
* * gdb.base/long_long.exp: Detect size of pointer. Take intoStephane Carrez2001-07-171-5/+37
| | | | account 2-byte pointers when testing for p/a results.
* * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48KStephane Carrez2001-07-172-5/+43
| | | | | | | | and defined to 1K for m68hc11. (random_data): Reduce table to 1K for embedded platforms (68hc11). * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp. (sizeof_random_data): New variable to tell the size of the data table; don't test past this size; always run to main.
* * gdb.base/return2.exp: return of long long and double fails forStephane Carrez2001-07-162-5/+14
| | | | | 68HC11; don't execute these tests on that platform. * gdb.base/return.exp: Return of a double fails for 68hc11.
* * call-ar-st.exp: Use gdb_skip_float_test to avoid executingStephane Carrez2001-07-162-5/+8
| | | | | tests that print a float. * call-rt-st.exp: Likewise.
* * gdb.base/so-impl-ld.exp: Remove stray space that preventedMark Kettenis2001-07-121-1/+1
| | | | running this test on Linux.
* 2001-06-24 Michael Chastain <chastain@redhat.com>Michael Chastain2001-07-091-24/+8
| | | | | * gdb.base/arithmet.exp: Remove some tests to make all test names unique.
* 2001-07-02 Michael Snyder <msnyder@redhat.com>Michael Snyder2001-07-061-1/+1
| | | | | * gdb.base/completion.exp: Don't assume that break.c is the only source file that may contain functions named "marker".
* 2001-07-02 Michael Snyder <msnyder@redhat.com>Michael Snyder2001-07-021-1/+1
| | | | * gdb.base/corefile.exp: Quote the curly braces in regexp.
* 2001-06-22 Michael Chastain <chastain@redhat.com>Michael Chastain2001-06-231-296/+54
| | | | | * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect. This is operationally compatible with the previous version.
* 2001-06-10 Michael Chastain <chastain@redhat.com>Michael Chastain2001-06-111-2/+2
| | | | * gdb.base/exprs.exp: Remove a duplicate test.
* * gdb.base/return2.exp (main): Use values to test float and doubleJim Blandy2001-06-071-2/+21
| | | | | returns that are not NaN's, to avoid being confused by IEEE comparison rules.
* * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):Jim Blandy2001-06-061-2/+2
| | | | Don't forget to match the GDB prompt.
* * gdb.base/help.exp: Update pattern to exclue `print-load-map'Jim Blandy2001-06-051-1/+1
| | | | command.
* * gdb.base/annota1.exp (info break): Match four or more spacesKevin Buettner2001-06-011-1/+1
| | | | after "Address".
* * gdb.base/completion.exp (INPUTRC): Set this environment variableKevin Buettner2001-05-301-14/+20
| | | | | to a known value in order to get consistent results regardless of the setting of INPUTRC or the presence or contents of .inputrc.
* Don't assume that short is shorter than int.Jim Blandy2001-05-251-3/+3
| | | | | | | | | | | * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't assume that shorts are smaller than ints. On a 16-bit machine, this isn't true. ("print unsigned char == (~0)"): Add test that verifies that ~0, an int, is not equal to ~0 stored in an unsigned char. This tests the same thing that the previous test meant to, but works on 16-bit machines, too. ("print unsigned char != (~0)"): Same test, complemented.
* 2001-05-21 Michael Snyder <msnyder@redhat.com>Michael Snyder2001-05-241-7/+27
| | | | * gdb.base/long_long.exp: Allow for targets with 4-byte short.
* * gdb.base/finish.exp (finish_void): Revise pattern forKevin Buettner2001-05-241-1/+1
| | | | | stopping on the call statement to not permit stopping at the start of the instructions comprising the call sequence.
* 2001-05-19 Michael Chastain <chastain@redhat.com>Michael Chastain2001-05-238-47/+42
| | | | | | | | | | | | * gdb.base/callfuncs.exp: Make all test names unique. * gdb.base/commands.exp: Make all test names unique. * gdb.base/condbreak.exp: Make all test names unique. * gdb.base/dbx.exp: Make all test names unique. * gdb.base/default.exp: Make all test names unique. * gdb.base/define.exp: Make all test names unique. Conform some FAIL and TIMEOUT messages to their corresponding PASS message. * gdb.base/ending-run.exp: Make all test names unique. * gdb.base/long_long.exp: Remove duplicate test.
* * gdb.base/finish.exp (finish_void): Allow "finish" command toKevin Buettner2001-05-221-0/+7
| | | | | stop on the call statement as well as the statement after the call.
* 2001-05-10 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2001-05-111-19/+13
| | | | | * gdb.base/completion.exp: Revamp test. Make it execute on all platforms.
* * restore.c: Make the code of caller0 correspond to its comment.Jim Blandy2001-05-071-8/+8
|
* Add new step-line test.Kevin Buettner2001-03-274-1/+222
|
* 2001-03-16 Orjan Friberg <orjanf@axis.com>Orjan Friberg2001-03-161-0/+3
| | | | * gdb.base/signals.exp: Set count to 0 explicitly.
* * gdb.base/annota1.exp: Move test of isnative to earlier in theDavid Taylor2001-03-083-14/+18
| | | | | | | | | | | | | | | | file -- to prevent failing when the compile fails but we have no intention of running the tests anyway. * gdb.base/long_long.exp: Test target_info for no_long_long, skip tests if set. * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte integers. * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true. * gdb.c++/namespace.exp: Ditto. Fix PR gdb/16.
* 2001-02-26 Orjan Friberg <orjanf@axis.com>Orjan Friberg2001-03-072-2/+2
| | | | | * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes. * gdb.base/pointers.exp: Relax pattern match of decimals.
* Update/correct copyright notices.Kevin Buettner2001-03-0682-83/+101
|
* 2001-02-27 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2001-02-281-1/+1
| | | | | * gdb.base/varargs.c (find_max_double): Fix printf format string: first arg is int not float.
* 2001-02-22 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2001-02-231-10/+17
| | | | | * gdb.base/reread.exp: Unsupported for non-native targets; doesn't work for remote debugging.
* 2001-02-19 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2001-02-191-1/+4
| | | | | | From Drew Moseley <dmoseley@redhat.com> * gdb.base/ending-run.exp: Properly handle the BSP state when stepping past the end of main.
* 2001-02-19 John Moore <jmoore@redhat.com>Michael Chastain2001-02-191-18/+6
| | | | | | * gdb.base/commands.exp (infrun_breakpoint_command_test): Converted HPUX fix for non-expected items following multiple step commands into general solution for all platforms.
* Removed files structs3.c structs3.exp.Michael Chastain2001-01-302-112/+0
| | | | These were added by accident. Whoops!
* 2001-01-29 Michael Chastain <chastain@redhat.com>Michael Chastain2001-01-302-0/+112
| | | | | * symtab.c (block_lookup_symbol): Use 'namespace' parameter in symbol comparisons in binary search.
* Restore missing space lost when switching to UI_OUT.Andrew Cagney2001-01-121-1/+1
|
* 2000-12-21 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2000-12-221-2/+9
| | | | | * gdb.base/finish.exp: Accept '1' instead of \001 from char_func. Add a RE to accept a non-ascii char if one is ever presented.
* 2000-12-18 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2000-12-201-24/+24
| | | | | * gdb.base/setvar.exp: Use double '\\' to quote curly braces in regexp. One '\' does not suffice on Linux.
* 2000-12-09 Michael Chastain <chastain@redhat.com>Michael Chastain2000-12-091-10/+9
| | | | | | | | | * gdb.base/break.exp (test_clear_command): Use a marker function rather than 'main' for the test function. Also move this test to an execution point where the marker function names are guaranteed to be bound to functions. (Executing tests after a 'finish' from main runs into name conflicts with local names in __libc_start_main).
* 2000-12-07 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2000-12-083-0/+327
| | | | | | * gdb.base/finish.exp: New test for gdb's "finish" command. * gdb.base/return2.exp: New test for gdb's "return" command. * gdb.base/return2.c: New source file for above.
* 2000-12-05 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2000-12-053-4/+12
| | | | | | | | | | | * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds. * gdb.base/miscexprs.exp: Ditto. * gdb.base/pointers.exp: Ditto. * gdb.c++/derivation.exp: Ditto. * gdb.c++/local.exp: Ditto. * gdb.c++/namespace.exp: Ditto. * gdb.c++/overload.exp: Ditto. * gdb.c++/ref-types.exp: Ditto.
* 2000-12-05 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2000-12-054-12/+28
| | | | | | | | | | | | * gdb.base/constvars.exp: Test result of "up" command. * gdb.base/miscexprs.exp: Ditto. * gdb.base/pointers.exp: Ditto. * gdb.base/scope.exp: Ditto. * gdb.c++/derivation.exp: Ditto. * gdb.c++/local.exp: Ditto. * gdb.c++/namespace.exp: Ditto. * gdb.c++/overload.exp: Ditto. * gdb.c++/ref-types.exp: Ditto.
* 2000-11-22 Michael Chastain <chastain@redhat.com>Fernando Nasser2000-11-281-2/+7
| | | | | | | | * mips_pro.exp: Accept either "middle -> top -> main" or "middle -> main" in the backtrace, because gcc can optimize tail calls to jumps. Remove setup_xfail for the hppa case. Add a comment with the original warning messages from PR 3016, which was filed in 1993, to preserve them for posterity.
* * gdb.base/display.exp: Don't kill running stub. Add "again" toNicholas Duffek2000-11-171-13/+14
| | | | the second kill and detach messages.