aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/value.c')
-rw-r--r--gdb/value.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/value.c b/gdb/value.c
index a957372..4dfd8fe 100644
--- a/gdb/value.c
+++ b/gdb/value.c
@@ -3418,11 +3418,10 @@ pack_unsigned_long (gdb_byte *buf, struct type *type, ULONGEST num)
}
}
-
-/* Create a value of type TYPE that is zero, and return it. */
+/* See value.h. */
struct value *
-value_zero (struct type *type, enum lval_type lv)
+value::zero (struct type *type, enum lval_type lv)
{
struct value *val = value::allocate_lazy (type);