commit | 72275f1e6a2566569ac23fb8a2b2f6dbcf535408 | [log] [tgz] |
---|---|---|
author | Tom Tromey <tromey@adacore.com> | Fri Aug 04 07:58:32 2023 -0600 |
committer | Tom Tromey <tromey@adacore.com> | Tue Aug 22 10:38:45 2023 -0600 |
tree | f810af1caf1662f1c923022ff213cfc379ab5be3 | |
parent | a4822788d7c41926941b1c6c405c82aeffb72ad7 [diff] |
Remove value::copy call from gdbpy_get_varobj_pretty_printer I noticed a call to value::copy in gdbpy_get_varobj_pretty_printer, and I couldn't figure out why it was there. I think maybe it came from the time when value_to_value_object would release values from the value chain -- but that was removed in commit f3d3bbbc. This patch removes this call. Regression tested on x86-64 Fedora 36.