Lines Matching full:command

70                      {pass "define user command: nextwhere"}
71 timeout {fail "(timeout) define user command: nextwhere"}
75 {fail "define user command: nextwhere"}
76 timeout {fail "(timeout) define user command: nextwhere"}
84 {pass "use user command: nextwhere"}
86 {fail "use user command: nextwhere"}
87 timeout {fail "(timeout) use user command: nextwhere"}
90 # Verify that a user can define a command whose spelling is a
91 # proper substring of another user-defined command.
99 {pass "define user command: nextwh"}
100 timeout {fail "(timeout) define user command: nextwh"}
104 {fail "define user command: nextwh"}
105 timeout {fail "(timeout) define user command: nextwh"}
113 -re "Redefine command \"nextwhere\".*y or n. $"\
116 -re "Command \"nextwhere\" not redefined.*$gdb_prompt $"\
117 {pass "redefine user command aborted: nextwhere"}
119 {fail "redefine user command aborted: nextwhere"}
120 timeout {fail "(timeout) redefine user command aborted: nextwhere"}
124 {fail "redefine user command aborted: nextwhere"}
125 timeout {fail "(timeout) redefine user command aborted: nextwhere"}
130 -re "Redefine command \"nextwhere\".*y or n. $"\
137 {pass "redefine user command: nextwhere"}
138 timeout {fail "(timeout) redefine user command: nextwhere"}
141 timeout {fail "(timeout) redefine user command: nextwhere"}
145 {fail "redefine user command: nextwhere"}
146 timeout {fail "(timeout) redefine user command: nextwhere"}
150 # help text for a builtin command.
154 -re "Command \"step\" is built-in..*$gdb_prompt $"\
155 {pass "redocumenting builtin command disallowed"}
157 {fail "redocumenting builtin command disallowed"}
158 timeout {fail "(timeout) redocumenting builtin command disallowed"}
167 {send_gdb "A next command that frist shows you where you're stepping from.\nend\n"
170 {pass "document user command: nextwhere"}
171 timeout {fail "(timeout) document user command: nextwhere"}
175 {fail "document user command: nextwhere"}
176 timeout {fail "(timeout) document user command: nextwhere"}
182 {send_gdb "A next command that first shows you where you're stepping from.\nend\n"
185 {pass "re-document user command: nextwhere"}
186 timeout {fail "(timeout) re-document user command: nextwhere"}
190 {fail "re-document user command: nextwhere"}
191 timeout {fail "(timeout) re-document user command: nextwhere"}
196 -re "A next command that first shows you where you're stepping from.\r\n$gdb_prompt $"\
197 {pass "help user command: nextwhere"}
199 {fail "help user command: nextwhere"}
200 timeout {fail "(timeout) help user command: nextwhere"}
203 # Verify that the command parser doesn't require a space after an 'if'
204 # command in a user defined function.
206 gdb_test_multiple "define ifnospace" "define user command: ifnospace" \
213 {pass "define user command: ifnospace"}
220 # Verify that the command parser doesn't require a space after an 'while'
221 # command in a user defined function.
223 gdb_test_multiple "define whilenospace" "define user command: whilenospace" \
230 {pass "define user command: whilenospace"}
237 # Verify that the user can "hook" a builtin command. We choose to
238 # hook the "stop" pseudo command, and we'll define it to use a user-
239 # define command.
247 {pass "define user command: user-bt"}
248 timeout {fail "(timeout) define user command: user-bt"}
252 {fail "define user command: user-bt"}
253 timeout {fail "(timeout) define user command: user-bt"}
262 {pass "define hook-stop command"}
263 timeout {fail "(timeout) define hook-stop command"}
267 {fail "define hook-stop command"}
268 timeout {fail "(timeout) define hook-stop command"}
274 {pass "use hook-stop command"}
276 {fail "use hook-stop command"}
277 timeout {fail "(timeout) use hook-stop command"}
281 # command" which doesn't exist. (Test both the confirmed and unconfirmed
286 …-re "warning: Your new `hook-bar' command does not hook any existing command.\r\nProceed.*y or n. …
290 {pass "define hook undefined command aborted: bar"}
292 {fail "define hook undefined command aborted: bar"}
293 timeout {fail "(timeout) define hook undefined command aborted: bar"}
297 {fail "define hook undefined command aborted: bar"}
298 timeout {fail "(timeout) define hook undefined command aborted: bar"}
303 …-re "warning: Your new `hook-bar' command does not hook any existing command.\r\nProceed.*y or n. …
310 {pass "define hook undefined command: bar"}
311 timeout {fail "(timeout) define hook undefined command: bar"}
315 {fail "define hook undefined command: bar"}
316 timeout {fail "(timeout) define hook undefined command: bar"}
320 {fail "define hook undefined command: bar"}
321 timeout {fail "(timeout) define hook undefined command: bar"}
324 # This is a quasi-define command: Verify that the user can redefine