mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-13 21:49:40 +00:00
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:
parent
7c09e5a0f7
commit
31224d9db8
@ -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.
|
||||
|
@ -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 } {
|
||||
|
@ -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 } {
|
||||
|
Loading…
x
Reference in New Issue
Block a user