diff options
author | Tom Tromey <tom@tromey.com> | 2021-03-08 07:27:57 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-03-08 07:28:14 -0700 |
commit | de401988aeac56a8478f61cde1b35e961742317b (patch) | |
tree | 5025ecd1df35aae4520e8d6da3bf8e840762792d /gdb/ax-gdb.c | |
parent | e2803273a078950d0895de245cdc5375f362a8c5 (diff) | |
download | gdb-de401988aeac56a8478f61cde1b35e961742317b.zip gdb-de401988aeac56a8478f61cde1b35e961742317b.tar.gz gdb-de401988aeac56a8478f61cde1b35e961742317b.tar.bz2 |
Implement dumping
This patch implements the dumping methods for tuple_holding_operation.
A number of overloads are used. Note that no default case is given.
This approach makes it simple to detect when a new overload is needed
-- compilation will fail. (There is an example of this in a later
patch in the series.)
gdb/ChangeLog
2021-03-08 Tom Tromey <tom@tromey.com>
* expprint.c (expr::dump_for_expression): New functions.
* expop.h (dump_for_expression): New overloads.
(tuple_holding_operation::dump, tuple_holding_operation::do_dump):
Update.
Diffstat (limited to 'gdb/ax-gdb.c')
0 files changed, 0 insertions, 0 deletions