mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 22:07:58 +08:00
* gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
by dejagnu. * gdb.arch/amd64-dword.exp: Ditto.
This commit is contained in:
@ -1,5 +1,9 @@
|
|||||||
2010-03-30 Doug Evans <dje@google.com>
|
2010-03-30 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
|
* gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
|
||||||
|
by dejagnu.
|
||||||
|
* gdb.arch/amd64-dword.exp: Ditto.
|
||||||
|
|
||||||
* gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
|
* gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
|
||||||
match.
|
match.
|
||||||
(break printf): Ditto.
|
(break printf): Ditto.
|
||||||
|
@ -74,9 +74,9 @@ gdb_test "break [gdb_get_line_number "first breakpoint here"]" \
|
|||||||
gdb_continue_to_breakpoint "continue to first breakpoint in main"
|
gdb_continue_to_breakpoint "continue to first breakpoint in main"
|
||||||
|
|
||||||
for { set r 1 } { $r <= 6 } { incr r } {
|
for { set r 1 } { $r <= 6 } { incr r } {
|
||||||
set hex [format %x $r]
|
set hexr [format %x $r]
|
||||||
gdb_test "print/x \$$dword_regs($r)" \
|
gdb_test "print/x \$$dword_regs($r)" \
|
||||||
".. = 0x${hex}4${hex}3${hex}2${hex}1" \
|
".. = 0x${hexr}4${hexr}3${hexr}2${hexr}1" \
|
||||||
"check contents of %$dword_regs($r)"
|
"check contents of %$dword_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"
|
gdb_continue_to_breakpoint "continue to second breakpoint in main"
|
||||||
|
|
||||||
for { set r 7 } { $r <= $nr_regs } { incr r } {
|
for { set r 7 } { $r <= $nr_regs } { incr r } {
|
||||||
set hex [format %x $r]
|
set hexr [format %x $r]
|
||||||
gdb_test "print/x \$$dword_regs($r)" \
|
gdb_test "print/x \$$dword_regs($r)" \
|
||||||
".. = 0x${hex}4${hex}3${hex}2${hex}1" \
|
".. = 0x${hexr}4${hexr}3${hexr}2${hexr}1" \
|
||||||
"check contents of %$dword_regs($r)"
|
"check contents of %$dword_regs($r)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -74,9 +74,9 @@ gdb_test "break [gdb_get_line_number "first breakpoint here"]" \
|
|||||||
gdb_continue_to_breakpoint "continue to first breakpoint in main"
|
gdb_continue_to_breakpoint "continue to first breakpoint in main"
|
||||||
|
|
||||||
for { set r 1 } { $r <= 6 } { incr r } {
|
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)" \
|
gdb_test "print/x \$$word_regs($r)" \
|
||||||
".. = 0x${hex}2${hex}1" \
|
".. = 0x${hexr}2${hexr}1" \
|
||||||
"check contents of %$word_regs($r)"
|
"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"
|
gdb_continue_to_breakpoint "continue to second breakpoint in main"
|
||||||
|
|
||||||
for { set r 7 } { $r <= $nr_regs } { incr r } {
|
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)" \
|
gdb_test "print/x \$$word_regs($r)" \
|
||||||
".. = 0x${hex}2${hex}1" \
|
".. = 0x${hexr}2${hexr}1" \
|
||||||
"check contents of %$word_regs($r)"
|
"check contents of %$word_regs($r)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user