From: Daniel Jacobowitz <dan@codesourcery.com>
To: Tom Tromey <tromey@redhat.com>
Cc: Pedro Alves <pedro@codesourcery.com>, gdb-patches@sourceware.org
Subject: Re: RFA: fix PR mi/8138
Date: Fri, 04 Feb 2011 16:35:00 -0000 [thread overview]
Message-ID: <20110204163542.GB23626@caradoc.them.org> (raw)
In-Reply-To: <m339o3bwp8.fsf@fleche.redhat.com>
On Fri, Feb 04, 2011 at 09:17:55AM -0700, Tom Tromey wrote:
> >>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:
>
> >> +^done,sharedlibs=[lib=[from="0x00111360",to="0x00111498",syms-read="2",name="/lib/libexample.so"]]
>
> Pedro> The =library-loaded event was added with the "from" and "to"
> Pedro> fields left out on purpose.
>
> I think it actually makes sense to emit something here, to let the MI
> client distinguish between multiple copies of dlmopen()d libraries.
>
> This may not be the best way to do it, though.
Yeah, I agree with you. From and to are unrealistic; it works on
Linux, although I think we use completely the wrong values for from
and to (.text rather than the whole library). On other targets there
can be multiple distinct ranges. I'd rather have a "base" of some
sort, but I'm not sure that'd work everywhere either - can you get two
copies of the data segment sharing one copy of the text segment on
some platform? Probably.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2011-02-04 16:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-10 20:16 Tom Tromey
2011-01-11 0:07 ` Pedro Alves
2011-01-12 20:57 ` Tom Tromey
2011-01-12 21:23 ` Pedro Alves
2011-02-04 16:18 ` Tom Tromey
2011-02-04 16:35 ` Daniel Jacobowitz [this message]
2011-01-11 4:01 ` 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=20110204163542.GB23626@caradoc.them.org \
--to=dan@codesourcery.com \
--cc=gdb-patches@sourceware.org \
--cc=pedro@codesourcery.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