Add styling to macro commands
authorTom Tromey <tom@tromey.com>
Fri, 8 Feb 2019 08:28:53 +0000 (01:28 -0700)
committerTom Tromey <tom@tromey.com>
Sun, 17 Feb 2019 23:28:38 +0000 (16:28 -0700)
commit6506371f0671dd5ca11127fee4db8d8d7fec157f
treeda1e7c3598fd16e86fa307feacca5fd0a4b747b0
parent0c820d679358aa1ec7cd9e33c4bc23a7db964ea1
Add styling to macro commands

This adds filename styling to "info macro".

gdb/ChangeLog
2019-02-17  Tom Tromey  <tom@tromey.com>

* macrocmd.c (show_pp_source_pos): Style the file names.

gdb/testsuite/ChangeLog
2019-02-17  Tom Tromey  <tom@tromey.com>

* gdb.base/style.exp: Use -g3 to compile when possible.  Add test
for macro styling.
* gdb.base/style.c (SOME_MACRO): New macro.
gdb/ChangeLog
gdb/macrocmd.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/style.c
gdb/testsuite/gdb.base/style.exp