Check is_amd64_regs_target to to set nr_regs

* gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
	is_ilp32_target to set nr_regs.
	* gdb.arch/i386-sse.exp: Likewise.
This commit is contained in:
H.J. Lu 2012-10-11 17:40:30 +00:00
parent 7c09e5a0f7
commit 31224d9db8
3 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
* gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
is_ilp32_target to set nr_regs.
* gdb.arch/i386-sse.exp: Likewise.
2012-10-11 Doug Evans <dje@google.com>
PR breakpoints/14643.

View File

@ -73,10 +73,10 @@ gdb_test "break [gdb_get_line_number "first breakpoint here"]" \
"set first breakpoint in main"
gdb_continue_to_breakpoint "continue to first breakpoint in main"
if [is_ilp32_target] {
set nr_regs 8
} else {
if [is_amd64_regs_target] {
set nr_regs 16
} else {
set nr_regs 8
}
for { set r 0 } { $r < $nr_regs } { incr r } {

View File

@ -73,10 +73,10 @@ gdb_test "break [gdb_get_line_number "first breakpoint here"]" \
"set first breakpoint in main"
gdb_continue_to_breakpoint "continue to first breakpoint in main"
if [is_ilp32_target] {
set nr_regs 8
} else {
if [is_amd64_regs_target] {
set nr_regs 16
} else {
set nr_regs 8
}
for { set r 0 } { $r < $nr_regs } { incr r } {