public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH/7.11.1?] Simpler fix PR gdb/19828: gdb -p <process from a container>: internal error
@ 2016-05-19 15:10 Pedro Alves
  2016-05-19 15:10 ` [PATCH] Fix " Pedro Alves
  0 siblings, 1 reply; 2+ messages in thread
From: Pedro Alves @ 2016-05-19 15:10 UTC (permalink / raw)
  To: gdb-patches

(PR gdb/19828 is marked as a 7.11.1 blocker.)

So this is the simpler version of patch #6 included in this series:

  https://sourceware.org/ml/gdb-patches/2016-05/msg00328.html

This is the version of the patch that Fedora has been carrying for a
few weeks.  It's sufficient to fix the use case reported in PR
gdb/19828.

However, while working on the test for the fix, I had the bright idea
of making it try "attach&" as well as "attach", and then that exposed
that the fix was incomplete (gdb hits internal errors).

And then I wrote the complete fix, but that in turn exposed the need
for the rest of optimization work in the series linked above...

Probably safer to include this one in 7.11.1 instead of the larger
series, though it does leave "attach&" broken...  In any case,
probably better to let the other series soak a bit on master before
backporting, which suggests pushing this simpler version first anyway?

Comments?

Pedro Alves (1):
  Fix PR gdb/19828: gdb -p <process from a container>: internal error

 gdb/linux-nat.c                                   |  5 ++
 gdb/testsuite/gdb.threads/clone-attach-detach.c   | 66 +++++++++++++++++++++++
 gdb/testsuite/gdb.threads/clone-attach-detach.exp | 63 ++++++++++++++++++++++
 3 files changed, 134 insertions(+)
 create mode 100644 gdb/testsuite/gdb.threads/clone-attach-detach.c
 create mode 100644 gdb/testsuite/gdb.threads/clone-attach-detach.exp

-- 
2.5.5

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

end of thread, other threads:[~2016-05-19 15:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-19 15:10 [PATCH/7.11.1?] Simpler fix PR gdb/19828: gdb -p <process from a container>: internal error Pedro Alves
2016-05-19 15:10 ` [PATCH] Fix " Pedro Alves

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