diff options
author | Tom Tromey <tromey@adacore.com> | 2023-09-07 13:40:29 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-09-26 09:29:14 -0600 |
commit | fb282576998ca7ce70526dea42d41a7f418879c9 (patch) | |
tree | 9614218e6679bdfb2c28f2962ac16b16ea8f06a2 /gdb/NEWS | |
parent | 854f72b36dc72dc23b24563c5e7f43efc373b712 (diff) | |
download | gdb-fb282576998ca7ce70526dea42d41a7f418879c9.zip gdb-fb282576998ca7ce70526dea42d41a7f418879c9.tar.gz gdb-fb282576998ca7ce70526dea42d41a7f418879c9.tar.bz2 |
Introduce gdb.ValuePrinter
There was an earlier thread about adding new methods to
pretty-printers:
https://sourceware.org/pipermail/gdb-patches/2023-June/200503.html
We've known about the need for printer extensibility for a while, but
have been hampered by backward-compatibilty concerns: gdb never
documented that printers might acquire new methods, and so existing
printers may have attribute name clashes.
To solve this problem, this patch adds a new pretty-printer tag class
that signals to gdb that the printer follows new extensibility rules.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30816
Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Diffstat (limited to 'gdb/NEWS')
-rw-r--r-- | gdb/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -293,6 +293,11 @@ show tui mouse-events might be array- or string-like, even if they do not have the corresponding type code. + ** gdb.ValuePrinter is a new class that can be used as the base + class for the result of applying a pretty-printer. As a base + class, it signals to gdb that the printer may implement new + pretty-printer methods. + *** Changes in GDB 13 * MI version 1 is deprecated, and will be removed in GDB 14. |