diff options
author | Michael Snyder <msnyder@vmware.com> | 2010-06-01 21:29:21 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2010-06-01 21:29:21 +0000 |
commit | 27d3a1a24813296b1f876aea6bd8f60bbd13266d (patch) | |
tree | 036ce0ba7404e0a8d1da349ae4d479acd09e4802 /gdb/testsuite/gdb.base/default.exp | |
parent | 3537c84bf45bc24ceb87f64316de75940b744a90 (diff) | |
download | gdb-27d3a1a24813296b1f876aea6bd8f60bbd13266d.zip gdb-27d3a1a24813296b1f876aea6bd8f60bbd13266d.tar.gz gdb-27d3a1a24813296b1f876aea6bd8f60bbd13266d.tar.bz2 |
2010-06-01 Michael Snyder <msnyder@vmware.com>
* gdb.base/arithmet.exp: Use gdb_test_no_output.
* gdb.base/arrayidx.exp: Ditto.
* gdb.base/attach.exp: Ditto.
* gdb.base/auxv.exp: Ditto.
* gdb.base/bigcre.exp: Ditto.
* gdb.base/break-always.exp: Ditto.
* gdb.base/break-interp.exp: Ditto.
* gdb.base/break.exp: Ditto.
* gdb.base/breakpoint-shadow.exp: Ditto.
* gdb.base/call-ar-st.exp: Ditto.
* gdb.base/call-sc.exp: Ditto.
* gdb.base/call-signal-resume.exp: Ditto.
* gdb.base/callfuncs.exp: Ditto.
* gdb.base/catch-syscall.exp: Ditto.
* gdb.base/charset.exp: Ditto.
* gdb.base/code-expr.exp: Ditto.
* gdb.base/commands.exp: Ditto.
* gdb.base/cond-expr.exp: Ditto.
* gdb.base/condbreak.exp: Ditto.
* gdb.base/cursal.exp: Ditto.
* gdb.base/cvexpr.exp: Ditto.
* gdb.base/default.exp: Ditto.
* gdb.base/del.exp: Ditto.
* gdb.base/detach.exp: Ditto.
* gdb.base/display.exp: Ditto.
* gdb.base/ena-dis-br.exp: Ditto.
* gdb.base/eval-skip.exp: Ditto.
* gdb.base/foll-fork.exp: Ditto.
* gdb.base/foll-vfork.exp: Ditto.
* gdb.base/frame-args.exp: Ditto.
* gdb.base/funcargs.exp: Ditto.
* gdb.base/gcore-buffer-overflow.exp: Ditto.
* gdb.base/gdbvars.exp: Ditto.
* gdb.base/help.exp: Ditto.
* gdb.base/ifelse.exp: Ditto.
* gdb.base/included.exp: Ditto.
* gdb.base/list.exp: Ditto.
* gdb.base/macscp.exp: Ditto.
* gdb.base/maint.exp: Ditto.
* gdb.base/multi-fork.exp: Ditto.
* gdb.base/overlays.exp: Ditto.
* gdb.base/page.exp: Ditto.
* gdb.base/pending.exp: Ditto.
* gdb.base/pointers.exp: Ditto.
* gdb.base/pr11022.exp: Ditto.
* gdb.base/prelink.exp: Ditto.
* gdb.base/printcmds.exp: Ditto.
* gdb.base/psymtab.exp: Ditto.
* gdb.base/randomize.exp: Ditto.
* gdb.base/relational.exp: Ditto.
* gdb.base/relocate.exp: Ditto.
* gdb.base/remote.exp: Ditto.
* gdb.base/sepdebug.exp: Ditto.
* gdb.base/set-lang-auto.exp: Ditto.
* gdb.base/setshow.exp: Ditto.
* gdb.base/setvar.exp: Ditto.
* gdb.base/signals.exp: Ditto.
* gdb.base/signull.exp: Ditto.
* gdb.base/sigstep.exp: Ditto.
* gdb.base/sizeof.exp: Ditto.
* gdb.base/solib-disc.exp: Ditto.
* gdb.base/store.exp: Ditto.
* gdb.base/structs.exp: Ditto.
* gdb.base/structs2.exp: Ditto.
* gdb.base/subst.exp: Ditto.
* gdb.base/term.exp: Ditto.
* gdb.base/trace-commands.exp: Ditto.
* gdb.base/unwindonsignal.exp: Ditto.
* gdb.base/valgrind-db-attach.exp: Ditto.
* gdb.base/varargs.exp: Ditto.
* gdb.base/watch-cond.exp: Ditto.
* gdb.base/watch_thread_num.exp: Ditto.
* gdb.base/watchpoint-cond-gone.exp: Ditto.
* gdb.base/watchpoint.exp: Ditto.
* gdb.base/whatis-exp.exp: Ditto.
Diffstat (limited to 'gdb/testsuite/gdb.base/default.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/default.exp | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/gdb/testsuite/gdb.base/default.exp b/gdb/testsuite/gdb.base/default.exp index e54f4b6..caba3b3 100644 --- a/gdb/testsuite/gdb.base/default.exp +++ b/gdb/testsuite/gdb.base/default.exp @@ -105,13 +105,13 @@ gdb_test "condition" "Argument required .breakpoint number.*" "condition" #test core-file gdb_test "core-file" "No core file now.|GDB can't read core files on this machine." "core-file" #test delete "d" abbreviation -gdb_test "d" "" "delete \"d\" abbreviation" +gdb_test_no_output "d" "delete \"d\" abbreviation" #test delete -gdb_test "delete" "" "delete" +gdb_test_no_output "delete" "delete" #test define gdb_test "define" "Argument required \[(\]name of command to define\[)\]." "define" #test delete breakpoints -gdb_test "delete breakpoints" "" "delete breakpoints" +gdb_test_no_output "delete breakpoints" "delete breakpoints" #test delete display # FIXME -- need to dump full output to detailed log @@ -140,19 +140,19 @@ gdb_test "directory" \ "y" #test disable "dis" abbreviation -gdb_test "dis" "" "disable \"dis\" abbreviation" +gdb_test_no_output "dis" "disable \"dis\" abbreviation" #test disable "disa" abbreviation -gdb_test "disa" "" "disable \"disa\" abbreviation" +gdb_test_no_output "disa" "disable \"disa\" abbreviation" #test disable -gdb_test "disable" "" "disable" +gdb_test_no_output "disable" "disable" #test disable breakpoints -gdb_test "disable breakpoints" "" "disable breakpoints" +gdb_test_no_output "disable breakpoints" "disable breakpoints" #test disable display -gdb_test "disable display" "" "disable display" +gdb_test_no_output "disable display" "disable display" #test disassemble gdb_test "disassemble" "No frame selected." "disassemble" #test display -gdb_test "display" "" "display" +gdb_test_no_output "display" "display" #test do gdb_test "do" "No stack." "do" #test document @@ -178,21 +178,21 @@ gdb_test "dump srec value" "Missing filename\." gdb_test "dump tekhex memory" "Missing filename\." gdb_test "dump tekhex value" "Missing filename\." #test echo -gdb_test "echo" "" "echo" +gdb_test_no_output "echo" "echo" #test enable breakpoints delete gdb_test "enable breakpoints delete" "Argument required .one or more breakpoint numbers.*" "enable breakpoints delete" #test enable breakpoints once gdb_test "enable breakpoints once" "Argument required .one or more breakpoint numbers.*" "enable breakpoints once" #test enable breakpoints -gdb_test "enable breakpoints" "" "enable breakpoints" +gdb_test_no_output "enable breakpoints" "enable breakpoints" #test enable delete gdb_test "enable delete" "Argument required .one or more breakpoint numbers.*" "enable delete" #test enable display -gdb_test "enable display" "" "enable display" +gdb_test_no_output "enable display" "enable display" #test enable once gdb_test "enable once" "Argument required .one or more breakpoint numbers.*" "enable once" #test enable -gdb_test "enable" "" "enable" +gdb_test_no_output "enable" "enable" #test exec-file send_gdb "exec-file\n" gdb_expect { @@ -300,7 +300,7 @@ gdb_test "info f" "No stack.*|No selected frame.*" "info frame \"f\" abbreviatio #test info frame gdb_test "info frame" "No stack.|No selected frame." "info frame" #test info files -gdb_test "info files" "" "info files" +gdb_test_no_output "info files" "info files" #test info float gdb_test "info float" "The program has no registers now." "info float" #test info functions @@ -326,7 +326,7 @@ gdb_test "info source" "No current source file..*" "info source" #test info sources gdb_test "info sources" "No symbol table is loaded. Use the \"file\" command.*" "info sources" #test info target -gdb_test "info target" "" "info target" +gdb_test_no_output "info target" "info target" #test info terminal gdb_test "info terminal" "No saved terminal information." "info terminal" #test info types @@ -369,13 +369,13 @@ gdb_test "output" "Argument required .expression to compute.*" "output" gdb_test "overlay" "\"overlay\" must be followed by the name of .*" #test a non-existant overlay subcommand gdb_test "overlay on" "Undefined overlay command.* Try \"help overlay\"." -gdb_test "overlay manual" "" "overlay manual #1" -gdb_test "overlay auto" "" -gdb_test "overlay off" "" +gdb_test_no_output "overlay manual" "overlay manual #1" +gdb_test_no_output "overlay auto" +gdb_test_no_output "overlay off" gdb_test "overlay list" "No sections are mapped." gdb_test "overlay map" "Overlay debugging not enabled.*" "overlay map #1" gdb_test "overlay unmap" "Overlay debugging not enabled.*" "overlay unmap #1" -gdb_test "overlay manual" "" "overlay manual #2" +gdb_test_no_output "overlay manual" "overlay manual #2" gdb_test "overlay map" "Argument required: name of an overlay section." "overlay map #2" gdb_test "overlay unmap" "Argument required: name of an overlay section." "overlay unmap #2" @@ -442,7 +442,7 @@ You must specify a function name to run, and arguments if any" } #test rbreak -gdb_test "rbreak" "" "rbreak" +gdb_test "rbreak" "rbreak" # test restore gdb_test "restore" "You can't do that without a process to debug\." @@ -466,7 +466,7 @@ gdb_test "section" "Must specify section name and its virtual address.*" "sectio #test set annotate gdb_test "set annotate" "Argument required .integer to set it to.*" "set annotate" #test set args -gdb_test "set args" "" "set args" +gdb_test_no_output "set args" "set args" #test set check "c" abbreviation gdb_test "set c" "\"set check\" must be followed by the name of a check subcommand.(\[^\r\n\]*\[\r\n\])+List of set check subcommands:(\[^\r\n\]*\[\r\n\])+set check range -- Set range checking(\[^\r\n\]*\[\r\n\])+set check type -- Set type checking(\[^\r\n\]*\[\r\n\])+Type \"help set check\" followed by set check subcommand name for full documentation.(\[^\r\n\]*\[\r\n\])+Command name abbreviations are allowed if unambiguous." "set check \"c\" abbreviation" #test set check "ch" abbreviation @@ -480,7 +480,7 @@ gdb_test "set check type" "" "set check type" #test set complaints gdb_test "set complaints" "Argument required .integer to set it to.*" "set complaints" #test set confirm -gdb_test "set confirm" "" "set confirm" +gdb_test_no_output "set confirm" "set confirm" # Don't test set editing. What if we're talking to a gdb that # won't do editing correctly while we're talking to it? # gdb_test "set editing" "" "set editing" @@ -490,11 +490,11 @@ gdb_test "set environment" "Argument required .environment variable and value.*" #test set height gdb_test "set height" "Argument required .integer to set it to.*" "set height" #test set history expansion -gdb_test "set history expansion" "" "set history expansion" +gdb_test_no_output "set history expansion" "set history expansion" #test set history filename gdb_test "set history filename" "Argument required .filename to set it to.*" "set history filename" #test set history save -gdb_test "set history save" "" "set history save" +gdb_test_no_output "set history save" "set history save" #test set history size gdb_test "set history size" "Argument required .integer to set it to.*" "set history size" #test set history @@ -510,39 +510,39 @@ gdb_test "set pr" "\"set print\" must be followed by the name of a print subcomm #test set print gdb_test "set print" "\"set print\" must be followed by the name of a print subcommand.(\[^\r\n\]*\[\r\n\])+List of set print subcommands:(\[^\r\n\]*\[\r\n\])+Type \"help set print\" followed by set print subcommand name for full documentation.(\[^\r\n\]*\[\r\n\])+Command name abbreviations are allowed if unambiguous." "set print" #test set print address -gdb_test "set print address" "" "set print address" +gdb_test_no_output "set print address" "set print address" #test set print array -gdb_test "set print array" "" "set print array" +gdb_test_no_output "set print array" "set print array" #test set print asm-demangle -gdb_test "set print asm-demangle" "" "set print asm-demangle" +gdb_test_no_output "set print asm-demangle" "set print asm-demangle" #test set print demangle -gdb_test "set print demangle" "" "set print demangle" +gdb_test_no_output "set print demangle" "set print demangle" #test set print elements gdb_test "set print elements" "Argument required .integer to set it to.*" "set print elements" #test set print object -gdb_test "set print object" "" "set print object" +gdb_test_no_output "set print object" "set print object" #test set print pretty -gdb_test "set print pretty" "" "set print pretty" +gdb_test_no_output "set print pretty" "set print pretty" #test set print sevenbit-strings -gdb_test "set print sevenbit-strings" "" "set print sevenbit-strings" +gdb_test_no_output "set print sevenbit-strings" "set print sevenbit-strings" #test set print union -gdb_test "set print union" "" "set print union" +gdb_test_no_output "set print union" "set print union" #test set print vtbl -gdb_test "set print vtbl" "" "set print vtbl" +gdb_test_no_output "set print vtbl" "set print vtbl" # FIXME -- need a test for "set prompt" #test set radix gdb_test "set radix" "Input and output radices now set to decimal 10, hex a, octal 12.*" "set radix" #test set symbol-reloading -gdb_test "set symbol-reloading" "" "set symbol-reloading" +gdb_test_no_output "set symbol-reloading" "set symbol-reloading" #test set variable gdb_test "set variable" "Argument required .expression to compute.*" "set variable" #test set verbose -gdb_test "set verbose" "" "set verbose" +gdb_test_no_output "set verbose" "set verbose" #test set width gdb_test "set width" "Argument required .integer to set it to.*" "set width" #test set write # This is only supported on targets which use exec.o. -gdb_test "set write" "" "set write" +gdb_test_no_output "set write" "set write" #test set gdb_test "set" "Argument required .expression to compute.*" "set" #test shell echo Hi dad! @@ -627,9 +627,9 @@ gdb_test "show radix" "Input and output radices set to decimal 10, hex a, octal #test show symbol-reloading gdb_test "show symbol-reloading" "Dynamic symbol table reloading multiple times in one run is on." "show symbol-reloading" #test show user -gdb_test "show user" "" "show user" +gdb_test_no_output "show user" "show user" #test show values -gdb_test "show values" "" "show values" +gdb_test_no_output "show values" "show values" #test show verbose gdb_test "show verbose" "Verbose printing of informational messages is o.*|Verbosity is off.*" "show verbose" #test show version |