aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/solib-frv.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 44ac767..646717b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2004-07-17 Andrew Cagney <cagney@gnu.org>
+
+ * solib-frv.c (fetch_loadmap): Use xfree, not free.
+
2004-07-17 Mark Kettenis <kettenis@gnu.org>
* configure.in: Define _MSE_INT_H on Solaris 9 too.
diff --git a/gdb/solib-frv.c b/gdb/solib-frv.c
index 5995b80..1784f73 100644
--- a/gdb/solib-frv.c
+++ b/gdb/solib-frv.c
@@ -165,7 +165,7 @@ fetch_loadmap (CORE_ADDR ldmaddr)
sizeof (ext_ldmbuf->segs[seg].p_memsz));
}
- free (ext_ldmbuf);
+ xfree (ext_ldmbuf);
return int_ldmbuf;
}