aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-unwind.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2023-12-21 16:21:52 +0000
committerSimon Marchi <simon.marchi@polymtl.ca>2023-12-24 09:02:08 -0500
commit8ada4c640ba066a0129cb8c3928f676d1f0fd917 (patch)
tree14eec90cb2ab579c25fb2f53c8d4630a9b92cf25 /gdb/python/py-unwind.c
parent9960c5d0a05007d27cc333f5cc3e746ac5087237 (diff)
downloadfsf-binutils-gdb-8ada4c640ba066a0129cb8c3928f676d1f0fd917.zip
fsf-binutils-gdb-8ada4c640ba066a0129cb8c3928f676d1f0fd917.tar.gz
fsf-binutils-gdb-8ada4c640ba066a0129cb8c3928f676d1f0fd917.tar.bz2
gdb: add type parameter to value::allocate_register and add value::allocate_register_lazy
Some places that create register struct values don't use register_type to obtain the value type. This prevents them from using the current version of value::allocate_register. One spot (value_of_register_lazy) also creates a lazy register value. Add a value::allocate_register_lazy method. Add some type parameters to value::allocate_register and value::allocate_register_lazy, to let the caller specify the type to use for the value. The parameters default to nullptr, in which case we use register_type to obtain the type. Change-Id: I640ec0a5a0f4a55eba12d515dbfd25933229f8ec
Diffstat (limited to 'gdb/python/py-unwind.c')
0 files changed, 0 insertions, 0 deletions