From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 43705 invoked by alias); 25 Feb 2016 14:46:02 -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 43623 invoked by uid 89); 25 Feb 2016 14:46:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=BAYES_00,SPF_HELO_PASS,UNSUBSCRIBE_BODY autolearn=no version=3.3.2 spammy=vanish, SIGKILLed, sigkilled, sk:tracepo X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 25 Feb 2016 14:46:00 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 472D78F4E2; Thu, 25 Feb 2016 14:45:59 +0000 (UTC) Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u1PEjvN8010258; Thu, 25 Feb 2016 09:45:58 -0500 Message-ID: <56CF13A5.2020909@redhat.com> Date: Thu, 25 Feb 2016 14:46:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: =?UTF-8?B?TWFyY2luIEtvxZtjaWVsbmlja2k=?= , gdb-patches@sourceware.org CC: antoine.tremblay@ericsson.com Subject: Re: [PATCH] [PR gdb/13808] gdb.trace: Pass tdesc selected in gdbserver to IPA. References: <1456089436-1445-1-git-send-email-koriakin@0x04.net> <56CEFCC5.8070109@redhat.com> <56CF03EF.3000200@0x04.net> In-Reply-To: <56CF03EF.3000200@0x04.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-SW-Source: 2016-02/txt/msg00794.txt.bz2 On 02/25/2016 01:38 PM, Marcin Kościelnicki wrote: >> Failure to write to the inferior should never be an internal error. >> The inferior might vanish, e.g., because it was SIGKILL'ed from >> outside gdbserver. > > Fair enough. The file is littered with internal errors in such cases > though (I just copied one of them), Indeed. Looks like the younger version of myself hadn't realized that mistake back then. > what should be done for these? Normal error, most probably. BTW, it looks a bit out of place to write to the IPA in tracepoint_look_up_symbols. Any reason we don't do this in cmd_qtstart, where we download all other things? Thanks, Pedro Alves