public inbox for cygwin-patches@cygwin.com
 help / color / mirror / Atom feed
* [PATCH 0/2] Write a coredump under 'ulimit -c' control
@ 2024-01-10 13:57 Jon Turney
  2024-01-10 13:57 ` [PATCH 1/2] Cygwin: Make 'ulimit -c' control writing a coredump Jon Turney
  2024-01-10 13:57 ` [PATCH 2/2] Cygwin: Disable writing core dumps by default Jon Turney
  0 siblings, 2 replies; 9+ messages in thread
From: Jon Turney @ 2024-01-10 13:57 UTC (permalink / raw)
  To: cygwin-patches; +Cc: Jon Turney

The idea here is to make debugging using a coredump work as usual on a unix,
e.g.:

$ ulimit -c unlimited

$ ./segv-program
*** starting 'dumper "C:/cygwin64/work/segv-program.exe" 3712' for pid 546, tid 10640

$ gdb segv-program.exe segv-program.exe.core
[...]

Jon Turney (2):
  Cygwin: Make 'ulimit -c' control writing a coredump
  Cygwin: Disable writing core dumps by default.

 winsup/cygwin/environ.cc              |   1 +
 winsup/cygwin/exceptions.cc           | 100 ++++++++++++++++++--------
 winsup/cygwin/local_includes/winsup.h |   1 +
 winsup/cygwin/mm/cygheap.cc           |   2 +-
 winsup/doc/cygwinenv.xml              |  25 +++++--
 winsup/doc/new-features.xml           |  12 ++++
 winsup/doc/utils.xml                  |  43 +++++++----
 7 files changed, 132 insertions(+), 52 deletions(-)

-- 
2.42.1


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

end of thread, other threads:[~2024-01-12 16:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-10 13:57 [PATCH 0/2] Write a coredump under 'ulimit -c' control Jon Turney
2024-01-10 13:57 ` [PATCH 1/2] Cygwin: Make 'ulimit -c' control writing a coredump Jon Turney
2024-01-10 15:30   ` Corinna Vinschen
2024-01-10 17:38     ` Jon Turney
2024-01-11  9:42       ` Corinna Vinschen
2024-01-12 14:09         ` Jon Turney
2024-01-12 16:36           ` Corinna Vinschen
2024-01-10 13:57 ` [PATCH 2/2] Cygwin: Disable writing core dumps by default Jon Turney
2024-01-10 15:31   ` Corinna Vinschen

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