Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Side by Side Diff: gdb/testsuite/gdb.base/commands.exp

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gdb/testsuite/gdb.base/code_elim.exp ('k') | gdb/testsuite/gdb.base/completion.exp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 1988, 1990-1992, 1994-1995, 1997-2003, 2005-2012 Free 1 # Copyright 1988, 1990-1992, 1994-1995, 1997-2003, 2005-2012 Free
2 # Software Foundation, Inc. 2 # Software Foundation, Inc.
3 3
4 # This program is free software; you can redistribute it and/or modify 4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by 5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 3 of the License, or 6 # the Free Software Foundation; either version 3 of the License, or
7 # (at your option) any later version. 7 # (at your option) any later version.
8 # 8 #
9 # This program is distributed in the hope that it will be useful, 9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details. 12 # GNU General Public License for more details.
13 # 13 #
14 # You should have received a copy of the GNU General Public License 14 # You should have received a copy of the GNU General Public License
15 # along with this program. If not, see <http://www.gnu.org/licenses/>. 15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16 16
17 if $tracelevel then {
18 strace $tracelevel
19 }
20
21 # 17 #
22 # test special commands (if, while, etc) 18 # test special commands (if, while, etc)
23 # 19 #
24 20
25 if { [prepare_for_testing commands.exp commands run.c {debug additional_flags=-D FAKEARGV}] } { 21 if { [prepare_for_testing commands.exp commands run.c {debug additional_flags=-D FAKEARGV}] } {
26 return -1 22 return -1
27 } 23 }
28 24
29 proc gdbvar_simple_if_test {} { 25 proc gdbvar_simple_if_test {} {
30 global gdb_prompt 26 global gdb_prompt
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 "end commands on watch" 307 "end commands on watch"
312 308
313 set test "continue with watch" 309 set test "continue with watch"
314 gdb_test_multiple "continue" "$test" { 310 gdb_test_multiple "continue" "$test" {
315 -re "No symbol \"value\" in current context.\r\n$gdb_prompt $" { 311 -re "No symbol \"value\" in current context.\r\n$gdb_prompt $" {
316 # Happens if GDB actually runs the watchpoints commands, 312 # Happens if GDB actually runs the watchpoints commands,
317 # even though the watchpoint was deleted for not being in 313 # even though the watchpoint was deleted for not being in
318 # scope. 314 # scope.
319 fail $test 315 fail $test
320 } 316 }
321 » -re "Continuing.*\[Ww\]atchpoint $wp_id deleted because the program has left the block in.*which its expression is valid.*run.c:(57|82).*$gdb_prompt $" { 317 » -re "Continuing.*\[Ww\]atchpoint $wp_id deleted because the program has left the block in.*which its expression is valid.*run.c:(53|77).*$gdb_prompt $" {
322 pass $test 318 pass $test
323 } 319 }
324 } 320 }
325 } 321 }
326 322
327 proc test_command_prompt_position {} { 323 proc test_command_prompt_position {} {
328 global gdb_prompt 324 global gdb_prompt
329 325
330 if [target_info exists noargs] { 326 if [target_info exists noargs] {
331 verbose "Skipping test_command_prompt_position because of noargs." 327 verbose "Skipping test_command_prompt_position because of noargs."
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 bp_deleted_in_command_test 818 bp_deleted_in_command_test
823 temporary_breakpoint_commands 819 temporary_breakpoint_commands
824 stray_arg0_test 820 stray_arg0_test
825 source_file_with_indented_comment 821 source_file_with_indented_comment
826 recursive_source_test 822 recursive_source_test
827 if_commands_test 823 if_commands_test
828 error_clears_commands_left 824 error_clears_commands_left
829 redefine_hook_test 825 redefine_hook_test
830 # This one should come last, as it redefines "backtrace". 826 # This one should come last, as it redefines "backtrace".
831 redefine_backtrace_test 827 redefine_backtrace_test
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.base/code_elim.exp ('k') | gdb/testsuite/gdb.base/completion.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698