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

Unified Diff: gdb/testsuite/gdb.mi/mi-var-block.exp

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/testsuite/gdb.mi/mi-until.exp ('k') | gdb/testsuite/gdb.mi/mi-var-child.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/testsuite/gdb.mi/mi-var-block.exp
diff --git a/gdb/testsuite/gdb.mi/mi-var-block.exp b/gdb/testsuite/gdb.mi/mi-var-block.exp
index e2eb42f73f807a84e6ab48dabb26b99e68945567..5e7f4826d5d67b41e1e0746530fc4d66168919a8 100644
--- a/gdb/testsuite/gdb.mi/mi-var-block.exp
+++ b/gdb/testsuite/gdb.mi/mi-var-block.exp
@@ -1,4 +1,4 @@
-# Copyright 1999-2002, 2004, 2007-2012 Free Software Foundation, Inc.
+# Copyright 1999-2013 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -51,13 +51,13 @@ mi_gdb_test "-var-create foo * foo" \
# step to "foo = 123;"
mi_step_to "do_block_tests" "" "var-cmd.c" \
[gdb_get_line_number "foo = 123;"] \
- "step at do_block_test"
+ "step at do_block_test 1"
# Be paranoid and assume 3.2 created foo
mi_gdb_test "-var-delete foo" \
"\\^error,msg=\"Variable object not found\"" \
- "delete var foo"
+ "delete var foo 1"
# Test: c_variable-3.3
@@ -67,7 +67,7 @@ mi_create_varobj "foo" "foo" "create local variable foo"
# step to "foo2 = 123;"
mi_step_to "do_block_tests" "" "var-cmd.c" \
[gdb_get_line_number "foo2 = 123;"] \
- "step at do_block_test"
+ "step at do_block_test 2"
# Test: c_variable-3.4
# Desc: check foo, cb changed
@@ -78,7 +78,7 @@ mi_gdb_test "-var-update *" \
# step to "foo = 321;"
mi_step_to "do_block_tests" "" "var-cmd.c" \
[gdb_get_line_number "foo = 321;"] \
- "step at do_block_test"
+ "step at do_block_test 3"
# Test: c_variable-3.5
# Desc: create inner block foo
@@ -87,7 +87,7 @@ mi_create_varobj "inner_foo" "foo" "create local variable inner_foo"
# step to "foo2 = 0;"
mi_step_to "do_block_tests" "" "var-cmd.c" \
[gdb_get_line_number "foo2 = 0;"] \
- "step at do_block_test"
+ "step at do_block_test 4"
# Test: c_variable-3.6
# Desc: create foo2
@@ -119,7 +119,7 @@ mi_gdb_test "-var-delete inner_foo" \
# step to "foo = 0;"
mi_step_to "do_block_tests" "" "var-cmd.c" \
[gdb_get_line_number "foo = 0;"] \
- "step at do_block_test"
+ "step at do_block_test 5"
# Test: c_variable-3.8
# Desc: check that foo2 out of scope (known gdb problem)
@@ -132,7 +132,7 @@ clear_xfail *-*-*
# step to "cb = 21;"
mi_step_to "do_block_tests" "" "var-cmd.c" \
[gdb_get_line_number "cb = 21;"] \
- "step at do_block_test"
+ "step at do_block_test 6"
# Test: c_variable-3.9
# Desc: check that only cb is in scope (known gdb problem)
@@ -159,7 +159,7 @@ mi_gdb_test "-var-update cb" \
# Done with block tests
mi_gdb_test "-var-delete foo" \
"\\^done,ndeleted=\"1\"" \
- "delete var foo"
+ "delete var foo 2"
mi_gdb_test "-var-delete foo2" \
"\\^done,ndeleted=\"1\"" \
« no previous file with comments | « gdb/testsuite/gdb.mi/mi-until.exp ('k') | gdb/testsuite/gdb.mi/mi-var-child.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698