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 | 34a17005a838978388de0b1e5ed040291c38661c (patch) | |
tree | 14b4e08e23ee741010645b2157288ce52050354b /gdb/ada-lex.l | |
parent | 714e53abdada80ad3b1223528e2aa2fac51436a5 (diff) | |
download | gdb-34a17005a838978388de0b1e5ed040291c38661c.zip gdb-34a17005a838978388de0b1e5ed040291c38661c.tar.gz gdb-34a17005a838978388de0b1e5ed040291c38661c.tar.bz2 |
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 ddb6026..6aa3b7d 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); } } |