• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisiona22279dd83da7a0dd2b496c92dc2522427f74e37 (tree)
Zeit2015-12-16 01:09:41
AutorYao Qi <yao.qi@lina...>
CommiterYao Qi

Log Message

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*-*-*.

Ändern Zusammenfassung

Diff

--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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+
16 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
27
38 * gdb.base/history-duplicates.exp: Skip if no readline support.
--- a/gdb/testsuite/gdb.trace/ftrace.exp
+++ b/gdb/testsuite/gdb.trace/ftrace.exp
@@ -243,6 +243,8 @@ if [is_amd64_regs_target] {
243243 set arg0exp "\$rdi"
244244 } elseif [is_x86_like_target] {
245245 set arg0exp "*(int *) (\$ebp + 8)"
246+} elseif { [istarget "aarch64*-*-*"] } {
247+ set arg0exp "\$x0"
246248 } else {
247249 set arg0exp ""
248250 }