aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2004-08-10 23:48:29 +0000
committerJoel Brobecker <brobecker@gnat.com>2004-08-10 23:48:29 +0000
commit3bcc18faa9316232c786da8915f232bcf443ad56 (patch)
tree51f2fd6a41210af730ce1ce61cc901b3ce61a6e7
parentcc503c8aa2d3163546a64753ebecddd804822be9 (diff)
downloadgdb-3bcc18faa9316232c786da8915f232bcf443ad56.zip
gdb-3bcc18faa9316232c786da8915f232bcf443ad56.tar.gz
gdb-3bcc18faa9316232c786da8915f232bcf443ad56.tar.bz2
* xcoff_symfile_finish: Replace last call to xmfree by call
to xfree.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/xcoffread.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 973ca13..d79ae86 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2004-08-10 Joel Brobecker <brobecker@gnat.com>
+
+ * xcoff_symfile_finish: Replace last call to xmfree by call
+ to xfree.
+
2004-08-10 Andrew Cagney <cagney@gnu.org>
* main.c (captured_main): Delete call to init_malloc.
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index e92ab02..2f1bd23 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -1858,7 +1858,7 @@ xcoff_symfile_finish (struct objfile *objfile)
{
if (objfile->sym_private != NULL)
{
- xmfree (objfile->md, objfile->sym_private);
+ xfree (objfile->sym_private);
}
/* Start with a fresh include table for the next objfile. */