Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: gdb-patches@sourceware.org
Subject: Switch shared library default backend to solib-target.c
Date: Tue, 15 Jun 2010 17:59:00 -0000	[thread overview]
Message-ID: <201006151858.58007.pedro@codesourcery.com> (raw)

This patch changes GDB to default to enabling target
reported shared libraries.  I've applied it.

It does that by using solib-target.c by default, instead of
solib-null.c.  The patch actually gets rid of solib-null.c entirely.
This means that for example, a generic elf gdb build (e.g., arm-eabi, without a
default OSABI), can be used to debug random RTOSs that report loaded
shared libraries using the "qXfer:libraries:read" remote protocol
packet.

Since solib-target.c behaves exactly the same as solib-null.c
when the target doesn't implement the TARGET_OBJECT_LIBRARIES
xfer, this is always either a win, or a nop.

-- 
Pedro Alves


             reply	other threads:[~2010-06-15 17:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-15 17:59 Pedro Alves [this message]
2010-06-15 18:05 ` Pedro Alves
2010-06-15 20:37 ` Pedro Alves
2010-07-21 19:08   ` Pedro Alves
2010-07-21 21:16     ` 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=201006151858.58007.pedro@codesourcery.com \
    --to=pedro@codesourcery.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