Revision | a22279dd83da7a0dd2b496c92dc2522427f74e37 (tree) |
---|---|
Zeit | 2015-12-16 01:09:41 |
Autor | Yao Qi <yao.qi@lina...> |
Commiter | Yao Qi |
Tweak gdb.trace/ftrace.exp for aarch64
Some tests are skipped on aarch64 unexpectedly because arg0exp isn't
set. This patch is to set arg0exp to "$x0" for aarch64.
gdb/testsuite:
2015-12-15 Yao Qi <yao.qi@linaro.org>
* gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
is aarch64*-*-*.
@@ -1,3 +1,8 @@ | ||
1 | +2015-12-15 Yao Qi <yao.qi@linaro.org> | |
2 | + | |
3 | + * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target | |
4 | + is aarch64*-*-*. | |
5 | + | |
1 | 6 | 2015-12-14 Sandra Loosemore <sandra@codesourcery.com> |
2 | 7 | |
3 | 8 | * gdb.base/history-duplicates.exp: Skip if no readline support. |
@@ -243,6 +243,8 @@ if [is_amd64_regs_target] { | ||
243 | 243 | set arg0exp "\$rdi" |
244 | 244 | } elseif [is_x86_like_target] { |
245 | 245 | set arg0exp "*(int *) (\$ebp + 8)" |
246 | +} elseif { [istarget "aarch64*-*-*"] } { | |
247 | + set arg0exp "\$x0" | |
246 | 248 | } else { |
247 | 249 | set arg0exp "" |
248 | 250 | } |