Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/8] Fix PR gdb/14766; cleanup foll-vfork.exp and extend it.
@ 2012-10-25 17:42 Pedro Alves
  2012-10-25 17:42 ` [PATCH 5/8] foll-vfork.exp: Use with_test_prefix Pedro Alves
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: Pedro Alves @ 2012-10-25 17:42 UTC (permalink / raw)
  To: gdb-patches

Running the whole testsuite with single-step forced and using software
single-step on amd64 (that's quite painful, but catches a lot of
interesting corner cases) revealed gdb/14766 (I no longer off hand
remember the details of why that triggers there, but that's
unimportant).  This series fixes that PR.  It starts by modernizing
foll-vfork.exp, and then extending it to cover more cases, exposing
the bug on hardware step targets (like amd64 GNU/Linux).  I've kept
the tests patches split by incremental logical changes, as otherwise
the test additions/changes combined would be incompreensible and look
like a complete rewrite.

Barring objections, comments, etc., I'll commit this after a short
while.

Tested on amd64 Fedora 17.

---

Pedro Alves (8):
      foll-vfork.exp: Modernize.
      foll-vfork.exp: Don't hard code line numbers.
      foll-vfork.exp: Expose more testing on non-HP/UX targets
      foll-vfork.c/vforked-prog.c: Add copyright headers.
      foll-vfork.exp: Use with_test_prefix.
      foll-vfork.exp: Clean restart gdb before each test procedure.
      foll-vfork.exp: Also test following vfork when the child exits.
      Fix PR gdb/14766 - vfork child exit with "set follow-fork-mode child" broken.

-- 
Pedro Alves


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

end of thread, other threads:[~2012-11-02 18:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-25 17:42 [PATCH 0/8] Fix PR gdb/14766; cleanup foll-vfork.exp and extend it Pedro Alves
2012-10-25 17:42 ` [PATCH 5/8] foll-vfork.exp: Use with_test_prefix Pedro Alves
2012-10-25 17:42 ` [PATCH 8/8] Fix PR gdb/14766 - vfork child exit with "set follow-fork-mode child" broken Pedro Alves
2012-10-25 17:49   ` Pedro Alves
2012-10-25 17:42 ` [PATCH 7/8] foll-vfork.exp: Also test following vfork when the child exits Pedro Alves
2012-10-25 17:42 ` [PATCH 2/8] foll-vfork.exp: Don't hard code line numbers Pedro Alves
2012-10-25 17:42 ` [PATCH 6/8] foll-vfork.exp: Clean restart gdb before each test procedure Pedro Alves
2012-11-02 18:18   ` Pedro Alves
2012-10-25 17:42 ` [PATCH 1/8] foll-vfork.exp: Modernize Pedro Alves
2012-10-25 17:42 ` [PATCH 4/8] foll-vfork.c/vforked-prog.c: Add copyright headers Pedro Alves
2012-10-25 17:42 ` [PATCH 3/8] foll-vfork.exp: Expose more testing on non-HP/UX targets Pedro Alves
2012-10-30 20:50 ` [PATCH 0/8] Fix PR gdb/14766; cleanup foll-vfork.exp and extend it Tom Tromey
2012-11-02 18:15   ` Pedro Alves

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