aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-10-08 14:00:50 +0000
committerAlan Modra <amodra@gmail.com>2010-10-08 14:00:50 +0000
commit9ccb8af972518810c66317c6c942d2268bfb5123 (patch)
tree1acdeaaf802f3b87c42d584da4c113d548301124 /binutils
parentec3d575a7a6516a1b3065312d228d706de6c49c7 (diff)
downloadgdb-9ccb8af972518810c66317c6c942d2268bfb5123.zip
gdb-9ccb8af972518810c66317c6c942d2268bfb5123.tar.gz
gdb-9ccb8af972518810c66317c6c942d2268bfb5123.tar.bz2
Fix build with -DDEBUG=7
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/nlmheader.y10
2 files changed, 10 insertions, 5 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index ada4761..1ad5a7a 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2010-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ Fix build with -DDEBUG=7
+ * nlmheader.y (DEBUG token): Rename to DEBUG_K.
+
2010-10-06 Alan Modra <amodra@gmail.com>
* bucomm.c (bfd_nonfatal, bfd_nonfatal_message): Don't clobber errno.
diff --git a/binutils/nlmheader.y b/binutils/nlmheader.y
index f42ae90..86744c4 100644
--- a/binutils/nlmheader.y
+++ b/binutils/nlmheader.y
@@ -1,6 +1,6 @@
%{/* nlmheader.y - parse NLM header specification keywords.
- Copyright 1993, 1994, 1995, 1997, 1998, 2001, 2002, 2003, 2005, 2007
- Free Software Foundation, Inc.
+ Copyright 1993, 1994, 1995, 1997, 1998, 2001, 2002, 2003, 2005, 2007,
+ 2010 Free Software Foundation, Inc.
This file is part of GNU Binutils.
@@ -117,7 +117,7 @@ static char *xstrdup (const char *);
/* The reserved words. */
-%token CHECK CODESTART COPYRIGHT CUSTOM DATE DEBUG DESCRIPTION EXIT
+%token CHECK CODESTART COPYRIGHT CUSTOM DATE DEBUG_K DESCRIPTION EXIT
%token EXPORT FLAG_ON FLAG_OFF FULLMAP HELP IMPORT INPUT MAP MESSAGES
%token MODULE MULTIPLE OS_DOMAIN OUTPUT PSEUDOPREEMPTION REENTRANT
%token SCREENNAME SHARELIB STACK START SYNCHRONIZE
@@ -202,7 +202,7 @@ command:
if (version_hdr->year < 1900 || version_hdr->year > 3000)
nlmheader_warn (_("illegal year"), -1);
}
- | DEBUG
+ | DEBUG_K
{
debug_info = TRUE;
}
@@ -593,7 +593,7 @@ static struct keyword_tokens_struct keyword_tokens[] =
{ "COPYRIGHT", COPYRIGHT },
{ "CUSTOM", CUSTOM },
{ "DATE", DATE },
- { "DEBUG", DEBUG },
+ { "DEBUG", DEBUG_K },
{ "DESCRIPTION", DESCRIPTION },
{ "EXIT", EXIT },
{ "EXPORT", EXPORT },