aboutsummaryrefslogtreecommitdiff
path: root/config-ml.in
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2020-12-10 14:47:18 +0000
committerAndrew Burgess <andrew.burgess@embecosm.com>2020-12-11 22:10:50 +0000
commit44c77c32720c25f56a34ec4114c7addf5836ba97 (patch)
tree865794887de9bc0d9f95a885b35527d995ba1203 /config-ml.in
parent9ef6d4a1b48ea1f5693aa270b8b768146a31b9e9 (diff)
downloadgdb-44c77c32720c25f56a34ec4114c7addf5836ba97.zip
gdb-44c77c32720c25f56a34ec4114c7addf5836ba97.tar.gz
gdb-44c77c32720c25f56a34ec4114c7addf5836ba97.tar.bz2
gdb: make deprecated_cmd_warning i18n friendly
Rewrite deprecated_cmd_warning to be i18n friendly. While I'm going through the function I also cleaned up some whitespace issues, replaced uses of NULL with nullptr, and moved some comments to avoid having to add { ... }. Though the message being printed has a 'Warning: ' prefix I could have changed from using printf_filtered to use warning, however, I haven't done that in this commit as that would change what GDB outputs and I wanted this commit NOT to change the output. There should be no user visible changes after this commit. gdb/ChangeLog: * cli/cli-decode.c (deprecated_cmd_warning): Use nullptr instead of NULL. Don't print message piece by piece, but sentence at a time to allow internationalisation. Some whitespace cleanup.
Diffstat (limited to 'config-ml.in')
0 files changed, 0 insertions, 0 deletions