Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@gnu.org>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: Andrew Cagney <ac131313@redhat.com>,
	gdb-patches@sources.redhat.com,
	Roland McGrath <roland@redhat.com>
Subject: Re: [rfa/threads] Convert thread event descriptors to code addrs
Date: Wed, 03 Dec 2003 04:09:00 -0000	[thread overview]
Message-ID: <3FCD620C.9040102@gnu.org> (raw)
In-Reply-To: <20031201160145.GA21094@nevyn.them.org>


>> (remote_check_symbols?)  Wouldn't that be equivalent to my original 
>> patch (wrong side of libthread_db)?  I suspect you want to add something 
>> to gdbserver (or just wait for Roland's updated libthread_db).
> 
> 
> Any remote client asking for a function address is going to want to put
> a breakpoint there, I would have guessed.  Thus we should return the
> breakpointable address.

Suggest re-reading roland's comments.  The contract is to convert a 
symbol "foo" to its value.  Not convert a symbol foo to a code address 
by doing a descriptor re-direction.

> Hum, maybe there is some use in having the descriptor... let me think
> about it.  This should go into the remote protocol doco one way or the
> other.

I think the protocol is pretty clear here.

Andrew



  reply	other threads:[~2003-12-03  4:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-25 21:13 Andrew Cagney
2003-11-25 22:02 ` Michael Snyder
2003-11-25 22:27 ` Roland McGrath
2003-11-25 22:46   ` Andrew Cagney
2003-11-25 23:00     ` Roland McGrath
2003-11-25 23:39       ` Andrew Cagney
2003-11-26  4:26         ` Daniel Jacobowitz
2003-12-01 15:56           ` Andrew Cagney
2003-12-01 16:01             ` Daniel Jacobowitz
2003-12-03  4:09               ` Andrew Cagney [this message]
2003-11-25 23:00     ` Roland McGrath

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=3FCD620C.9040102@gnu.org \
    --to=cagney@gnu.org \
    --cc=ac131313@redhat.com \
    --cc=drow@mvista.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=roland@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