aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/cli/cli-script.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index bcd919c..ae1f5e1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-17 Fernando Nasser <fnasser@redhat.com>
+
+ From 2001-06-15 Eirik Fuller <eirik@hackrat.com>
+ * cli/cli-script.c (free_command_lines): Reset list pointer.
+
2001-06-16 Andrew Cagney <ac131313@redhat.com>
* arch-utils.c (init_frame_pc_default): New function
diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c
index d4a9def..69fc4fb 100644
--- a/gdb/cli/cli-script.c
+++ b/gdb/cli/cli-script.c
@@ -1028,6 +1028,7 @@ free_command_lines (struct command_line **lptr)
xfree (l);
l = next;
}
+ *lptr = NULL;
}
static void