From: Paul Pluzhnikov <ppluzhnikov@google.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch] Implement qXfer:libraries for Linux/gdbserver [Was: Re: [RFC] Make target_read_string faster over high-latency links.]
Date: Mon, 08 Aug 2011 18:56:00 -0000 [thread overview]
Message-ID: <CALoOobNo8WWJ5U0abzsp-WjR47eeUsrv=vBV3QsxvZ71O2NkNg@mail.gmail.com> (raw)
In-Reply-To: <20110808183613.GA31998@host1.jankratochvil.net>
On Mon, Aug 8, 2011 at 11:36 AM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> GDB could reuse solib-target.c
That is in fact where I started.
The trouble is that solib-target.c's notion of what info is in solib->lm_info
is radically different from solib-svr4.c's notion, each having a private
and distinct 'struct lm_info'. Un-tangling that seemed troublesome.
> It would make libexpat mandatory even for the linux-nat.c usage so libexpat
> could be bundler into the sourceware tree.
I think it's highly desirable to keep the current solib-srv4 code working
(e.g. in case you have a gdbserver that answers with empty list; either
because it is old, or because it's for a platform that hasn't been updated).
Given above, you can always fall back to it when libexpat is not detected.
> I do not say it would say LoC but it would be more clean, currently there
> would be two isolated producer + consumer pairs of the same protocol.
Yes, the two isolated consumers are a bit bothersome.
The producers would have to stay separate anyway, as the details of getting
the list differ greatly.
Thanks,
--
Paul Pluzhnikov
next prev parent reply other threads:[~2011-08-08 18:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-05 18:11 Paul Pluzhnikov
2011-08-08 18:36 ` Jan Kratochvil
2011-08-08 18:56 ` Paul Pluzhnikov [this message]
2011-08-08 21:24 ` [patch] Implement qXfer:libraries for Linux/gdbserver Jan Kratochvil
2011-08-09 18:25 ` Daniel Jacobowitz
2011-08-08 21:10 ` Jan Kratochvil
2011-08-08 21:31 ` Paul Pluzhnikov
2011-08-08 21:38 ` Jan Kratochvil
2011-08-08 23:50 ` Paul Pluzhnikov
2011-08-09 9:07 ` Jan Kratochvil
2011-08-09 16:57 ` Paul Pluzhnikov
2011-08-14 16:36 ` Jan Kratochvil
2011-10-03 21:57 ` IMO-obsolste: " Jan Kratochvil
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='CALoOobNo8WWJ5U0abzsp-WjR47eeUsrv=vBV3QsxvZ71O2NkNg@mail.gmail.com' \
--to=ppluzhnikov@google.com \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@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