From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 84640 invoked by alias); 22 Mar 2016 16:23:17 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 84628 invoked by uid 89); 22 Mar 2016 16:23:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-qk0-f172.google.com Received: from mail-qk0-f172.google.com (HELO mail-qk0-f172.google.com) (209.85.220.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 22 Mar 2016 16:23:06 +0000 Received: by mail-qk0-f172.google.com with SMTP id s5so94128316qkd.0 for ; Tue, 22 Mar 2016 09:23:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=o/VjNVtI8LilqdG7MU2V4fcPn+ydSBOrzkEgtFVgrT0=; b=Rv1TFtqrhgfm9gydZhlWt91qc+2Kz4DdqCksqsae5cAHQ8O6IaswTEmm4YQkcptsIZ 9hlddIIiZfRHFNxU48YD61FLTHXDXM8OvMkYTHMHjv4tZ+LrapHi4Ng1/dci8WgUxZ2v lfi929QflsS9oE1MT/AU9k6o1TwHsn6AUe726Z+qLTdGb0PYdKyuFdlZIPXnNtb5xUs7 AkD8TfNcF27lJG778WBp7ro0BOUi4OP5WTVgwblN33v5Z1HllQKh4XW8zhth7I/+nAT4 bSjWPfUtgegiLEokgXjdSe06XiFr+vFUY3U27eTGTo7F1Uq8/BhQVIEENPIMNQOEDVFX C1bQ== X-Gm-Message-State: AD7BkJKO3LcL6n/hyGyPLa/ZIZX2LbSPh/akOQD67DhRyOVD9AEJRm2sep0Z2BxT8d8zQV1RKGS0EWkUwjTDaA== X-Received: by 10.55.72.148 with SMTP id v142mr24351227qka.102.1458663784006; Tue, 22 Mar 2016 09:23:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.189.130 with HTTP; Tue, 22 Mar 2016 09:22:44 -0700 (PDT) In-Reply-To: <56F16F8F.9050404@redhat.com> References: <56F168D7.9050405@redhat.com> <56F16F8F.9050404@redhat.com> From: Yichao Yu Date: Tue, 22 Mar 2016 16:23:00 -0000 Message-ID: Subject: Re: JIT debugging (Attach and speed) To: Pedro Alves Cc: gdb@sourceware.org, Paul Pluzhnikov Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-03/txt/msg00027.txt.bz2 On Tue, Mar 22, 2016 at 12:15 PM, Pedro Alves wrote: > On 03/22/2016 03:46 PM, Pedro Alves wrote: > I re-read the 2011 discussion, and it seems like we had an idea for a fix: IIUC the proposed fix might cause regression in some cases? >> >> Do you know whether this happens with 7.11 and master, and if so, >> would it be possible for you to git bisect the culprit? This is 7.11 package from ArchLinux. I could try bi-secting although apparently you are faster at pin-point the issue. > > Currently, jit_inferior_created_hook -> jit_inferior_init is only > called when the inferior execs... > > Grepping around, I think that might have been > the fix for PR gdb/13431 (03bef283c2d3): > https://sourceware.org/ml/gdb-patches/2012-02/msg00023.html > which removed the inferior_created (jit_inferior_created_observer). > > Adding an inferior_created observer back likely fixes the issue. I'm happy to test patches. > > Thanks, > Pedro Alves >