From: Eli Zaretskii <eliz@gnu.org>
To: Tom Tromey <tromey@redhat.com>
Cc: brobecker@adacore.com, pmuldoon@redhat.com, gdb@sourceware.org
Subject: Re: py-breakpoint.c fails to compile with MinGW GCC
Date: Thu, 28 Jul 2011 17:07:00 -0000 [thread overview]
Message-ID: <83ipqme3m7.fsf@gnu.org> (raw)
In-Reply-To: <m3d3gu5p62.fsf@fleche.redhat.com>
> From: Tom Tromey <tromey@redhat.com>
> Cc: brobecker@adacore.com, pmuldoon@redhat.com, gdb@sourceware.org
> Date: Thu, 28 Jul 2011 10:46:13 -0600
>
> Eli> I will probably upgrade when 4.7 is released, because I understand it
> Eli> will be more debug-friendly.
>
> Is there something specific in 4.7 you are waiting for? 4.6 is probably
> good enough -- it has the biggest improvement (VTA -- first in 4.5) plus
> a few more -- but I don't know of anything so major that would advise
> skipping 4.6.
I somehow thought VTA will be only in 4.7, thanks for getting me
straight. However, the MinGW site doesn't have 4.6 available yet, so
in practice I still need to wait.
> In practice I build gdb with -O0 when I want to debug.
I'm forced to do the same, but I hate that. End users will use -O2
(because that's how the Makefile's are set by default), so I'm testing
code that is different from what will run out there.
> Occasionally I just rebuild a single .o this way.
That only helps if that object file has all the story for you. It
doesn't help with backtraces that cross object file boundaries, for
example.
> but when debugging I care about 100% visibility into the source and
> nearly zero about performance.
Of course. But some problems are only present in optimized code, as
we all well know.
next prev parent reply other threads:[~2011-07-28 17:07 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-28 12:07 Eli Zaretskii
2011-07-28 14:54 ` Phil Muldoon
2011-07-28 15:01 ` Tom Tromey
2011-07-28 15:19 ` Joel Brobecker
2011-07-28 15:37 ` Phil Muldoon
2011-07-28 15:44 ` Tom Tromey
2011-07-28 16:11 ` Kai Tietz
2011-07-28 16:17 ` Eli Zaretskii
2011-07-28 16:46 ` Tom Tromey
2011-07-28 17:07 ` Eli Zaretskii [this message]
2011-07-29 3:04 ` Chris Sutcliffe
2011-07-29 6:13 ` Eli Zaretskii
2011-07-28 16:13 ` Eli Zaretskii
2011-07-28 16:25 ` Joel Brobecker
2011-07-28 16:48 ` Tom Tromey
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=83ipqme3m7.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=brobecker@adacore.com \
--cc=gdb@sourceware.org \
--cc=pmuldoon@redhat.com \
--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