Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] GNU/Linux: Stop using libthread_db/td_ta_thr_iter
@ 2015-02-08 19:11 Pedro Alves
  2015-02-08 19:11 ` [PATCH 2/2] " Pedro Alves
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Pedro Alves @ 2015-02-08 19:11 UTC (permalink / raw)
  To: gdb-patches

This one made me scratch my head for a while.  My
all-stop-on-top-of-non-stop series was causing odd GDB hangs.  Turned
out to be that we can't use libthread_db/td_ta_thr_iter when threads
are running.  This series stops GDB from using it altogether, when
debugging live programs.

The second patch is the real deal.  The first patch fixes latent bugs
that the second patch's test exposed, though after the second patch,
the buggy function won't be used on modern system anymore...

Pedro Alves (2):
  linux-nat.c: fix a few lin_lwp_attach_lwp issues
  GNU/Linux: Stop using libthread_db/td_ta_thr_iter

 gdb/gdbserver/thread-db.c                          |  18 +-
 gdb/linux-nat.c                                    | 125 +++++++----
 gdb/linux-nat.h                                    |  16 +-
 gdb/linux-thread-db.c                              | 237 ++++++++++-----------
 gdb/nat/linux-procfs.c                             |  13 ++
 gdb/nat/linux-procfs.h                             |   3 +
 .../gdb.threads/multi-create-ns-info-thr.exp       |  50 +++++
 7 files changed, 287 insertions(+), 175 deletions(-)
 create mode 100644 gdb/testsuite/gdb.threads/multi-create-ns-info-thr.exp

-- 
1.9.3


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

end of thread, other threads:[~2015-09-19  6:21 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-08 19:11 [PATCH 0/2] GNU/Linux: Stop using libthread_db/td_ta_thr_iter Pedro Alves
2015-02-08 19:11 ` [PATCH 2/2] " Pedro Alves
2015-08-26 17:39   ` Cell multi-arch broken (Re: [PATCH 2/2] GNU/Linux: Stop using libthread_db/td_ta_thr_iter) Ulrich Weigand
2015-08-26 18:23     ` Pedro Alves
2015-08-26 19:02       ` Ulrich Weigand
2015-08-26 19:42         ` Pedro Alves
2015-08-27 17:40           ` Ulrich Weigand
2015-08-28  6:21         ` Doug Evans
2015-08-28 13:11           ` Ulrich Weigand
2015-09-08 10:31           ` Pedro Alves
2015-09-19  6:21           ` Doug Evans
2015-02-08 19:11 ` [PATCH 1/2] linux-nat.c: fix a few lin_lwp_attach_lwp issues Pedro Alves
2015-02-20 21:46 ` [PATCH 0/2] GNU/Linux: Stop using libthread_db/td_ta_thr_iter Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox