]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
Style addresses
authorTom Tromey <tom@tromey.com>
Fri, 19 Oct 2018 22:22:35 +0000 (16:22 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 28 Dec 2018 19:49:52 +0000 (12:49 -0700)
commit35fb8261b95c07e548a0b03f60b6c2cebf83caf8
treebc743f84964d5cbb252578826288456108365bce
parent47fd17cdc14a0d295a2cbdc02eff144e3fb4e900
Style addresses

This changes gdb to style addresses.

gdb/ChangeLog
2018-12-28  Tom Tromey  <tom@tromey.com>

* ui-out.h (enum class ui_out_style_kind) <ADDRESS>: New
constant.
* ui-out.c (ui_out::field_core_addr): Add styling.
* stack.c (print_frame): Add styling.
* printcmd.c (print_address): Add styling.
(print_address_demangle, info_address_command): Likewise.
* cli/cli-style.h (address_style): Declare.
* cli/cli-style.c (address_style): New global.
(_initialize_cli_style): Register new commands.
* cli-out.c (cli_ui_out::do_field_string): Update.

gdb/testsuite/ChangeLog
2018-12-28  Tom Tromey  <tom@tromey.com>

* gdb.base/style.exp: Update test to check for address styling.
gdb/ChangeLog
gdb/cli-out.c
gdb/cli/cli-style.c
gdb/cli/cli-style.h
gdb/printcmd.c
gdb/stack.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/style.exp
gdb/ui-out.c
gdb/ui-out.h