public inbox for gdb-cvs@sourceware.org help / color / mirror / Atom feed
From: Tom de Vries <vries@sourceware.org> To: gdb-cvs@sourceware.org Subject: [binutils-gdb] [gdb/contrib] Use OBJCOPY everywhere in cc-with-tweaks.sh Date: Wed, 12 Oct 2022 08:55:45 +0000 (GMT) [thread overview] Message-ID: <20221012085545.4D47C38515F8@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=33fb3d6f140b03062b6bce2065a44b3c8a42ba62 commit 33fb3d6f140b03062b6bce2065a44b3c8a42ba62 Author: Tom de Vries <tdevries@suse.de> Date: Wed Oct 12 10:55:39 2022 +0200 [gdb/contrib] Use OBJCOPY everywhere in cc-with-tweaks.sh I noticed that the $want_gnu_debuglink code in gdb/contrib/cc-with-tweaks.sh uses objcopy instead of $OBJCOPY. Fix this. Script checked with shellcheck, no new warnings added. Tested on x86_64-linux. Diff: --- gdb/contrib/cc-with-tweaks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/contrib/cc-with-tweaks.sh b/gdb/contrib/cc-with-tweaks.sh index 7919d2da85a..c6f0f62cd06 100755 --- a/gdb/contrib/cc-with-tweaks.sh +++ b/gdb/contrib/cc-with-tweaks.sh @@ -285,7 +285,7 @@ if [ "$want_gnu_debuglink" = true ]; then # Overwrite output_file with stripped version containing # .gnu_debuglink to debug_file. - objcopy --add-gnu-debuglink="$link" "${stripped_file}" \ + $OBJCOPY --add-gnu-debuglink="$link" "${stripped_file}" \ "${output_file}" rc=$? [ $rc != 0 ] && exit $rc
reply other threads:[~2022-10-12 8:55 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20221012085545.4D47C38515F8@sourceware.org \ --to=vries@sourceware.org \ --cc=gdb-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).