summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-08-24 04:56:51 +0000
committerAndrew Cagney <cagney@redhat.com>2001-08-24 04:56:51 +0000
commit6501e46a92b5d81ec57c031d14fbe303ad65c2de (patch)
tree615b8f37420789de0f8a90d4a9e229d83b9d0e74
parent567b554e81f3cfc75483cc9cc983ca7c8b555b9e (diff)
downloadbinutils-gdb-6501e46a92b5d81ec57c031d14fbe303ad65c2de.tar.gz
* 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 513d6a0bc50..709c8edc6e7 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-10 Daniel Jacobowitz <drow@mvista.com>
H.J. Lu (hjl@gnu.org)
diff --git a/gdb/config/djgpp/fnchange.lst b/gdb/config/djgpp/fnchange.lst
index feb3656e0d0..5150656923b 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 232a5769882..1b82a9c5ea0 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