diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2003-01-15 14:25:11 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2003-01-15 14:25:11 +0000 |
commit | 42ff4f974e32c6561c61d66f55c7005de1305506 (patch) | |
tree | 09c338a4ace31e520ed96ee7c627b9602d0bf564 /gdb/testsuite/gdb.base/break.exp | |
parent | 04fe94284bd633e4b0483e46838a1848b64d2b60 (diff) | |
download | gdb-42ff4f974e32c6561c61d66f55c7005de1305506.tar.gz |
2003-01-15 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/break.exp: Move the tests of until command from here...
* gdb.base/until.exp: ... to here. New file. Add other tests.
* gdb.base/advance.c: New file.
* gdb.base/advance.exp: New file.
Diffstat (limited to 'gdb/testsuite/gdb.base/break.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/break.exp | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/gdb/testsuite/gdb.base/break.exp b/gdb/testsuite/gdb.base/break.exp index e3aa922bc50..6e393e614d6 100644 --- a/gdb/testsuite/gdb.base/break.exp +++ b/gdb/testsuite/gdb.base/break.exp @@ -1,5 +1,5 @@ # Copyright 1988, 1990, 1991, 1992, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2002 +# 2000, 2002, 2003 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -154,6 +154,7 @@ if {$hp_aCC_compiler} { } else { set proto "" } + gdb_test "info break" \ "Num Type\[ \]+Disp Enb Address\[ \]+What.* \[0-9\]+\[\t \]+breakpoint keep y.* in main at .*$srcfile:$main_line.* @@ -166,7 +167,6 @@ gdb_test "info break" \ \[0-9\]+\[\t \]+breakpoint keep y.* in multi_line_while_conditional at .*$srcfile:124" \ "breakpoint info" - # FIXME: The rest of this test doesn't work with anything that can't # handle arguments. # Huh? There doesn't *appear* to be anything that passes arguments @@ -363,29 +363,6 @@ gdb_expect { timeout {fail "(timeout) $name"} } -# Verify that "until <location>" works. (This is really just syntactic -# sugar for "tbreak <location>; continue".) -# -send_gdb "until 79\n" -gdb_expect { - -re "main .* at .*:79.*$gdb_prompt $"\ - {pass "until 79"} - -re "$gdb_prompt $"\ - {fail "until 79"} - timeout {fail "(timeout) until 79"} -} - -# Verify that a malformed "until" is gracefully caught. -# -send_gdb "until 80 then stop\n" -gdb_expect { - -re "Junk at end of arguments..*$gdb_prompt $"\ - {pass "malformed until"} - -re "$gdb_prompt $"\ - {fail "malformed until"} - timeout {fail "(timeout) malformed until"} -} - # Verify that GDB responds gracefully when asked to set a breakpoint # on a nonexistent source line. # |