From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: teawater@gmail.com
Cc: gdb-patches@sourceware.org
Subject: Re: [RFC] Set default value of detach_fork to off
Date: Sat, 08 May 2010 12:31:00 -0000 [thread overview]
Message-ID: <201005081231.o48CVcGs030274@glazunov.sibelius.xs4all.nl> (raw)
In-Reply-To: <v2qdaef60381005080519v60d9d601k9341aaf172fde8e1@mail.gmail.com> (message from Hui Zhu on Sat, 8 May 2010 20:19:29 +0800)
> From: Hui Zhu <teawater@gmail.com>
> Date: Sat, 8 May 2010 20:19:29 +0800
>
> Hi guys,
>
> Looks multi-inferior is more better than before. I suggest set
> default value of detach_fork to off.
> Then when the user debug the multi-process program, they can debug the
> inferior like multi-thread inferior.
>
> What do you think about it?
I think we should keep the current default. While the ability to
debug both sides of a fork is a nice feature to have, I think most
people are only interested in debugging the process they started the
debugger on. It is not unusual for programs to use system(3) to
execute system binaries, and I doubt people are interested in
debugging those. Typically those binaries will be stripped anyway.
Setting detach_fork to off will only interfere.
>
> 2010-05-08 Hui Zhu <teawater@gmail.com>
>
> * infrun.c (detach_fork): Change default value to 0.
next prev parent reply other threads:[~2010-05-08 12:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-08 12:19 Hui Zhu
2010-05-08 12:31 ` Mark Kettenis [this message]
2010-05-08 13:16 ` Joel Brobecker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201005081231.o48CVcGs030274@glazunov.sibelius.xs4all.nl \
--to=mark.kettenis@xs4all.nl \
--cc=gdb-patches@sourceware.org \
--cc=teawater@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox