summaryrefslogtreecommitdiff
path: root/gdb/parse.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-09-19 03:58:41 +0000
committerAndrew Cagney <cagney@redhat.com>2002-09-19 03:58:41 +0000
commit734d157caf3c4a6cca8b9cda844246a860a17834 (patch)
tree6e2484bd32f292ddab16750bfe0ccce30a97cd6f /gdb/parse.c
parentd3cb6d531b01be6e16eb48ff683bb8f5b8cd9940 (diff)
downloadgdb-734d157caf3c4a6cca8b9cda844246a860a17834.tar.gz
Revert previous change. Not obvious.
Diffstat (limited to 'gdb/parse.c')
-rw-r--r--gdb/parse.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gdb/parse.c b/gdb/parse.c
index 8ae53d83d99..c5de0af3334 100644
--- a/gdb/parse.c
+++ b/gdb/parse.c
@@ -867,11 +867,6 @@ length_of_subexp (register struct expression *expr, register int endpos)
args = 1 + longest_to_int (expr->elts[endpos - 2].longconst);
break;
- case OP_MSGCALL: /* Objective C message (method) call */
- oplen = 4;
- args = 1 + longest_to_int (expr->elts[endpos - 2].longconst);
- break;
-
case UNOP_MAX:
case UNOP_MIN:
oplen = 3;
@@ -903,8 +898,6 @@ length_of_subexp (register struct expression *expr, register int endpos)
/* fall through */
case OP_M2_STRING:
case OP_STRING:
- case OP_NSSTRING: /* Objective C Foundation Class NSString constant */
- case OP_SELECTOR: /* Objective C "@selector" pseudo-op */
case OP_NAME:
case OP_EXPRSTRING:
oplen = longest_to_int (expr->elts[endpos - 2].longconst);
@@ -943,7 +936,6 @@ length_of_subexp (register struct expression *expr, register int endpos)
/* C++ */
case OP_THIS:
- case OP_SELF:
oplen = 2;
break;
@@ -1012,11 +1004,6 @@ prefixify_subexp (register struct expression *inexpr,
args = 1 + longest_to_int (inexpr->elts[inend - 2].longconst);
break;
- case OP_MSGCALL: /* Objective C message (method) call */
- oplen = 4;
- args = 1 + longest_to_int (inexpr->elts[inend - 2].longconst);
- break;
-
case UNOP_MIN:
case UNOP_MAX:
oplen = 3;
@@ -1047,8 +1034,6 @@ prefixify_subexp (register struct expression *inexpr,
/* fall through */
case OP_M2_STRING:
case OP_STRING:
- case OP_NSSTRING: /* Objective C Foundation Class NSString constant */
- case OP_SELECTOR: /* Objective C "@selector" pseudo-op */
case OP_NAME:
case OP_EXPRSTRING:
oplen = longest_to_int (inexpr->elts[inend - 2].longconst);
@@ -1087,7 +1072,6 @@ prefixify_subexp (register struct expression *inexpr,
/* C++ */
case OP_THIS:
- case OP_SELF:
oplen = 2;
break;