public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* Switch shared library default backend to solib-target.c
@ 2010-06-15 17:59 Pedro Alves
  2010-06-15 18:05 ` Pedro Alves
  2010-06-15 20:37 ` Pedro Alves
  0 siblings, 2 replies; 5+ messages in thread
From: Pedro Alves @ 2010-06-15 17:59 UTC (permalink / raw)
  To: gdb-patches

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-07-21 21:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-15 17:59 Switch shared library default backend to solib-target.c Pedro Alves
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

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).