* c-exp.y (yyerror): Pass error message if given.
authorJohn Gilmore <gnu@cygnus>
Sun, 27 Oct 1991 22:27:15 +0000 (22:27 +0000)
committerJohn Gilmore <gnu@cygnus>
Sun, 27 Oct 1991 22:27:15 +0000 (22:27 +0000)
* 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
gdb/configure.in

index ec2bde9904214db3e46565d8cff45082b9461fe9..b30729aba5ed0615b9d81fdc0f5c80d3c8cb2eac 100644 (file)
@@ -1398,7 +1398,7 @@ void
 yyerror (msg)
      char *msg;
 {
-  error ("Invalid syntax in expression.");
+  error (msg ? msg : "Invalid syntax in expression.");
 }
 \f
 /* Table mapping opcodes into strings for printing operators
index 92169b067d7105a392d53dca6ec832aed73d1feb..7a1f2dcd095bbedc9fa394ed094851d37f98140f 100644 (file)
@@ -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