public inbox for archer@sourceware.org
 help / color / mirror / Atom feed
From: Gary Benson <gbenson@redhat.com>
To: archer@sourceware.org
Subject: Re: gdb side of improved linker-debugger interface
Date: Thu, 09 Jun 2011 14:09:00 -0000	[thread overview]
Message-ID: <20110609091557.GA2655@redhat.com> (raw)
In-Reply-To: <m34o40e1ar.fsf@fleche.redhat.com>

Tom Tromey wrote:
> Gary> I did it that way to ensure we're looking for the probes in
> Gary> the correct object.  It uses the original code to locate
> Gary> _dl_debug_state, then assumes that the object containing
> Gary> _dl_debug_state is the linker and looks for the probes in
> Gary> that.  I don't know if this is the right solution though.
> 
> Ok, I see.  I think it would be fine the other way, but this is
> ok with me too.

What would the other way be?  I'm aware the way I've done it is
convoluted, and obviously it would be neater and simpler to just
check at the top of enable_break, but I don't know how you would
locate the objfile (unless there another way of locating probes
that doesn't require that?)  I guess my thinking was that there
is all this code in enable_break for dealing with all kinds of
different platforms---and that obviously works---and I wanted to
take advantage of that.

Cheers,
Gary

-- 
http://gbenson.net/

  reply	other threads:[~2011-06-09 14:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-07  9:48 Gary Benson
2011-06-07 16:29 ` Tom Tromey
2011-06-09 14:26   ` Gary Benson
2011-06-08 16:27     ` Tom Tromey
2011-06-09 14:09       ` Gary Benson [this message]
2011-06-09 14:43         ` Tom Tromey
2011-06-07 17:20 ` Jan Kratochvil
2011-06-08 11:01   ` Gary Benson
2011-06-08 11:48     ` Jan Kratochvil
2011-06-08 12:29       ` Gary Benson

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=20110609091557.GA2655@redhat.com \
    --to=gbenson@redhat.com \
    --cc=archer@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).