diff options
Diffstat (limited to 'gdb/parse.c')
-rw-r--r-- | gdb/parse.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/parse.c b/gdb/parse.c index 3db9735..e1fa229 100644 --- a/gdb/parse.c +++ b/gdb/parse.c @@ -901,6 +901,12 @@ operator_length_standard (const struct expression *expr, int endpos, oplen = 4; break; + case OP_FUNC_STATIC_VAR: + oplen = longest_to_int (expr->elts[endpos - 2].longconst); + oplen = 4 + BYTES_TO_EXP_ELEM (oplen + 1); + args = 1; + break; + case OP_TYPE: case OP_BOOL: case OP_LAST: |