diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2008-09-11 14:16:14 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2008-09-11 14:16:14 +0000 |
commit | 0ab7ba45fa26e78626617b4d90725fc921c74f69 (patch) | |
tree | d6297abeb32140db80712332093d7dbc9f6118e6 /gdb/value.h | |
parent | f7c79c4197b4e8003d9c9828b2e22df6444c5860 (diff) | |
download | gdb-0ab7ba45fa26e78626617b4d90725fc921c74f69.zip gdb-0ab7ba45fa26e78626617b4d90725fc921c74f69.tar.gz gdb-0ab7ba45fa26e78626617b4d90725fc921c74f69.tar.bz2 |
* value.h (coerce_enum, coerce_number): Remove prototypes.
* value.c (coerce_enum, coerce_number): Remove.
* valarith.c (value_x_binop): Do not call coerce_enum.
(value_x_unop): Likewise.
(value_logical_not): Call coerce_array instead of coerce_number.
Diffstat (limited to 'gdb/value.h')
-rw-r--r-- | gdb/value.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/value.h b/gdb/value.h index ba89858..9665303 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -230,17 +230,11 @@ extern short *deprecated_value_regnum_hack (struct value *); extern struct value *coerce_ref (struct value *value); /* If ARG is an array, convert it to a pointer. - If ARG is an enum, convert it to an integer. If ARG is a function, convert it to a function pointer. References are dereferenced. */ extern struct value *coerce_array (struct value *value); -extern struct value *coerce_number (struct value *value); - -/* If ARG is an enum, convert it to an integer. */ - -extern struct value *coerce_enum (struct value *value); /* Internal variables (variables for convenience of use of debugger) are recorded as a chain of these structures. */ |