This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: possible QTFrame enhancement
- From: Doug Evans <dje at google dot com>
- To: Stan Shebs <stanshebs at earthlink dot net>
- Cc: gdb <gdb at sourceware dot org>
- Date: Wed, 29 Oct 2014 12:01:03 -0700
- Subject: Re: possible QTFrame enhancement
- Authentication-results: sourceware.org; auth=none
- References: <4250 dot 1411074396 at usendtaylorx2l> <13378 dot 1413479010 at usendtaylorx2l> <5440356E dot 3080705 at redhat dot com> <54405367 dot 9030000 at earthlink dot net>
On Thu, Oct 16, 2014 at 4:23 PM, Stan Shebs <stanshebs@earthlink.net> wrote:
> [...]
> I concur. I can't think of many other actual tracepoint users right
> now, so your developer gets lots of influence on how it develops
> further.
While we're on the subject, now's a good time to mention something
that is on my plate.
Tracepoints suck at collecting c++ data (e.g., what a pretty-printer
would need).
The canonical solution that occurs to me is to do it in python (allow
one to specify what to collect for particular types).
The compiler knows how c++ classes are laid out, but there is still
some intelligence that goes into knowing or optimizing what to
collect.
Plus one would want (I think) the code to live with the pretty-printer
- easier to maintain.
These are just ideas for discussion.
I haven't gone too far down this path.