From: Ian Lance Taylor <iant@google.com>
To: Tom Tromey <tromey@redhat.com>
Cc: Daniel Jacobowitz <drow@false.org>, Frysk List <frysk@sourceware.org>
Subject: Re: Roadmap beginnings
Date: Mon, 14 Jul 2008 18:13:00 -0000 [thread overview]
Message-ID: <m363r8z66x.fsf@google.com> (raw)
In-Reply-To: <m37ibo8j3i.fsf@fleche.redhat.com> (Tom Tromey's message of "Mon\, 14 Jul 2008 11\:35\:13 -0600")
Tom Tromey <tromey@redhat.com> writes:
> Ian> A related problem, which I don't know how to solve, is that many
> Ian> simple C++ accessors get inlined, and are not available when
> Ian> debugging. This makes it vastly more difficult to debug optimized C++
> Ian> programs (indeed, this problem is more serious for me in practice than
> Ian> the debuginfo problems discussed at the summit).
>
> I have seen a few ideas kicked around:
>
> 1. Always emit the accessors out-of-line.
>
> 2. Emit DWARF code corresponding to the accessors.
>
> 3. Write Python code equivalent to the accessors and arrange for the
> debugger to invoke it in the appropriate situations.
>
> #1 seems like the obvious choice, aside from code size problems. Are
> those severe?
Not for me. I suppose this would be yet another compiler debugging
option.
Python code would be sort of a last resort here, since it presumably
only works for standard classes, not for the classes I define myself.
I do write my own iterators.
Ian
next prev parent reply other threads:[~2008-07-14 18:13 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-11 19:53 Tom Tromey
2008-07-11 20:56 ` Jan Kratochvil
2008-07-11 21:37 ` Tom Tromey
2008-07-11 21:54 ` Daniel Jacobowitz
2008-07-11 23:11 ` Kris Van Hees
2008-07-11 21:53 ` Daniel Jacobowitz
2008-07-14 16:34 ` Tom Tromey
2008-07-14 16:45 ` Daniel Jacobowitz
2008-07-14 16:58 ` Phil Muldoon
2008-07-14 17:09 ` Daniel Jacobowitz
2008-07-14 17:19 ` Ian Lance Taylor
2008-07-14 17:34 ` Daniel Jacobowitz
2008-07-14 18:04 ` Tom Tromey
2008-07-14 18:12 ` Daniel Jacobowitz
2008-07-14 18:11 ` Ian Lance Taylor
2008-07-14 17:35 ` Tom Tromey
2008-07-14 18:13 ` Ian Lance Taylor [this message]
2008-07-22 20:29 ` Debugger Work (Was: Roadmap beginnings) Tom Tromey
2008-07-11 22:48 ` Roadmap beginnings Phil Muldoon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m363r8z66x.fsf@google.com \
--to=iant@google.com \
--cc=drow@false.org \
--cc=frysk@sourceware.org \
--cc=tromey@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).