]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb.trace/entry-values.exp: Fixes for powerpc64.
authorMarcin Kościelnicki <koriakin@0x04.net>
Sun, 6 Mar 2016 16:20:08 +0000 (17:20 +0100)
committerMarcin Kościelnicki <koriakin@0x04.net>
Wed, 9 Mar 2016 17:47:11 +0000 (18:47 +0100)
commit98fa59e9b06fa479cafb852ef87e5a9bfd87ae54
tree5413c57edda17d9b0c45c583f5857bf34b2e7585
parentf77198c878424891f11d6550370f8d9382f412de
gdb.trace/entry-values.exp: Fixes for powerpc64.

On powerpc64, "disassemble foo" doesn't work properly on object files
(it can't process the relocations in .opd section) - instead, let's
link it into an executable and load that.

Also, backtrace displays .main, not main.  Accept both.

gdb/testsuite/ChangeLog:

* gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
use it for disassembly; accept .main in addition to main in backtrace.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/entry-values.exp