aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-mips.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-mips.c')
-rw-r--r--gdb/remote-mips.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c
index 68d61b7..27bcf86 100644
--- a/gdb/remote-mips.c
+++ b/gdb/remote-mips.c
@@ -2705,8 +2705,8 @@ pmon_load_fast (file)
int final;
int finished = 0;
- buffer = (char *)malloc(MAXRECSIZE + 1);
- binbuf = (unsigned char *)malloc(BINCHUNK);
+ buffer = (char *)xmalloc(MAXRECSIZE + 1);
+ binbuf = (unsigned char *)xmalloc(BINCHUNK);
abfd = bfd_openr(file,0);
if (!abfd)