diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-31 13:41:35 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-13 15:21:08 -0700 |
commit | ee7bb2944b75ce482dbf3bdb2d396efc98f1cf89 (patch) | |
tree | d5ffc773a34b580cd981ce5c529f8232c4e5a355 /gdb/dummy-frame.c | |
parent | b27556e3c10e197cc31021649a6113bb305b970e (diff) | |
download | gdb-ee7bb2944b75ce482dbf3bdb2d396efc98f1cf89.zip gdb-ee7bb2944b75ce482dbf3bdb2d396efc98f1cf89.tar.gz gdb-ee7bb2944b75ce482dbf3bdb2d396efc98f1cf89.tar.bz2 |
Turn value_zero into static "constructor"
This turns value_zero into a static "constructor" of value.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/dummy-frame.c')
-rw-r--r-- | gdb/dummy-frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dummy-frame.c b/gdb/dummy-frame.c index 784ac10..6c3dfb1 100644 --- a/gdb/dummy-frame.c +++ b/gdb/dummy-frame.c @@ -348,7 +348,7 @@ dummy_frame_prev_register (frame_info_ptr this_frame, /* Describe the register's location. Generic dummy frames always have the register value in an ``expression''. */ - reg_val = value_zero (register_type (gdbarch, regnum), not_lval); + reg_val = value::zero (register_type (gdbarch, regnum), not_lval); /* Use the regcache_cooked_read() method so that it, on the fly, constructs either a raw or pseudo register from the raw |