[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/24931] objdump: print source code as comments
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug binutils/24931] objdump: print source code as comments |
Date: |
Wed, 28 Aug 2019 10:41:53 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24931
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Nick Clifton <address@hidden>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a1c110a3fe02f5cb8de18137f6615005288e849e
commit a1c110a3fe02f5cb8de18137f6615005288e849e
Author: Nick Clifton <address@hidden>
Date: Wed Aug 28 11:39:19 2019 +0100
Add a --source-comment=<text> option to objdump which provides a prefix to
dipslayed source code lines.
PR 24931
* objdump.c (source_comment): New static variable.
(option_values): Add OPTION_SOURCE_COMMENT.
(long_opions): Add --source-comment.
(print_line): If source comment is set, use it as a prefix to the
source code line.
(main): Handle OPTION_SOURCE_COMMENT.
* doc/binutils.texi: Document the new option.
* NEWS: Mention the new feature.
* testsuite/binutils-all/objdump.exp (test_objdump_S): Add tests
of the -S and --source-comment options.
--
You are receiving this mail because:
You are on the CC list for the bug.