]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ChangeLog
-Wwrite-strings: Constify shell_escape and plug make_command leak
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
index 925cb947c2f82e457c57c2c4ddbc1246a8b60ce6..00f8d1c87bd4b6c0d22181037fc41eaa3d51f744 100644 (file)
@@ -1,3 +1,10 @@
+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.
+
 2017-04-05  Pedro Alves  <palves@redhat.com>
 
        * breakpoint.c (dprintf_function, dprintf_channel): Don't initialize.