Remove unused globals in mi-simplerun.exp.
authorKeith Seitz <keiths@redhat.com>
Tue, 15 Apr 2014 19:07:33 +0000 (12:07 -0700)
committerKeith Seitz <keiths@redhat.com>
Tue, 15 Apr 2014 19:07:33 +0000 (12:07 -0700)
2014-04-15  Keith Seitz  <keiths@redhat.com>

* gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
Remove unused globals.
(test_running_the_program): Likewise.
(test_controlled_execution): Likewise.
(test_controlling_breakpoints): Likewise.
(test_program_termination): Likewise.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-simplerun.exp

index a8151dc801c71fc7e71e4c84838c4e9352571f5b..33457c3f44a508fd8417a287092aa6994734925f 100644 (file)
@@ -1,3 +1,12 @@
+2014-04-15  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
+       Remove unused globals.
+       (test_running_the_program): Likewise.
+       (test_controlled_execution): Likewise.
+       (test_controlling_breakpoints): Likewise.
+       (test_program_termination): Likewise.
+
 2014-04-15  Keith Seitz  <keiths@redhat.com>
 
        * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
index 7d4c49b2fbb27f2b932de558456e48c41456e7db..7d5baa6e9f6d81d1a0eea23ec7998cc873c9fdea 100644 (file)
@@ -45,7 +45,6 @@ mi_gdb_reinitialize_dir $srcdir/$subdir
 mi_gdb_load ${binfile}
 
 proc test_breakpoints_creation_and_listing {} {
-    global mi_gdb_prompt
     global srcfile
     global hex
 
@@ -92,9 +91,6 @@ proc test_breakpoints_creation_and_listing {} {
 }
 
 proc test_running_the_program {} {
-    global mi_gdb_prompt
-    global hex
-
     set line_main_head     [gdb_get_line_number "main ("]
     set line_main_body     [expr $line_main_head + 2]
 
@@ -112,7 +108,6 @@ proc test_running_the_program {} {
 }
 
 proc test_controlled_execution {} {
-    global mi_gdb_prompt
     global hex
 
     set line_callee4_head         [gdb_get_line_number "callee4 ("]
@@ -156,8 +151,6 @@ proc test_controlled_execution {} {
 }
 
 proc test_controlling_breakpoints {} {
-    global mi_gdb_prompt
-
     # Enable, delete, set ignore counts in breakpoints
     # (disable was already tested above)
     # Tests:
@@ -169,8 +162,6 @@ proc test_controlling_breakpoints {} {
 }
 
 proc test_program_termination {} {
-    global mi_gdb_prompt
-
     # Run to completion: normal and forced
     # Tests:
     # -exec-abort
This page took 0.04086 seconds and 4 git commands to generate.