aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.c
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1992-03-01 01:04:13 +0000
committerPer Bothner <per@bothner.com>1992-03-01 01:04:13 +0000
commit2b5a8d9c47f77cebff48c49d5b9025ac8baf88c5 (patch)
treed669c2a34cd995b4d73101423252a86c306e767c /gdb/objfiles.c
parent1651b22d76d78d5ec16dcb980127805dd9a8c649 (diff)
downloadgdb-2b5a8d9c47f77cebff48c49d5b9025ac8baf88c5.zip
gdb-2b5a8d9c47f77cebff48c49d5b9025ac8baf88c5.tar.gz
gdb-2b5a8d9c47f77cebff48c49d5b9025ac8baf88c5.tar.bz2
More changes, mostly from IBM, for the rs6000. See ChangeLog.
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r--gdb/objfiles.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c
index 53ac034..1bba838 100644
--- a/gdb/objfiles.c
+++ b/gdb/objfiles.c
@@ -64,8 +64,8 @@ allocate_objfile (abfd, filename, dumpable)
{
objfile = (struct objfile *) xmalloc (sizeof (struct objfile));
(void) memset (objfile, 0, sizeof (struct objfile));
- objfile -> malloc = malloc;
- objfile -> realloc = realloc;
+ objfile -> malloc = xmalloc;
+ objfile -> realloc = xrealloc;
objfile -> xmalloc = xmalloc;
objfile -> xrealloc = xrealloc;
objfile -> free = free;