diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-10-15 13:29:33 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-10-15 13:29:33 +0000 |
commit | 67015556ddeea4636c86dbc501bd1122949b22db (patch) | |
tree | 6ae4d5164a290ef82f94878cae75b37482a0aa31 /gdb/ada-lex.l | |
parent | 9995109f2801070e0fdf6ecfe97dccc9cdfb2084 (diff) | |
download | gdb-67015556ddeea4636c86dbc501bd1122949b22db.tar.gz |
2004-10-15 Andrew Cagney <cagney@gnu.org>
* ada-exp.y, ada-lex.l: Use xmalloc and xrealloc through out.
* inf-ptrace.c: Include "gdb_wait.h" instead of <wait.h>.
* Makefile.in (.y.c, .l.c): Don't replace xmalloc with xxmalloc.
Update dependencies.
Diffstat (limited to 'gdb/ada-lex.l')
-rw-r--r-- | gdb/ada-lex.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ada-lex.l b/gdb/ada-lex.l index ddb60267c65..6aa3b7d5bff 100644 --- a/gdb/ada-lex.l +++ b/gdb/ada-lex.l @@ -345,7 +345,7 @@ resize_tempbuf (unsigned int n) if (tempbufsize < n) { tempbufsize = (n+63) & ~63; - tempbuf = (char *) realloc (tempbuf, tempbufsize); + tempbuf = xrealloc (tempbuf, tempbufsize); } } |