diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-07-27 19:31:30 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-07-27 19:31:30 +0000 |
commit | 18a46dbee88ecb499c299673eb50a4d9cdaaefaa (patch) | |
tree | 652ba8ac5279f521de7b34f86a010738355cc38a /gdb/value.h | |
parent | bb7da2bfb5d890bdb01a15ed46a64011fc08d812 (diff) | |
download | gdb-18a46dbee88ecb499c299673eb50a4d9cdaaefaa.zip gdb-18a46dbee88ecb499c299673eb50a4d9cdaaefaa.tar.gz gdb-18a46dbee88ecb499c299673eb50a4d9cdaaefaa.tar.bz2 |
gdb/
2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
Pedro Alves <pedro@codesourcery.com>
* eval.c (evaluate_subexp_standard): Remove not_lval from all calls of
value_one.
* valops.c (value_one): Remove parameter lv. Do not pass it to itself.
Assert the result kind.
* value.h (value_one): Remove parameter lv.
Diffstat (limited to 'gdb/value.h')
-rw-r--r-- | gdb/value.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/value.h b/gdb/value.h index 3bcd839..960384e 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -615,7 +615,7 @@ extern struct value *value_dynamic_cast (struct type *type, struct value *arg); extern struct value *value_zero (struct type *type, enum lval_type lv); -extern struct value *value_one (struct type *type, enum lval_type lv); +extern struct value *value_one (struct type *type); extern struct value *value_repeat (struct value *arg1, int count); |