summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gdb
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-02-17 09:11:30 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-02-17 09:11:30 +0000
commit1e749144fe0fd0e28f86a105b9650ec4a93fa944 (patch)
tree5dbacaa9e3550a18cc72683f6dbe41621c1bd802 /gnu/usr.bin/gdb
parent911b42dcf51c9ea6ab9bf5f0bfbbb8437be1ccf0 (diff)
__NetBSD__ is going away from our gcc specs
Diffstat (limited to 'gnu/usr.bin/gdb')
-rw-r--r--gnu/usr.bin/gdb/gdb/c-exp.y6
-rw-r--r--gnu/usr.bin/gdb/gdb/ch-exp.y6
-rw-r--r--gnu/usr.bin/gdb/gdb/m2-exp.y6
3 files changed, 9 insertions, 9 deletions
diff --git a/gnu/usr.bin/gdb/gdb/c-exp.y b/gnu/usr.bin/gdb/gdb/c-exp.y
index 007bdd8ae71..9a83ca60020 100644
--- a/gnu/usr.bin/gdb/gdb/c-exp.y
+++ b/gnu/usr.bin/gdb/gdb/c-exp.y
@@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: c-exp.y,v 1.1 1995/10/18 08:39:56 deraadt Exp $
+ $Id: c-exp.y,v 1.2 1997/02/17 09:11:23 niklas Exp $
*/
/* Parse a C expression from text in a string,
@@ -46,7 +46,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#include "language.h"
#include "c-lang.h"
-#ifndef __NetBSD__
+#if !defined (__NetBSD__) && !defined (__OpenBSD__)
/* Remap normal yacc parser interface names (yyparse, yylex, yyerror, etc),
as well as gratuitiously global symbol names, so we can have multiple
yacc generated parsers in gdb. Note that these are only the variables
@@ -83,7 +83,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#define yylloc c_lloc
#define yyreds c_reds /* With YYDEBUG defined */
#define yytoks c_toks /* With YYDEBUG defined */
-#endif /* __NetBSD__ */
+#endif /* __NetBSD__ || __OpenBSD__ */
#ifndef YYDEBUG
#define YYDEBUG 0 /* Default to no yydebug support */
diff --git a/gnu/usr.bin/gdb/gdb/ch-exp.y b/gnu/usr.bin/gdb/gdb/ch-exp.y
index fb1a0644a69..c524a636728 100644
--- a/gnu/usr.bin/gdb/gdb/ch-exp.y
+++ b/gnu/usr.bin/gdb/gdb/ch-exp.y
@@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: ch-exp.y,v 1.1 1995/10/18 08:39:57 deraadt Exp $
+ $Id: ch-exp.y,v 1.2 1997/02/17 09:11:26 niklas Exp $
*/
/* Parse a Chill expression from text in a string,
@@ -64,7 +64,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#include "parser-defs.h"
#include "ch-lang.h"
-#ifndef __NetBSD__
+#if !defined (__NetBSD__) && !defined (__OpenBSD__)
/* Remap normal yacc parser interface names (yyparse, yylex, yyerror, etc),
as well as gratuitiously global symbol names, so we can have multiple
yacc generated parsers in gdb. Note that these are only the variables
@@ -101,7 +101,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#define yylloc chill_lloc
#define yyreds chill_reds /* With YYDEBUG defined */
#define yytoks chill_toks /* With YYDEBUG defined */
-#endif /* __NetBSD__ */
+#endif /* __NetBSD__ || __OpenBSD__ */
#ifndef YYDEBUG
#define YYDEBUG 0 /* Default to no yydebug support */
diff --git a/gnu/usr.bin/gdb/gdb/m2-exp.y b/gnu/usr.bin/gdb/gdb/m2-exp.y
index 7900fdd5419..4863bdb5631 100644
--- a/gnu/usr.bin/gdb/gdb/m2-exp.y
+++ b/gnu/usr.bin/gdb/gdb/m2-exp.y
@@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: m2-exp.y,v 1.1 1995/10/18 08:40:01 deraadt Exp $
+ $Id: m2-exp.y,v 1.2 1997/02/17 09:11:29 niklas Exp $
*/
/* Parse a Modula-2 expression from text in a string,
@@ -48,7 +48,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#include "parser-defs.h"
#include "m2-lang.h"
-#ifndef __NetBSD__
+#if !defined (__NetBSD__) && !defined (__OpenBSD__)
/* Remap normal yacc parser interface names (yyparse, yylex, yyerror, etc),
as well as gratuitiously global symbol names, so we can have multiple
yacc generated parsers in gdb. Note that these are only the variables
@@ -85,7 +85,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#define yylloc m2_lloc
#define yyreds m2_reds /* With YYDEBUG defined */
#define yytoks m2_toks /* With YYDEBUG defined */
-#endif /* __NetBSD__ */
+#endif /* __NetBSD__ || __OpenBSD__ */
#ifndef YYDEBUG
#define YYDEBUG 0 /* Default to no yydebug support */