aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-03-23 19:52:50 +0000
committerFred Fish <fnf@specifix.com>1996-03-23 19:52:50 +0000
commitb9aa6215c9345163c205c04c320f73abf87c6d73 (patch)
tree61a8fc729440496813ec4811ffd42dcf3335bf86
parent8a1d8a0b60316b3b18e37f1b351a7137bb8f8ff0 (diff)
downloadgdb-b9aa6215c9345163c205c04c320f73abf87c6d73.zip
gdb-b9aa6215c9345163c205c04c320f73abf87c6d73.tar.gz
gdb-b9aa6215c9345163c205c04c320f73abf87c6d73.tar.bz2
* ch-lang.c (evaluate_subexp_chill): Fix typo.
-rw-r--r--gdb/ChangeLog8
-rw-r--r--gdb/ch-lang.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 284905b..47dd22b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,11 @@
+Sat Mar 23 12:14:02 1996 Fred Fish <fnf@cygnus.com>
+
+ * ch-lang.c (evaluate_subexp_chill): Fix typo.
+
+Thu Mar 21 08:27:19 1996 Fred Fish <fnf@cygnus.com>
+
+ * Makefile.in (VERSION): Bump version to 4.15.3
+
Thu Mar 21 10:56:41 1996 Ian Lance Taylor <ian@cygnus.com>
* config.in: Rename from config.h.in.
diff --git a/gdb/ch-lang.c b/gdb/ch-lang.c
index 12d2f98..8504d67 100644
--- a/gdb/ch-lang.c
+++ b/gdb/ch-lang.c
@@ -521,7 +521,7 @@ evaluate_subexp_chill (expect_type, exp, pos, noside)
{
case TYPE_CODE_PTR:
type = check_typedef (TYPE_TARGET_TYPE (type));
- if (!type || TYPE_CODE (type) || TYPE_CODE_FUNC)
+ if (!type || TYPE_CODE (type) != TYPE_CODE_FUNC)
error ("reference value used as function");
/* ... fall through ... */
case TYPE_CODE_FUNC: