Style more output of "disassemble" command
authorTom Tromey <tom@tromey.com>
Fri, 9 Oct 2020 01:41:45 +0000 (19:41 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 9 Oct 2020 01:41:45 +0000 (19:41 -0600)
commitb270168504d91292ec7089056ce32c68ad6c28a7
tree636d9955d55eb696ce11f358a68764da88f884ab
parentb3d3944ee56d22337e30333ad1aa3864e38efa21
Style more output of "disassemble" command

I noticed a couple of spots where the "disassemble" could style its
output, but currently does not.  This patch adds styling to the
function name at the start of the disassembly, and any addresses
printed there.

gdb/ChangeLog
2020-10-08  Tom Tromey  <tom@tromey.com>

* cli/cli-cmds.c (print_disassembly): Style function name and
addresses.  Add _() wrappers.

gdb/testsuite/ChangeLog
2020-10-08  Tom Tromey  <tom@tromey.com>

* gdb.base/style.exp: Check that "main"'s name is styled.
gdb/ChangeLog
gdb/cli/cli-cmds.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/style.exp