diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-31 13:30:54 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-13 15:21:08 -0700 |
commit | b27556e3c10e197cc31021649a6113bb305b970e (patch) | |
tree | 9de98f1568e25b39a573964b113b380428b1b9b1 /gdb/stack.c | |
parent | b64e260290108f8eb4f7a75f80a8355448aef7e4 (diff) | |
download | binutils-b27556e3c10e197cc31021649a6113bb305b970e.zip binutils-b27556e3c10e197cc31021649a6113bb305b970e.tar.gz binutils-b27556e3c10e197cc31021649a6113bb305b970e.tar.bz2 |
Turn allocate_optimized_out_value into static "constructor"
This turns allocate_optimized_out_value into a static "constructor" of
value.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/stack.c')
-rw-r--r-- | gdb/stack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/stack.c b/gdb/stack.c index 9952c3a..ca6087f 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -674,7 +674,7 @@ read_frame_arg (const frame_print_options &fp_opts, || (fp_opts.print_entry_values == print_entry_values_preferred && (!val || value_optimized_out (val)))) { - entryval = allocate_optimized_out_value (sym->type ()); + entryval = value::allocate_optimized_out (sym->type ()); entryval_error = NULL; } } |