]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: remove VALUE_NEXT_FRAME_ID, add value::next_frame_id
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 20 Dec 2023 21:40:46 +0000 (21:40 +0000)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sun, 24 Dec 2023 15:38:06 +0000 (10:38 -0500)
commit8b31004bd82d3833d042dc5d456e1279635734ab
tree823716d2383fac78b955dc1b290698db150c001a
parent306f960b492b35798e01acef5e177838bffc362d
gdb: remove VALUE_NEXT_FRAME_ID, add value::next_frame_id

Remove VALUE_NEXT_FRAME_ID, replace it with a method on struct value.  Set
`m_location.reg.next_frame_id` directly from value::allocate_register_lazy,
which is fine because allocate_register_lazy is a static creation
function for struct value.

Change-Id: Ic9f0f239c166a88dccfee836f9f51871e67548e6
gdb/findvar.c
gdb/valops.c
gdb/value.c
gdb/value.h