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/setshow.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/setshow.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/setshow.exp | 58 |
1 files changed, 30 insertions, 28 deletions
diff --git a/gdb/testsuite/gdb.base/setshow.exp b/gdb/testsuite/gdb.base/setshow.exp index 78f6b64..9ff6215 100644 --- a/gdb/testsuite/gdb.base/setshow.exp +++ b/gdb/testsuite/gdb.base/setshow.exp @@ -80,12 +80,12 @@ gdb_test "show annotate" "Annotation_level is 1..*" "show annotate (1)" #test annotation_level 1 gdb_test "info line 1" "Line 1 of .* is at address .* but contains no code.*:1:0:beg:0x.*" "annotation_level 1" #test set annotate 0 -gdb_test "set annotate 0" "" "set annotate 0" +gdb_test_no_output "set annotate 0" "set annotate 0" gdb_test "show annotate" "Annotation_level is 0..*" "show annotate (0)" #test annotation_level 0 gdb_test "info line 1" "Line 1 of .* is at address .* but contains no code.*" "annotation_level 0" #test set args -gdb_test "set args foo bar blup baz bubble" "" "set args" +gdb_test_no_output "set args foo bar blup baz bubble" "set args" #test show args gdb_test "show args" "Argument list to give program being debugged when it is started is \"foo bar blup baz bubble\"..*" "show args" @@ -101,11 +101,11 @@ gdb_test "set check range on" "" "set check range on" #test show check range on gdb_test "show check range" "Range checking is \"on\"\..*" "show check range (on)" #test set check range off with trailing space -gdb_test "set check range off " "" "set check range off" +gdb_test_no_output "set check range off " "set check range off" #test show check range off gdb_test "show check range" "Range checking is \"off\"\..*" "show check range (off)" #test set check range auto -gdb_test "set check range auto" "" "set check range auto" +gdb_test_no_output "set check range auto" "set check range auto" #test show check range auto gdb_test "show check range" "Range checking is \"auto; currently .*" "show check range (auto)" #test set check type on @@ -113,80 +113,82 @@ gdb_test "set check type on" "" "set check type on" #test show check type on gdb_test "show check type" "Type checking is \"on\"..*" "show check type (on)" #test set check type off with trailing space -gdb_test "set check type off " "" "set check type off" +gdb_test_no_output "set check type off " "set check type off" #test show check type off gdb_test "show check type" "Type checking is \"off\"..*" "show check type (off)" #test set check type auto -gdb_test "set check type auto" "" "set check type auto" +gdb_test_no_output "set check type auto" "set check type auto" #test show check type gdb_test "show check type" "Type checking is \"auto; currently .*" "show check type (auto)" #test set complaints 100 -gdb_test "set complaints 100" "" "set complaints 100" +gdb_test_no_output "set complaints 100" "set complaints 100" #test show complaints 100 gdb_test "show complaints" "Max number of complaints about incorrect symbols is 100..*" "show complaints (100)" #test set complaints 0 -gdb_test "set complaints 0" "" "set complaints 0" +gdb_test_no_output "set complaints 0" "set complaints 0" #test show complaints 0 gdb_test "show complaints" "Max number of complaints about incorrect symbols is 0..*" "show complaints (0)" #test set confirm off -gdb_test "set confirm off" "" "set confirm off" +gdb_test_no_output "set confirm off" "set confirm off" #test show confirm off gdb_test "show confirm" "Whether to confirm potentially dangerous operations is off..*" "show confirm (off)" #test set confirm on -gdb_test "set confirm on" "" "set confirm on" +gdb_test_no_output "set confirm on" "set confirm on" #test show confirm on gdb_test "show confirm" "Whether to confirm potentially dangerous operations is on..*" "show confirm (on)" #test set editing off -gdb_test "set editing off" "" "set editing off" +gdb_test_no_output "set editing off" "set editing off" #test show editing off gdb_test "show editing" "Editing of command lines as they are typed is off..*" "show editing (off)" #test set editing on -#gdb_test "set editing on" "" "set editing on" +#gdb_test_no_output "set editing on" "set editing on" #test show editing on #gdb_test "show editing" "Editing of command lines as they are typed is on..*" "show editing (on)" #test set environment FOOBARBAZ -gdb_test "set environment FOOBARBAZ = grbxgrbxgrbx" "" "set environment FOOBARBAZ" +gdb_test_no_output "set environment FOOBARBAZ = grbxgrbxgrbx" \ + "set environment FOOBARBAZ" #test show environment FOOBARBAZ gdb_test "show environment FOOBARBAZ" "FOOBARBAZ = grbxgrbxgrbx.*" "show environment FOOBARBAZ" #test set height 100 -gdb_test "set height 100" "" "set height 100" +gdb_test_no_output "set height 100" "set height 100" #test show height 100 gdb_test "show height" "Number of lines gdb thinks are in a page is 100..*" "show height" # back to infinite height to avoid pagers gdb_test "set height 0" "" "" #test set history expansion on -gdb_test "set history expansion on" "" "set history expansion on" +gdb_test_no_output "set history expansion on" "set history expansion on" #test show history expansion on gdb_test "show history expansion on" "History expansion on command input is on.*" "show history expansion" #test set history filename foobar.baz -gdb_test "set history filename foobar.baz" "" "set history filename foobar.baz" +gdb_test_no_output "set history filename foobar.baz" \ + "set history filename foobar.baz" #test show history filename foobar.baz gdb_test "show history filename" "The filename in which to record the command history is \"foobar.baz\"..*" "show history filename (foobar.baz)" #test set history save on -gdb_test "set history save on" "" "set history save on" +gdb_test_no_output "set history save on" "set history save on" #test show history save on gdb_test "show history save" "Saving of the history record on exit is on..*" "show history save (on)" #test set history size 100 -gdb_test "set history size 100" "" "set history size 100" +gdb_test_no_output "set history size 100" "set history size 100" #test show history size 100 gdb_test "show history size" "The size of the command history is 100..*" "show history size (100)" #test set language asm -gdb_test "set language asm" "" "set language asm" +gdb_test_no_output "set language asm" "set language asm" #test show language asm gdb_test "show language" "The current source language is \"asm\"..*" "show language (asm)" #test set language java, with a trailing space -gdb_test "set language java " "" "set language java" +gdb_test_no_output "set language java " "set language java" #test show language java gdb_test "show language" "The current source language is \"java\"..*" "show language (java)" #test completion for set language. gdb_test "complete set language min" "set language minimal" \ "complete set language minimal" #test set language auto -gdb_test "set language auto" "" "set language auto" +gdb_test_no_output "set language auto" "set language auto" #test show language gdb_test "show language" "The current source language is \"auto.*\"..*" "show language (auto)" #test set listsize 100 -gdb_test "set listsize 100" "" "set listsize 100" +gdb_test_no_output "set listsize 100" "set listsize 100" #test show listsize 100 gdb_test "show listsize" "Number of source lines gdb will list by default is 100..*" "show listsize (100)" @@ -228,26 +230,26 @@ gdb_test "set radix" "Input and output radices now set to decimal 10, hex a, oct #test show radix 10 gdb_test "show radix" "Input and output radices set to decimal 10, hex a, octal 12..*" "show radix (10)" #test set width 90 -gdb_test "set width 90" "" "set width 90" +gdb_test_no_output "set width 90" "set width 90" #test show width 90 gdb_test "show width" "Number of characters gdb thinks are in a line is 90..*" "show width (90)" #test set write on # This is only supported on targets which use exec.o. -gdb_test "set write on" "" "set write on" +gdb_test_no_output "set write on" "set write on" #test show write on # This is only supported on targets which use exec.o. gdb_test "show write" "Writing into executable and core files is on..*" "show write (on)" #test set symbol-reloading on -gdb_test "set symbol-reloading on" "" "set symbol-reloading on" +gdb_test_no_output "set symbol-reloading on" "set symbol-reloading on" #test show symbol-reloading on gdb_test "show symbol-reloading" "Dynamic symbol table reloading multiple times in one run is on..*" "show symbol-reloading (on)" #test show user -gdb_test "show user" "" "show user" +gdb_test_no_output "show user" "show user" #test set verbose on -gdb_test "set verbose on" "" "set verbose on" +gdb_test_no_output "set verbose on" "set verbose on" #test show verbose on gdb_test "show verbose" "Verbose printing of informational messages is on..*" "show verbose (on)" #test set verbose off -gdb_test "set verbose off" "" "set verbose off" +gdb_test_no_output "set verbose off" "set verbose off" #test show verbose off gdb_test "show verbose" "Verbosity is off..*" "show verbose (off)" |