aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-exp.y
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-10-27 22:27:15 +0000
committerJohn Gilmore <gnu@cygnus>1991-10-27 22:27:15 +0000
commitb90c4f33cd2fec30e0e97789177d463a31d09cf8 (patch)
tree897687ec589666c8a4fa38d1919f4d4b1e2fecaf /gdb/c-exp.y
parenta23075bc5a477c09ef9691df016671f0d6c3deb1 (diff)
downloadgdb-b90c4f33cd2fec30e0e97789177d463a31d09cf8.zip
gdb-b90c4f33cd2fec30e0e97789177d463a31d09cf8.tar.gz
gdb-b90c4f33cd2fec30e0e97789177d463a31d09cf8.tar.bz2
* 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.
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r--gdb/c-exp.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index ec2bde9..b30729a 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