aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-exp.y
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>1994-02-08 09:01:03 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>1994-02-08 09:01:03 +0000
commitba47c66add7b9bd51af6ca2e6f45529bb38b9dd3 (patch)
tree163e9719bd6088df82940088d9dd3bd9da7bd9e1 /gdb/c-exp.y
parent7c202d3775a7ee8b313d538c874c1077d238d768 (diff)
downloadgdb-ba47c66add7b9bd51af6ca2e6f45529bb38b9dd3.zip
gdb-ba47c66add7b9bd51af6ca2e6f45529bb38b9dd3.tar.gz
gdb-ba47c66add7b9bd51af6ca2e6f45529bb38b9dd3.tar.bz2
* README: Remove note about gcc warnings on alpha, these should be
gone now. * c-exp.y, ch-exp.y, core.c, corelow.c, eval.c, fork-child.c, m2-exp.y, minsyms.c, nlmread.c, parse.c, putenv.c, regex.c remote-utils.c, stabsread.c: Include <string.h>. * regex.c: Include "defs.h", change re_comp argument to const char *. * infptrace.c (fetch_register, store_inferior_registers): Change regaddr to type CORE_ADDR. * config/alpha/alpha-nw.mt, config/alpha/alpha-osf1.mt (MT_CFLAGS): Remove, no longer necessary now that we use bfd_vma for a CORE_ADDR.
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r--gdb/c-exp.y4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index 8860dfc..62ecbb0 100644
--- a/gdb/c-exp.y
+++ b/gdb/c-exp.y
@@ -1,5 +1,6 @@
/* YACC parser for C expressions, for GDB.
- Copyright (C) 1986, 1989, 1990, 1991 Free Software Foundation, Inc.
+ Copyright (C) 1986, 1989, 1990, 1991, 1993, 1994
+ Free Software Foundation, Inc.
This file is part of GDB.
@@ -37,6 +38,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
%{
#include "defs.h"
+#include <string.h>
#include "expression.h"
#include "value.h"
#include "parser-defs.h"