diff options
author | Keith Seitz <keiths@redhat.com> | 2014-04-15 11:47:57 -0700 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2014-04-15 11:47:57 -0700 |
commit | 5da151d470a6c99ae6cbd5efa01f2a3b97261e59 (patch) | |
tree | 5c8dbc53e2039a6b538f5fdd3293dd6575fefed4 /gdb/testsuite/gdb.mi | |
parent | fa85fb9a1bf35209a149d07ebefb2a8970e4a27a (diff) | |
download | fsf-binutils-gdb-5da151d470a6c99ae6cbd5efa01f2a3b97261e59.zip fsf-binutils-gdb-5da151d470a6c99ae6cbd5efa01f2a3b97261e59.tar.gz fsf-binutils-gdb-5da151d470a6c99ae6cbd5efa01f2a3b97261e59.tar.bz2 |
Test suite cleanup.
2014-04-15 Keith Seitz <keiths@redhat.com>
* gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
unused globals.
(test_rbreak_creation_and_listing): Likewise.
(test_ignore_count): Likewise.
(test_error): Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.mi')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-break.exp | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-break.exp b/gdb/testsuite/gdb.mi/mi-break.exp index a9064fd..04dd932 100644 --- a/gdb/testsuite/gdb.mi/mi-break.exp +++ b/gdb/testsuite/gdb.mi/mi-break.exp @@ -56,14 +56,12 @@ set line_callme_body [expr $line_callme_head + 2] set fullname "fullname=\"${fullname_syntax}${srcfile}\"" proc test_tbreak_creation_and_listing {} { - global mi_gdb_prompt global srcfile global hex - global line_callee4_head line_callee4_body - global line_callee3_head line_callee3_body - global line_callee2_head line_callee2_body - global line_callee1_head line_callee1_body - global line_main_head line_main_body + global line_callee4_head + global line_callee3_head + global line_callee2_body + global line_main_body global fullname # Insert some breakpoints and list them @@ -98,14 +96,12 @@ proc test_tbreak_creation_and_listing {} { } proc test_rbreak_creation_and_listing {} { - global mi_gdb_prompt - global srcfile global hex - global line_callee4_head line_callee4_body - global line_callee3_head line_callee3_body - global line_callee2_head line_callee2_body - global line_callee1_head line_callee1_body - global line_main_head line_main_body + global line_callee4_body + global line_callee3_body + global line_callee2_body + global line_callee1_body + global line_main_body # Insert some breakpoints and list them # Also, disable some so they do not interfere with other tests @@ -165,7 +161,6 @@ proc test_abreak_creation {} { } proc test_ignore_count {} { - global mi_gdb_prompt global line_callme_body mi_gdb_test "-break-insert -i 1 callme" \ @@ -179,8 +174,6 @@ proc test_ignore_count {} { } proc test_error {} { - global mi_gdb_prompt - mi_gdb_test "-break-insert function_that_does_not_exist" \ ".*\\^error,msg=\"Function \\\\\"function_that_does_not_exist\\\\\" not defined.\"" \ "breakpoint at nonexistent function" @@ -211,7 +204,6 @@ proc test_error {} { } proc test_disabled_creation {} { - global mi_gdb_prompt global hex global line_callee2_body |