aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-05-10 20:31:46 +0000
committerAndrew Cagney <cagney@redhat.com>2001-05-10 20:31:46 +0000
commit6311b07d7213d4c0776baec192ebbe9cc2362655 (patch)
treef72733ce50bfa3e6dcda04e50723a6777bef8d65 /gdb/mi
parent2c9cd3035a918e642a58024e3a760736d96b08ab (diff)
downloadgdb-6311b07d7213d4c0776baec192ebbe9cc2362655.zip
gdb-6311b07d7213d4c0776baec192ebbe9cc2362655.tar.gz
gdb-6311b07d7213d4c0776baec192ebbe9cc2362655.tar.bz2
Fix -Werror problem with mi-main.c.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/ChangeLog5
-rw-r--r--gdb/mi/mi-main.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog
index 33cb498..a59d0b6 100644
--- a/gdb/mi/ChangeLog
+++ b/gdb/mi/ChangeLog
@@ -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
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c
index 06638bf..f0d7e10 100644
--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -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
{