]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix -Werror problem with mi-main.c.
authorAndrew Cagney <cagney@redhat.com>
Thu, 10 May 2001 20:31:46 +0000 (20:31 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 10 May 2001 20:31:46 +0000 (20:31 +0000)
gdb/ChangeLog
gdb/Makefile.in
gdb/mi/ChangeLog
gdb/mi/mi-main.c

index cde8f4b2d3a14f0e68200b5cfdbd101596fa6976..ff4a27ac9b28ca09a65586c2d93c06c60266202a 100644 (file)
@@ -1,3 +1,7 @@
+Thu May 10 16:26:47 2001  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * Makefile.in (mi-main.o): Compile with -Werror.
+
 2001-05-10  Michael Snyder  <msnyder@redhat.com>
 
        * remote.c (remote_open_1): Call no_shared_libraries, so that
index 449e0b57b49073e535323e61f252385a6da6d157..f28ed007fe54dd873a2bd87292bc72f009d61a31 100644 (file)
@@ -2189,7 +2189,7 @@ mi-cmd-disas.o: $(srcdir)/mi/mi-cmd-disas.c $(defs_h) $(mi_cmds_h) \
 mi-main.o: $(srcdir)/mi/mi-main.c $(defs_h) $(top_h) $(mi_cmds_h) $(ui_out_h) \
                $(mi_console_h) $(mi_getopt_h) $(event_loop_h) $(event_top_h) \
                $(mi_getopt_h) $(regcache_h)
-       $(CC) -c $(INTERNAL_WARN_CFLAGS) $(srcdir)/mi/mi-main.c
+       $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-main.c
 mi-out.o: $(srcdir)/mi/mi-out.c $(defs_h) $(mi_out_h) $(ui_out_h)
        $(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-out.c
 mi-console.o: $(srcdir)/mi/mi-console.c $(mi_out_h) $(defs_h)
index 33cb498ec39ec0d037294460cb4087240d0950a5..a59d0b61a1c6263b6ee5ef02846dddcba39d3770 100644 (file)
@@ -1,3 +1,8 @@
+Thu May 10 16:28:13 2001  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mi-main.c (mi_execute_async_cli_command): Always initialize
+       old_cleanups.
+
 2001-05-08  Andrew Cagney  <ac131313@redhat.com>
 
        * mi-out.c (mi_begin, mi_end): Replace mi_list_begin and
index 06638bf3aa1acf22d38dc4d72490cd26de063189..f0d7e108216f60e523dfbbfefbc0b4fb6a494d94 100644 (file)
@@ -1272,6 +1272,7 @@ mi_execute_async_cli_command (char *mi, char *args, int from_tty)
       xasprintf (&run, "%s %s", mi, async_args);
       make_exec_cleanup (free, run);
       add_continuation (mi_exec_async_cli_cmd_continuation, NULL);
+      old_cleanups = NULL;
     }
   else
     {