From 31224d9db8c26f298f30796479309e8611fc43d5 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 11 Oct 2012 17:40:30 +0000 Subject: 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. --- gdb/testsuite/gdb.arch/i386-sse.exp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb/testsuite/gdb.arch/i386-sse.exp') diff --git a/gdb/testsuite/gdb.arch/i386-sse.exp b/gdb/testsuite/gdb.arch/i386-sse.exp index 896faf3..4132e0c 100644 --- a/gdb/testsuite/gdb.arch/i386-sse.exp +++ b/gdb/testsuite/gdb.arch/i386-sse.exp @@ -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 } { -- cgit v1.1