diff options
Diffstat (limited to 'gdb/testsuite/gdb.trace/backtrace.exp')
-rw-r--r-- | gdb/testsuite/gdb.trace/backtrace.exp | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/gdb/testsuite/gdb.trace/backtrace.exp b/gdb/testsuite/gdb.trace/backtrace.exp index f69089b..c172029 100644 --- a/gdb/testsuite/gdb.trace/backtrace.exp +++ b/gdb/testsuite/gdb.trace/backtrace.exp @@ -140,23 +140,9 @@ gdb_trace_setactions "8.6: setup TP to collect regs, args, and locals" \ "$tdp4" \ "collect \$regs, \$args, \$locs" "^$" -if [is_amd64_regs_target] { - set fpreg "\$rbp" - set spreg "\$rsp" -} elseif [is_x86_like_target] { - set fpreg "\$ebp" - set spreg "\$esp" -} elseif [is_aarch64_target] { - set fpreg "\$x29" - set spreg "\$sp" -} else { - set fpreg "\$fp" - set spreg "\$sp" -} - gdb_trace_setactions "8.6: setup TP to collect stack mem cast expr" \ "$tdp6" \ - "collect $fpreg, \(\*\(void \*\*\) \($spreg\)\) @ 64" "^$" + "collect \$$fpreg, \(\*\(void \*\*\) \(\$$spreg\)\) @ 64" "^$" gdb_test_no_output "tstart" "" |