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

Unified Diff: gdb/testsuite/gdb.arch/i386-bp_permanent.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.arch/i386-avx.exp ('k') | gdb/testsuite/gdb.arch/i386-byte.exp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/testsuite/gdb.arch/i386-bp_permanent.exp
diff --git a/gdb/testsuite/gdb.arch/i386-bp_permanent.exp b/gdb/testsuite/gdb.arch/i386-bp_permanent.exp
index 026f956df9f13712dcd068e1c356ebeebf1f6ba4..491a69205342b825355eae587d3f9f9e40a23a37 100644
--- a/gdb/testsuite/gdb.arch/i386-bp_permanent.exp
+++ b/gdb/testsuite/gdb.arch/i386-bp_permanent.exp
@@ -1,4 +1,4 @@
-# Copyright (C) 2008-2012 Free Software Foundation, Inc.
+# Copyright (C) 2008-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
@@ -18,7 +18,7 @@
# Test stepping over permanent breakpoints on i386.
-if {(![istarget "x86_64-*-*"] && ![istarget "i?86-*-*"]) || ![is_ilp32_target] } then {
+if { ![is_x86_like_target] } then {
verbose "Skipping skip over permanent breakpoint on i386 tests."
return
}
@@ -55,10 +55,10 @@ set function standard
set retcode [gdb_test_multiple "disassemble $function" "Disassemble function '$function'" {
-re ".*($hex) <\\+0>.*($hex) <\\+4>.*($hex) <\\+5>.*($hex) <\\+6>.*$gdb_prompt $" {
- set function_start $expect_out(1,string);
- set address $expect_out(2,string);
- set address1 $expect_out(3,string);
- set address2 $expect_out(4,string);
+ set function_start $expect_out(1,string)
+ set address $expect_out(2,string)
+ set address1 $expect_out(3,string)
+ set address2 $expect_out(4,string)
}
}]
@@ -81,7 +81,7 @@ gdb_test "continue" "Breakpoint .*, $function_start in $function.*" \
set start_esp 0
gdb_test_multiple "print \$esp" "Fetch esp value." {
-re "\\\$1.*($hex).*$gdb_prompt $" {
- set start_esp $expect_out(1,string);
+ set start_esp $expect_out(1,string)
}
}
« no previous file with comments | « gdb/testsuite/gdb.arch/i386-avx.exp ('k') | gdb/testsuite/gdb.arch/i386-byte.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698