[Bug testsuite/33931] [gdb/testsuite] ERROR: objdump: unrecognized option '--decompress'

"cvs-commit at gcc dot gnu.org via Gdb-prs" <[email protected]>
Newsgroups gmane.comp.gdb.bugs.discuss
Message-ID <[email protected]/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=33931

--- Comment #2 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom de Vries <[email protected]>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b331a230e3e53cfda799371c4f6f9bbf6a88a84c

commit b331a230e3e53cfda799371c4f6f9bbf6a88a84c
Author: Tom de Vries <[email protected]>
Date:   Fri Aug 14 17:16:12 2026 +0200

    [gdb/testsuite] Fix gdb.python/py-section-script.exp with older objdump

    On AlmaLinux 9.8 ppc64le with objdump 2.35.2 I run into:
    ...
    ERROR: tcl error sourcing gdb/testsuite/gdb.python/py-section-script.exp.
    ERROR: tcl error code CHILDSTATUS 3614626 1
    ERROR: objdump: unrecognized option '--decompress'
    ...

    Fix this by using remote_exec instead of exec, and checking the result.

    Tested on x86_64-linux and ppc64le-linux.

    Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=33931

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.