]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Update objdump's --disassemble=<symbol> feature so that if <symbol> is a function...
authorNick Clifton <nickc@redhat.com>
Thu, 17 Jan 2019 15:29:43 +0000 (15:29 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 17 Jan 2019 15:29:43 +0000 (15:29 +0000)
commitbaae986a40eb2ed6d612436586bfa7dd1d88702d
treedbd18a9b28eb55af549e1e9bd5d94132c7fc7472
parente89c69419641d638a96cb7ca3c9fa4b3feac5ce0
Update objdump's --disassemble=<symbol> feature so that if <symbol> is a function, the entire function will be disassembled, regardless of the presence of interveening symbols.

* objdump.c (disassemble_section): When disassembling from a
symbol only stop at the next symbol if the original symbol was not
a function symbol.  Otherwise continue disassembling until a new
function is reached.
* testsuite/binutils-all/objdump.exp: Add tests of extended
functionality.
* testsuite/binutils-all/disasm.s: New test source file.
binutils/ChangeLog
binutils/NEWS
binutils/doc/binutils.texi
binutils/objdump.c
binutils/testsuite/binutils-all/disasm.s [new file with mode: 0644]
binutils/testsuite/binutils-all/objdump.exp