diff options
author | Tom Tromey <tromey@adacore.com> | 2022-05-26 08:33:05 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-03-28 12:17:58 -0600 |
commit | 3e8154778baf4df222d95e43a2c8fefdb17305f7 (patch) | |
tree | 71ece63375006caf9d3b5bc9aa81666125c1be06 /gdb/source.h | |
parent | 7cd38c3c566502906ba3a6c214cc30cc5aadbda4 (diff) | |
download | gdb-3e8154778baf4df222d95e43a2c8fefdb17305f7.zip gdb-3e8154778baf4df222d95e43a2c8fefdb17305f7.tar.gz gdb-3e8154778baf4df222d95e43a2c8fefdb17305f7.tar.bz2 |
Put pretty-printers to_string output in varobj result
PR mi/11335 points out that an MI varobj will not display the result
of a pretty-printer's "to_string" method. Instead, it always shows
"{...}".
This does not seem very useful, and there have been multiple
complaints about it over the years. This patch changes varobj to emit
this string when possible, and updates the test suite.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=11335
Diffstat (limited to 'gdb/source.h')
0 files changed, 0 insertions, 0 deletions