From 90142adc1d0096e71464cc6cdeb496d792ebb211 Mon Sep 17 00:00:00 2001 From: Jie Zhang Date: Mon, 15 Dec 2008 13:04:56 +0000 Subject: * gdb.base/consecutive.exp: Don't use global in gdb_expect. --- gdb/testsuite/gdb.base/consecutive.exp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'gdb/testsuite/gdb.base/consecutive.exp') diff --git a/gdb/testsuite/gdb.base/consecutive.exp b/gdb/testsuite/gdb.base/consecutive.exp index 179bfc0..7dc77c0 100644 --- a/gdb/testsuite/gdb.base/consecutive.exp +++ b/gdb/testsuite/gdb.base/consecutive.exp @@ -64,11 +64,6 @@ set stop_addr 0 send_gdb "x /2i \$pc\n" gdb_expect { - global hex - global nl - global bp_addr - global gdb_prompt - -re "$hex.*${nl}($hex).*$gdb_prompt $" { set bp_addr $expect_out(1,string) pass "get breakpoint address for foo" -- cgit v1.1