aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-12-02 22:38:23 +0000
committerAndrew Cagney <cagney@redhat.com>2001-12-02 22:38:23 +0000
commitaac7f4eaf285cfa05a09ce0750f3f828ba0b0f01 (patch)
treeeb4b35b0031b389cdb25e2d2ed735f4fb663d11e /gdb/symfile.c
parent4c17829508ff57f839698eb08f6adf8fdf2526a1 (diff)
downloadgdb-aac7f4eaf285cfa05a09ce0750f3f828ba0b0f01.zip
gdb-aac7f4eaf285cfa05a09ce0750f3f828ba0b0f01.tar.gz
gdb-aac7f4eaf285cfa05a09ce0750f3f828ba0b0f01.tar.bz2
mfree() -> xmfree().
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r--gdb/symfile.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index d5aeba3..ca86f28 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -1667,11 +1667,11 @@ reread_symbols (void)
/* FIXME: Do we have to free a whole linked list, or is this
enough? */
if (objfile->global_psymbols.list)
- mfree (objfile->md, objfile->global_psymbols.list);
+ xmfree (objfile->md, objfile->global_psymbols.list);
memset (&objfile->global_psymbols, 0,
sizeof (objfile->global_psymbols));
if (objfile->static_psymbols.list)
- mfree (objfile->md, objfile->static_psymbols.list);
+ xmfree (objfile->md, objfile->static_psymbols.list);
memset (&objfile->static_psymbols, 0,
sizeof (objfile->static_psymbols));
@@ -2417,11 +2417,11 @@ init_psymbol_list (struct objfile *objfile, int total_symbols)
if (objfile->global_psymbols.list)
{
- mfree (objfile->md, (PTR) objfile->global_psymbols.list);
+ xmfree (objfile->md, (PTR) objfile->global_psymbols.list);
}
if (objfile->static_psymbols.list)
{
- mfree (objfile->md, (PTR) objfile->static_psymbols.list);
+ xmfree (objfile->md, (PTR) objfile->static_psymbols.list);
}
/* Current best guess is that approximately a twentieth