aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-08-24 05:00:06 +0000
committerAndrew Cagney <cagney@redhat.com>2001-08-24 05:00:06 +0000
commit12a498f33aefa5c7ee516545531f7323c65cab7d (patch)
treeca10d9eaad905018cb52b0ea7160da8101ca94d9
parent598f52dfcc03c4b00a85d0420444acec5d201ec2 (diff)
downloadgdb-12a498f33aefa5c7ee516545531f7323c65cab7d.zip
gdb-12a498f33aefa5c7ee516545531f7323c65cab7d.tar.gz
gdb-12a498f33aefa5c7ee516545531f7323c65cab7d.tar.bz2
* go32-nat.c (go32_create_inferior): Use xfree instead of free.
* config/djgpp/fnchange.lst: Add entries for i386bsd-tdep.c and i386bsd-nat.c.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/config/djgpp/fnchange.lst2
-rw-r--r--gdb/go32-nat.c2
3 files changed, 9 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c92f035..e8d7faa 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2001-08-24 Andrew Cagney <ac131313@redhat.com>
+
+ * go32-nat.c (go32_create_inferior): Use xfree instead of free.
+ * config/djgpp/fnchange.lst: Add entries for i386bsd-tdep.c and
+ i386bsd-nat.c.
+
2001-08-21 Andrew Cagney <ac131313@redhat.com>
* gdbtypes.h (builtin_type_ieee_single_big)
diff --git a/gdb/config/djgpp/fnchange.lst b/gdb/config/djgpp/fnchange.lst
index feb3656..5150656 100644
--- a/gdb/config/djgpp/fnchange.lst
+++ b/gdb/config/djgpp/fnchange.lst
@@ -109,6 +109,8 @@
@V@/gdb/gdbtk/library/ChangeLog-2000 @V@/gdb/gdbtk/library/ChangeLog.000
@V@/gdb/gdbtk/library/ChangeLog-2001 @V@/gdb/gdbtk/library/ChangeLog.001
@V@/gdb/i386-linux-tdep.c @V@/gdb/i386linux-tdep.c
+@V@/gdb/i386bsd-nat.c @V@/gdb/i3bsd-nat.c
+@V@/gdb/i386bsd-tdep.c @V@/gdb/i3bsd-tdep.c
@V@/gdb/i386nbsd-nat.c @V@/gdb/i3nbsd-nat.c
@V@/gdb/i386nbsd-tdep.c @V@/gdb/i3nbsd-tdep.c
@V@/gdb/ia64-aix-nat.c @V@/gdb/ia64aix-nat.c
diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c
index 4805340..3f56088 100644
--- a/gdb/go32-nat.c
+++ b/gdb/go32-nat.c
@@ -649,7 +649,7 @@ go32_create_inferior (char *exec_file, char *args, char **env)
exit (1);
}
environ = env_save;
- free (cmdline);
+ xfree (cmdline);
edi_init (start_state);
#if __DJGPP_MINOR__ < 3