aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.arch/amd64-word.exp
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-03-30 22:25:59 +0000
committerDoug Evans <dje@google.com>2010-03-30 22:25:59 +0000
commit0906dd0b0a50386ff0a3ea213127d7c0afc770bf (patch)
treebf623649319d8bd2b45274e24c23f28e537f252b /gdb/testsuite/gdb.arch/amd64-word.exp
parent956c2c8b9a8980a5e838f1ee3115ac96d89bea96 (diff)
downloadfsf-binutils-gdb-0906dd0b0a50386ff0a3ea213127d7c0afc770bf.zip
fsf-binutils-gdb-0906dd0b0a50386ff0a3ea213127d7c0afc770bf.tar.gz
fsf-binutils-gdb-0906dd0b0a50386ff0a3ea213127d7c0afc770bf.tar.bz2
* gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
by dejagnu. * gdb.arch/amd64-dword.exp: Ditto.
Diffstat (limited to 'gdb/testsuite/gdb.arch/amd64-word.exp')
-rw-r--r--gdb/testsuite/gdb.arch/amd64-word.exp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.arch/amd64-word.exp b/gdb/testsuite/gdb.arch/amd64-word.exp
index 98116cb..a02edf9 100644
--- a/gdb/testsuite/gdb.arch/amd64-word.exp
+++ b/gdb/testsuite/gdb.arch/amd64-word.exp
@@ -74,9 +74,9 @@ gdb_test "break [gdb_get_line_number "first breakpoint here"]" \
gdb_continue_to_breakpoint "continue to first breakpoint in main"
for { set r 1 } { $r <= 6 } { incr r } {
- set hex [format %x $r]
+ set hexr [format %x $r]
gdb_test "print/x \$$word_regs($r)" \
- ".. = 0x${hex}2${hex}1" \
+ ".. = 0x${hexr}2${hexr}1" \
"check contents of %$word_regs($r)"
}
@@ -86,9 +86,9 @@ gdb_test "break [gdb_get_line_number "second breakpoint here"]" \
gdb_continue_to_breakpoint "continue to second breakpoint in main"
for { set r 7 } { $r <= $nr_regs } { incr r } {
- set hex [format %x $r]
+ set hexr [format %x $r]
gdb_test "print/x \$$word_regs($r)" \
- ".. = 0x${hex}2${hex}1" \
+ ".. = 0x${hexr}2${hexr}1" \
"check contents of %$word_regs($r)"
}