public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix detach with target remote (PR gdb/28080)
@ 2021-07-12 19:33 Pedro Alves
  2021-07-12 19:33 ` [PATCH 1/2] " Pedro Alves
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Pedro Alves @ 2021-07-12 19:33 UTC (permalink / raw)
  To: gdb-patches

This series fixes PR gdb/28080 - "detach causes core dump", a
regression compared to GDB 10.

The first patch fixes the regression, and then the second patch makes
sure we don't abort in other similar situations.

This is aimed at both master and the gdb 11 branch.

Pedro Alves (2):
  Fix detach with target remote (PR gdb/28080)
  Avoid letting exceptions escape gdb_bfd_iovec_fileio_close (PR
    gdb/28080)

 gdb/gdb_bfd.c                                 | 10 +++-
 gdb/remote.c                                  |  9 ++++
 gdb/target.c                                  |  8 +--
 gdb/target.h                                  |  6 +++
 .../gdb.base/detach-sysroot-target.c          | 22 ++++++++
 .../gdb.base/detach-sysroot-target.exp        | 53 +++++++++++++++++++
 6 files changed, 101 insertions(+), 7 deletions(-)
 create mode 100644 gdb/testsuite/gdb.base/detach-sysroot-target.c
 create mode 100644 gdb/testsuite/gdb.base/detach-sysroot-target.exp


base-commit: 6bbe1a929c69e141e63265c7013fcf7f80bc792e
-- 
2.26.2


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

end of thread, other threads:[~2021-07-13 13:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-12 19:33 [PATCH 0/2] Fix detach with target remote (PR gdb/28080) Pedro Alves
2021-07-12 19:33 ` [PATCH 1/2] " Pedro Alves
2021-07-13  1:07   ` Simon Marchi
2021-07-12 19:33 ` [PATCH 2/2] Avoid letting exceptions escape gdb_bfd_iovec_fileio_close " Pedro Alves
2021-07-13  1:19   ` Simon Marchi
2021-07-13 12:16     ` Pedro Alves
2021-07-13 13:13       ` Simon Marchi
2021-07-13 13:25         ` Pedro Alves
2021-07-12 22:24 ` [PATCH 0/2] Fix detach with target remote " Jonah Graham

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