From: Hui Zhu <teawater@gmail.com>
To: gdb-patches ml <gdb-patches@sourceware.org>
Subject: [RFC] Set default value of detach_fork to off
Date: Sat, 08 May 2010 12:19:00 -0000 [thread overview]
Message-ID: <v2qdaef60381005080519v60d9d601k9341aaf172fde8e1@mail.gmail.com> (raw)
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?
Thanks,
Hui
2010-05-08 Hui Zhu <teawater@gmail.com>
* infrun.c (detach_fork): Change default value to 0.
---
infrun.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/infrun.c
+++ b/infrun.c
@@ -109,7 +109,7 @@ int sync_execution = 0;
static ptid_t previous_inferior_ptid;
/* Default behavior is to detach newly forked processes (legacy). */
-int detach_fork = 1;
+int detach_fork = 0;
int debug_displaced = 0;
static void
next reply other threads:[~2010-05-08 12:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-08 12:19 Hui Zhu [this message]
2010-05-08 12:31 ` Mark Kettenis
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=v2qdaef60381005080519v60d9d601k9341aaf172fde8e1@mail.gmail.com \
--to=teawater@gmail.com \
--cc=gdb-patches@sourceware.org \
/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