diff options
author | Tom Tromey <tom@tromey.com> | 2018-04-03 18:23:30 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-04-06 15:44:48 -0600 |
commit | 4d0266a0e0d9e9b615b04ff209a73d3725495835 (patch) | |
tree | bd4acd354a7b730e37714dc08f6ead506e2a6b56 /gdb/value.h | |
parent | b4d61099ba840824fd0aac9800403f6278476347 (diff) | |
download | gdb-4d0266a0e0d9e9b615b04ff209a73d3725495835.zip gdb-4d0266a0e0d9e9b615b04ff209a73d3725495835.tar.gz gdb-4d0266a0e0d9e9b615b04ff209a73d3725495835.tar.bz2 |
Change value history to use value_ref_ptr
This simplifies the value history implementation by replacing the
current data structure with a std::vector, and by making the value
history simply hold a reference to each value.
gdb/ChangeLog
2018-04-06 Tom Tromey <tom@tromey.com>
* value.c (VALUE_HISTORY_CHUNK, struct value_history_chunk)
(value_history_chain, value_history_count): Remove.
(value_history): New global.
(record_latest_value, access_value_history, show_values)
(preserve_values): Update.
Diffstat (limited to 'gdb/value.h')
0 files changed, 0 insertions, 0 deletions