public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [RFA v2 0/3] Handle dereferencing Rust trait objects
@ 2017-11-17 19:26 Tom Tromey
  2017-11-17 19:26 ` [RFA v2 2/3] Make template_symbol derive from symbol Tom Tromey
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Tom Tromey @ 2017-11-17 19:26 UTC (permalink / raw)
  To: gdb-patches

This is version 2 of the patch for inspecting Rust trait objects.

I think this version addresses the comments from the earlier version:

* Use a std::vector rather than unordered_map -- note that a temporary
  set was needed to avoid temporarily making a gigantic vector in the
  libxul case.

* Change a reinterpret_cast to a static_cast.

* Use readelf to check the test's debuginfo before proceeding.

I've also tacked on a couple of patches that we discussed; one to
change the "subclass" information for struct symbol to use an enum,
and one to change template_symbol to use derivation.

Tested on x86-64 Fedora 25.

Tom

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

end of thread, other threads:[~2017-11-17 19:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-17 19:26 [RFA v2 0/3] Handle dereferencing Rust trait objects Tom Tromey
2017-11-17 19:26 ` [RFA v2 2/3] Make template_symbol derive from symbol Tom Tromey
2017-11-17 19:26 ` [RFA v2 3/3] Use an enum to represent subclasses of symbol Tom Tromey
2017-11-17 19:26 ` [RFA v2 1/3] Handle dereferencing Rust trait objects Tom Tromey
2017-11-17 19:43 ` [RFA v2 0/3] " Pedro Alves

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).