diff options
author | Yao Qi <yao@codesourcery.com> | 2012-08-13 00:54:04 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-08-13 00:54:04 +0000 |
commit | 5cad973621efdc630546390dc0b34eb4d31906ae (patch) | |
tree | c961eec5dcad8362ec743fb2e088a91aac4c52cb /gdb/valops.c | |
parent | f8cb18510f1f27373d030fff5f736efd3c3a60ad (diff) | |
download | gdb-5cad973621efdc630546390dc0b34eb4d31906ae.zip gdb-5cad973621efdc630546390dc0b34eb4d31906ae.tar.gz gdb-5cad973621efdc630546390dc0b34eb4d31906ae.tar.bz2 |
gdb/
* std-operator.def: Remove OP_BITSTRING.
* breakpoint.c (watchpoint_exp_is_const): Update.
* eval.c (evaluate_subexp_standard): Remove handling to
OP_BITSTRING.
* expprint.c (print_subexp_standard): Likewise.
(dump_subexp_body_standard): Likewise.
* parse.c (operator_length_standard): Likewise.
* valops.c (value_bitstring): Remove.
* value.h: Remove the declaration of 'value_bitstring'.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r-- | gdb/valops.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/gdb/valops.c b/gdb/valops.c index 934f381..8167cd4 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -1875,19 +1875,6 @@ value_string (char *ptr, int len, struct type *char_type) return val; } -struct value * -value_bitstring (char *ptr, int len, struct type *index_type) -{ - struct value *val; - struct type *domain_type - = create_range_type (NULL, index_type, 0, len - 1); - struct type *type = create_set_type (NULL, domain_type); - - TYPE_CODE (type) = TYPE_CODE_BITSTRING; - val = allocate_value (type); - memcpy (value_contents_raw (val), ptr, TYPE_LENGTH (type)); - return val; -} /* See if we can pass arguments in T2 to a function which takes arguments of types T1. T1 is a list of NARGS arguments, and T2 is |