From: Gary Benson <gbenson@redhat.com>
To: gdb-patches@sourceware.org
Subject: Re: [RFA take 4] Allow setting breakpoints on inline functions (PR 10738)
Date: Tue, 14 Feb 2012 09:02:00 -0000 [thread overview]
Message-ID: <20120214090204.GA2839@redhat.com> (raw)
In-Reply-To: <CADPb22QVeLGQ-7dj+Vi3Sym5wRWkguakbfu0WnYY31Re4RY87A@mail.gmail.com>
Hi Doug,
Doug Evans wrote:
> On Mon, Feb 13, 2012 at 10:47 AM, Gary Benson <gbenson@redhat.com> wrote:
> > Hi all,
> >
> > This patch makes GDB able to set breakpoints on inlined functions.
> >
> > This version of the patch has been updated to fix the issues Jan
> > pointed out with the last version.
> >
> > This patch bumps the version number of the .gdb-index to 6, but
> > it does not remove any of the backwards compatibility code which
> > I would prefer to do as a separate patch.
>
> I agree support for older versions should be a separate patch.
> However this patch doesn't do that (it removes current acceptance
> of older versions of the index).
That's correct. The older versions do not contain partial symbols
for inlined functions. If GDB were to be run on a file with an
older versioned index without rejecting it then the ability to set
breakpoints on inlined functions would silently fail.
The separate patch I was referring to would involve the removal of
some extra code that is present to support version 4 indexes. For
example there is a local copy of the hashing function which could
be removed or could be retained depending on people's wishes. I
thought it would be simpler to discuss that separately from this.
Cheers,
Gary
--
http://gbenson.net/
next prev parent reply other threads:[~2012-02-14 9:02 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-13 18:47 Gary Benson
2012-02-14 1:39 ` Doug Evans
2012-02-14 9:02 ` Gary Benson [this message]
2012-02-15 8:05 ` Doug Evans
2012-02-15 12:17 ` Gary Benson
2012-02-15 20:14 ` Doug Evans
2012-02-16 10:41 ` Gary Benson
2012-02-17 22:42 ` Doug Evans
2012-02-21 16:32 ` Gary Benson
2012-02-14 9:34 ` Mark Wielaard
2012-02-14 9:38 ` Jan Kratochvil
2012-02-14 9:48 ` Mark Wielaard
2012-02-14 10:51 ` Gary Benson
2012-02-14 18:04 ` Eli Zaretskii
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=20120214090204.GA2839@redhat.com \
--to=gbenson@redhat.com \
--cc=gdb-patches@sourceware.org \
/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