Lines Matching full:set
27 set prms_id 0
28 set bug_id 0
30 set testfile "setshow"
31 set srcfile ${testfile}.c
32 set binfile ${objdir}/${subdir}/${testfile}
50 # Test gdb set and show commands.
51 # Add tests here for show and set that don't fit neatly elsewhere.
52 # FIXME: many rudimentary tests for set and show commands have been
54 # variable has been set successfully, ie. they do not test
61 #test set annotate 2
62 send_gdb "set annotate 2\n"
65 { pass "set annotate 2" }
66 -re ".*$gdb_prompt $" { fail "set annotate 2" }
67 timeout { fail "(timeout) set annotate 2" }
87 #test set annotate 1
88 gdb_test "set annotate 1" ".*post-prompt.*" "set annotate 1"
92 #test set annotate 0
93 gdb_test "set annotate 0" "" "set annotate 0"
97 #test set args
98 gdb_test "set args foo bar blup baz bubble" "" "set args"
109 #test set check range on
110 gdb_test "set check range on" "" "set check range on"
113 #test set check range auto
114 gdb_test "set check range auto" "" "set check range auto"
117 #test set check type on
118 gdb_test "set check type on" "" "set check type on"
121 #test set check type auto
122 gdb_test "set check type auto" "" "set check type auto"
125 #test set complaints 100
126 gdb_test "set complaints 100" "" "set complaints 100"
129 #test set complaints 0
130 gdb_test "set complaints 0" "" "set complaints 0"
133 #test set confirm off
134 gdb_test "set confirm off" "" "set confirm off"
137 #test set confirm on
138 gdb_test "set confirm on" "" "set confirm on"
141 #test set editing off
142 gdb_test "set editing off" "" "set editing off"
145 #test set editing on
146 #gdb_test "set editing on" "" "set editing on"
149 #test set environment FOOBARBAZ
150 gdb_test "set environment FOOBARBAZ = grbxgrbxgrbx" "" "set environment FOOBARBAZ"
153 #test set height 100
154 gdb_test "set height 100" "" "set height 100"
157 #test set history expansion on
158 gdb_test "set history expansion on" "" "set history expansion on"
161 #test set history filename foobar.baz
162 gdb_test "set history filename foobar.baz" "" "set history filename foobar.baz"
165 #test set history save on
166 gdb_test "set history save on" "" "set history save on"
169 #test set history size 100
170 gdb_test "set history size 100" "" "set history size 100"
173 #test set language asm
174 gdb_test "set language asm" "" "set language asm"
177 #test set language auto
178 gdb_test "set language auto" "" "set language auto"
181 #test set listsize 100
182 gdb_test "set listsize 100" "" "set listsize 100"
187 #test set prompt (FooBarBaz)
188 set newprompt "\\(FooBarBaz\\)"
189 send_gdb "set prompt (FooBarBaz) \n"
191 -re "$newprompt $" { pass "set prompt (FooBarBaz) " }
192 timeout { fail "(timeout) set prompt (FooBarBaz) " }
203 #test set prompt (gdb)
204 send_gdb "set prompt (gdb) \n"
206 -re "$gdb_prompt $" { pass "set prompt (gdb) " }
207 timeout { fail "(timeout) set prompt (gdb) " }
211 #test set radix 11
212 gdb_test "set radix 11" "Unsupported output radix ``decimal 11''; output radix unchanged..*" "set …
213 #test set radix 16
214 gdb_test "set radix 16" "Input and output radices now set to decimal 16, hex 10, octal 20..*" "set…
216 gdb_test "show radix" "Input and output radices set to decimal 16, hex 10, octal 20..*" "show radi…
217 #test set radix 10
218 gdb_test "set radix" "Input and output radices now set to decimal 10, hex a, octal 12..*" "set rad…
220 gdb_test "show radix" "Input and output radices set to decimal 10, hex a, octal 12..*" "show radix …
221 #test set width 90
222 gdb_test "set width 90" "" "set width 90"
225 #test set write on
227 gdb_test "set write on" "" "set write on"
231 #test set symbol-reloading on
232 gdb_test "set symbol-reloading on" "" "set symbol-reloading on"
237 #test set verbose on
238 gdb_test "set verbose on" "" "set verbose on"
241 #test set verbose off
242 gdb_test "set verbose off" "" "set verbose off"