-Wwrite-strings: Constify warning_pre_print
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 00f8d1c87bd4b6c0d22181037fc41eaa3d51f744..f07927d468cbf5a7face57250cd9fe7b566b5b67 100644 (file)
@@ -1,3 +1,10 @@
+2017-04-05  Pedro Alves         <palves@redhat.com>
+
+       * main.c (captured_main_1): Use gdb::unique_xmalloc_ptr to manage
+       the memory of the temporary warning_pre_print override.
+       * utils.c (warning_pre_print): Constify.
+       * utils.h (warning_pre_print): Constify.
+
 2017-04-05  Pedro Alves         <palves@redhat.com>
 
        * cli/cli-cmds.c (shell_escape): Constify 'arg' parameter.
This page took 0.024255 seconds and 4 git commands to generate.