diff options
author | Pedro Alves <palves@redhat.com> | 2017-04-05 19:21:34 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2017-04-05 19:21:34 +0100 |
commit | be47f9e8180d7275b0e2b26998472e99be9a2d7b (patch) | |
tree | dd8f61a069e65b93b2fea5a56cf7693593aac80f /ld | |
parent | bde6261aed330cd8d108c387bfe659a6171525dd (diff) | |
download | gdb-be47f9e8180d7275b0e2b26998472e99be9a2d7b.zip gdb-be47f9e8180d7275b0e2b26998472e99be9a2d7b.tar.gz gdb-be47f9e8180d7275b0e2b26998472e99be9a2d7b.tar.bz2 |
-Wwrite-strings: Constify shell_escape and plug make_command leak
gdb/ChangeLog:
2017-04-05 Pedro Alves <palves@redhat.com>
* cli/cli-cmds.c (shell_escape): Constify 'arg' parameter.
(shell_command): New function.
(make_command): Use std::string.
(init_cli_cmds): Register shell_command instead of shell_escape.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions