public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/11] Variant part support, plus more
@ 2020-04-08 17:54 Tom Tromey
  2020-04-08 17:54 ` [PATCH 01/11] Rename "variant" to "ppc_variant" Tom Tromey
                   ` (11 more replies)
  0 siblings, 12 replies; 29+ messages in thread
From: Tom Tromey @ 2020-04-08 17:54 UTC (permalink / raw)
  To: gdb-patches

Currently, the Ada support in gdb relies on what are called "gnat
encodings" -- which really just means that some debug info is
represented using magic symbol names, attached to other debug objects.
A long term goal here is to slowly remove gnat encodings, in favor of
using standard DWARF.

This series is one step toward that goal.  It adds support for DWARF
variant parts to gdb.  It also brings in support for fields that have
dynamic offsets, and types that have dynamic lengths.  It also adds a
Python API to let pretty-printers know a bit more about dynamic types.

Along the way, the Rust enum code is rewritten to use the new
machinery; this provides benefits visible from Python and MI.  Also,
at least one bug is uncovered for future fixing (see patch #7).

One future direction might be to arrange for resolve_dynamic_type to
record concrete instances of dynamic types, and reuse them when
appropriate.  I haven't attempted this.

Let me know what you think.

Tom



^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2020-06-19 20:51 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-08 17:54 [PATCH 0/11] Variant part support, plus more Tom Tromey
2020-04-08 17:54 ` [PATCH 01/11] Rename "variant" to "ppc_variant" Tom Tromey
2020-04-08 17:54 ` [PATCH 02/11] Add new variant part code Tom Tromey
2020-04-08 17:54 ` [PATCH 03/11] Allow DWARF expression to push the initial address Tom Tromey
2020-04-08 17:54 ` [PATCH 04/11] Prefer existing data when evaluating DWARF expression Tom Tromey
2020-04-08 17:54 ` [PATCH 05/11] Rewrite the existing variant part code Tom Tromey
2020-06-04  8:13   ` Tom de Vries
2020-06-15 17:30     ` Tom Tromey
2020-06-17 16:11       ` Tom de Vries
2020-06-17 16:45         ` Tom Tromey
     [not found]           ` <af2905c9-739a-be03-6925-2109e308540a@suse.de>
2020-06-19 20:51             ` Tom Tromey
2020-04-08 17:54 ` [PATCH 06/11] Add support for dynamic type lengths Tom Tromey
2020-04-08 17:54 ` [PATCH 07/11] Add support for variable field offsets Tom Tromey
2020-04-08 17:54 ` [PATCH 08/11] Update Ada ptype support for dynamic types Tom Tromey
2020-04-08 17:54 ` [PATCH 09/11] Add tests for Ada changes Tom Tromey
2020-04-08 17:54 ` [PATCH 10/11] Add Python support for dynamic types Tom Tromey
2020-04-08 18:59   ` Eli Zaretskii
2020-04-09  0:20   ` Christian Biesinger
2020-04-09 18:44     ` Tom Tromey
2020-04-10 17:44       ` Christian Biesinger
2020-04-24 19:42         ` Tom Tromey
2020-04-24 20:35         ` Tom Tromey
2020-04-25  8:43           ` Matt Rice
2020-04-08 17:54 ` [PATCH 11/11] Update test cases that work with minimal encodings Tom Tromey
2020-04-28  6:38   ` Tom de Vries
2020-04-28 15:35     ` Tom Tromey
2020-04-30  6:45       ` Tom de Vries
2020-05-11 20:31       ` [committed][gdb/testsuite] Change kfail into xfail in gdb.ada/packed_tagged.exp Tom de Vries
2020-04-24 19:39 ` [PATCH 0/11] Variant part support, plus more Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).