aboutsummaryrefslogtreecommitdiff
path: root/gdb/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/parse.c')
-rw-r--r--gdb/parse.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/parse.c b/gdb/parse.c
index 7bbe0a8..f22814b 100644
--- a/gdb/parse.c
+++ b/gdb/parse.c
@@ -599,6 +599,11 @@ length_of_subexp (expr, endpos)
case OP_LABELED:
case STRUCTOP_STRUCT:
case STRUCTOP_PTR:
+/* start-sanitize-gm */
+#ifdef GENERAL_MAGIC_HACKS
+ case STRUCTOP_FIELD:
+#endif /* GENERAL_MAGIC_HACKS */
+/* end-sanitize-gm */
args = 1;
/* fall through */
case OP_M2_STRING: