aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-01-31 13:29:49 -0700
committerTom Tromey <tom@tromey.com>2023-02-13 15:21:07 -0700
commitb64e260290108f8eb4f7a75f80a8355448aef7e4 (patch)
tree858622f385f161e426e6087407c80a0978bc3052 /gdb/infrun.c
parent317c3ed9fc9bc5dacd267d131e8c9ca7c1cbdced (diff)
downloadgdb-b64e260290108f8eb4f7a75f80a8355448aef7e4.zip
gdb-b64e260290108f8eb4f7a75f80a8355448aef7e4.tar.gz
gdb-b64e260290108f8eb4f7a75f80a8355448aef7e4.tar.bz2
Turn allocate_computed_value into static "constructor"
This turns allocate_computed_value into a static "constructor" of value. Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index acf9303..c45c6b5 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -9194,7 +9194,7 @@ siginfo_make_value (struct gdbarch *gdbarch, struct internalvar *var,
{
struct type *type = gdbarch_get_siginfo_type (gdbarch);
- return allocate_computed_value (type, &siginfo_value_funcs, nullptr);
+ return value::allocate_computed (type, &siginfo_value_funcs, nullptr);
}
return value::allocate (builtin_type (gdbarch)->builtin_void);