From b90c4f33cd2fec30e0e97789177d463a31d09cf8 Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Sun, 27 Oct 1991 22:27:15 +0000 Subject: [PATCH] * c-exp.y (yyerror): Pass error message if given. * configure.in: Add rs6000 host and target. * inflow.c (new_tty): O_NOCTTY kludge for RS/6000. * symfile.h (entry_point): Add. --- gdb/c-exp.y | 2 +- gdb/configure.in | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gdb/c-exp.y b/gdb/c-exp.y index ec2bde99042..b30729aba5e 100644 --- a/gdb/c-exp.y +++ b/gdb/c-exp.y @@ -1398,7 +1398,7 @@ void yyerror (msg) char *msg; { - error ("Invalid syntax in expression."); + error (msg ? msg : "Invalid syntax in expression."); } /* Table mapping opcodes into strings for printing operators diff --git a/gdb/configure.in b/gdb/configure.in index 92169b067d7..7a1f2dcd095 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -104,6 +104,10 @@ romp) gdb_host=rtbsd ;; +rs6000) + gdb_host=rs6000 + ;; + a29k) gdb_host=ultra3 ;; @@ -242,6 +246,10 @@ ns32k) esac ;; +rs6000) + gdb_target=rs6000 + ;; + ### unhandled targets # altosgas # i386v-g -- 2.30.2