From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23460 invoked by alias); 7 Dec 2010 07:56:39 -0000 Received: (qmail 23452 invoked by uid 22791); 7 Dec 2010 07:56:39 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 07 Dec 2010 07:56:34 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oB77uXDD013319 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 7 Dec 2010 02:56:33 -0500 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oB77uSI5013146 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 7 Dec 2010 02:56:32 -0500 Received: from host0.dyn.jankratochvil.net (host0.dyn.jankratochvil.net [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id oB77uR6B004254; Tue, 7 Dec 2010 08:56:27 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id oB77uQBF004253; Tue, 7 Dec 2010 08:56:26 +0100 Date: Tue, 07 Dec 2010 07:56:00 -0000 From: Jan Kratochvil To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Re: Ping: unconditionally print detaching message Message-ID: <20101207075626.GB1257@host0.dyn.jankratochvil.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-12/txt/msg00069.txt.bz2 On Fri, 19 Nov 2010 22:57:26 +0100, Tom Tromey wrote: > We've had this message on in Fedora for quite a while. I find it mildly > useful in that it can occasionally remind me that I am debugging the > wrong process. I wrote the patch because the user did not notice any new process there and so that should be some solution for it. But TBH I just got used to the message in Fedora, it is being printed zillions times during debugging sessions and I even have no clue why. $ ./gdb -q -nx -ex r --args ./gdb -nx -q Reading symbols from .../gdb/gdb...done. Starting program: .../gdb/gdb -nx -q [Thread debugging using libthread_db enabled] Detaching after fork from child process 4015. (gdb) _ BTW I have found out now this one message is due to `iconv -l'. So if it should be printed there should be IMO printed even the command + arguments. But the right way would be rather to use `set detach-on-fork off' by default when it would be working transparently enough. Therefore this message is no longer the right solution but just a temporary GDB deficiency workaround now. So I am fine with dropping it (incl. Fedora) rather than trying to figure out some new message format/options. Thanks, Jan