aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorFernando Nasser <fnasser@redhat.com>2001-06-17 15:16:12 +0000
committerFernando Nasser <fnasser@redhat.com>2001-06-17 15:16:12 +0000
commit0d70f41b681cdefc33b28cf2e6745daaa49d7d25 (patch)
tree3a6cc2906967db19b25e8dabbf1ad1ef7d22721f /gdb
parentcb51c4e04dec2baecf0a5c80e7f6597b6844699c (diff)
downloadgdb-0d70f41b681cdefc33b28cf2e6745daaa49d7d25.zip
gdb-0d70f41b681cdefc33b28cf2e6745daaa49d7d25.tar.gz
gdb-0d70f41b681cdefc33b28cf2e6745daaa49d7d25.tar.bz2
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.
Diffstat (limited to 'gdb')
-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