Change value history to use value_ref_ptr
authorTom Tromey <tom@tromey.com>
Wed, 4 Apr 2018 00:23:30 +0000 (18:23 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 6 Apr 2018 21:44:48 +0000 (15:44 -0600)
commit4d0266a0e0d9e9b615b04ff209a73d3725495835
treebd4acd354a7b730e37714dc08f6ead506e2a6b56
parentb4d61099ba840824fd0aac9800403f6278476347
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.
gdb/ChangeLog
gdb/value.c
This page took 0.028205 seconds and 4 git commands to generate.