From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6327 invoked by alias); 22 Mar 2013 20:13:31 -0000 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 Received: (qmail 6109 invoked by uid 89); 22 Mar 2013 20:13:24 -0000 X-Spam-SWARE-Status: No, score=-8.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.1 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 22 Mar 2013 20:13:21 +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.14.4/8.14.4) with ESMTP id r2MKDIAP018499 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 22 Mar 2013 16:13:19 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r2MKDGVN023585; Fri, 22 Mar 2013 16:13:17 -0400 Message-ID: <514CBB5C.4060409@redhat.com> Date: Sat, 23 Mar 2013 10:51:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 MIME-Version: 1.0 To: Tom Tromey CC: Jan Kratochvil , gdb-patches@sourceware.org, Hui Zhu Subject: Re: [patch+7.6] Fix 7.5 regression crashing GDB if gdbserver dies References: <20130315195359.GA19841@host2.jankratochvil.net> <514C50EF.6030202@redhat.com> <20130322191841.GA29259@host2.jankratochvil.net> <514CB6D4.9070909@redhat.com> <87620jw6ga.fsf@fleche.redhat.com> In-Reply-To: <87620jw6ga.fsf@fleche.redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-03/txt/msg00866.txt.bz2 On 03/22/2013 08:00 PM, Tom Tromey wrote: >>>>>> "Pedro" == Pedro Alves writes: > > Pedro> Debugging a live production system with kgdb? I don't buy > Pedro> that, really. > > IIRC, this is the use case that tracepoints were designed for. > So presumably it does happen. Hui's KGTP tracepoints stuff is not in mainline, and at least at the vintage of the broken kgdb, was not part of kgdb at all: http://www.sourceware.org/ml/gdb/2010-09/msg00134.html . It implements its own RSP handling. (I've never heard of Jim Blandy's previous effort for tracepoints in the kernel ending up used, or in production.) -- Pedro Alves