Highlight deprecated commands using title style
authorTom Tromey <tromey@adacore.com>
Tue, 15 Dec 2020 15:07:32 +0000 (08:07 -0700)
committerTom Tromey <tromey@adacore.com>
Tue, 15 Dec 2020 15:07:32 +0000 (08:07 -0700)
commit0e5ad4426a0b186290b845852ba9dac112388cbc
tree721887ddeca2e38709d17d047df4edca4fa6a6f6
parent7bed846687589e1346626e8bc9f2948340ef454b
Highlight deprecated commands using title style

After Andrew's latest patch, I noticed that the deprecation warnings
could use the (so-called) title style when printing command names.
This patch implements this idea.

gdb/ChangeLog
2020-12-15  Tom Tromey  <tromey@adacore.com>

* cli/cli-decode.c (deprecated_cmd_warning): Use title style for
command names.

gdb/testsuite/ChangeLog
2020-12-15  Tom Tromey  <tromey@adacore.com>

* gdb.base/style.exp: Add deprecation tests.
gdb/ChangeLog
gdb/cli/cli-decode.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/style.exp
This page took 0.027069 seconds and 4 git commands to generate.