aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2008-09-11 14:16:14 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2008-09-11 14:16:14 +0000
commit0ab7ba45fa26e78626617b4d90725fc921c74f69 (patch)
treed6297abeb32140db80712332093d7dbc9f6118e6 /gdb/value.h
parentf7c79c4197b4e8003d9c9828b2e22df6444c5860 (diff)
downloadfsf-binutils-gdb-0ab7ba45fa26e78626617b4d90725fc921c74f69.zip
fsf-binutils-gdb-0ab7ba45fa26e78626617b4d90725fc921c74f69.tar.gz
fsf-binutils-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.h6
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. */