diff options
Diffstat (limited to 'gdb/parser-defs.h')
-rw-r--r-- | gdb/parser-defs.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gdb/parser-defs.h b/gdb/parser-defs.h index 2c4b755..cbda9c3 100644 --- a/gdb/parser-defs.h +++ b/gdb/parser-defs.h @@ -69,6 +69,22 @@ struct stoken int length; }; +struct typed_stoken + { + /* A language-specific type field. */ + int type; + /* Pointer to first byte of char-string or first bit of bit-string */ + char *ptr; + /* Length of string in bytes for char-string or bits for bit-string */ + int length; + }; + +struct stoken_vector + { + int len; + struct typed_stoken *tokens; + }; + struct ttype { struct stoken stoken; @@ -130,6 +146,8 @@ extern void write_exp_elt_intern (struct internalvar *); extern void write_exp_string (struct stoken); +void write_exp_string_vector (int type, struct stoken_vector *vec); + extern void write_exp_bitstring (struct stoken); extern void write_exp_elt_block (struct block *); |