From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19880 invoked by alias); 7 Feb 2020 21:09:07 -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 19872 invoked by uid 89); 7 Feb 2020 21:09:07 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Get-Message-Sender-Via:user, HX-Get-Message-Sender-Via:virtual, HX-Get-Message-Sender-Via:confirmed, HX-Get-Message-Sender-Via:account X-HELO: nhostc02.canaca.com Received: from nhostc02.canaca.com (HELO nhostc02.canaca.com) (66.49.205.157) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 07 Feb 2020 21:09:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=myosotissp.com; s=default; h=Content-Type:Cc:To:Subject:Message-ID:Date: From:In-Reply-To:References:MIME-Version:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=pPgnhZcjf6jBJ+PdDT4RYnoN8oAvNJQkU9C7K3iu3Cg=; b=swqoOsbQPRHFOGWw5eaY2FRJy LsBSicdd1oNM2f2CK0GdJpM4eUPyPOkBNrIlboY/jMRIaIRFVNZ174mYb5pyvldiEEOpS/hnZSj0R 6aPHeAdDaF0fSyf7erI3/eWGPbgHRnhW+NYlAxGJwinnwmbcYkpRmQO+5uUUokxLUpYJKWNvobac1 tkiTlKQ2/sCrwFnfQ/4ITvxWAYtZ1Z+2eN2DH8THsUXwnf3d0CvyHCmbPoCndMrODXzyGLIsgO8JS n0YpydDsk4VSf67QcG6YSlJ/7X6FFa5/aXw9A0XxLO/uB2idaxVRPMp52+mXLiFdU8Kkz1RFKi3ES jDlXIfhag==; Received: from mail-ed1-f43.google.com ([209.85.208.43]:46984) by nhostc02.canaca.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1j0As4-0000pB-Vw for gdb-patches@sourceware.org; Fri, 07 Feb 2020 16:09:05 -0500 Received: by mail-ed1-f43.google.com with SMTP id m8so972537edi.13 for ; Fri, 07 Feb 2020 13:09:04 -0800 (PST) MIME-Version: 1.0 References: <87r1z6w1l5.fsf@tromey.com> In-Reply-To: <87r1z6w1l5.fsf@tromey.com> From: Mark Williams Date: Fri, 07 Feb 2020 21:09:00 -0000 Message-ID: Subject: Re: [PATCH] Fix assertion fi->level To: Tom Tromey Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2020-02/txt/msg00190.txt.bz2 Thanks, I'll take a look. On Fri, Feb 7, 2020 at 1:05 PM Tom Tromey wrote: > > >>>>> "Mark" == Mark Williams writes: > > Mark> Apparently I should ping the thread after 2 weeks with no response... > > Yeah. > > Mark> Note that python unwinders are completely unusable in gdb-8.1 and > Mark> later without this fix... > > Thanks. > > I read the patch, and I think it looks reasonable. However, since we > were considering it for gdb 9 in another thread, I applied it and ran > the test suite. It caused a few regressions, like: > > gdb.base/jit-reader.exp: with jit-reader: after mangling: caller frame: cannot a > ssign to register: PASS => FAIL > gdb.mi/mi-reg-undefined.exp: register values, format r, frame 1: PASS => FAIL > gdb.mi/mi-reg-undefined.exp: register values, format r, frame 2: PASS => FAIL > gdb.mi/mi-reg-undefined.exp: register values, format x, frame 1: PASS => FAIL > gdb.mi/mi-reg-undefined.exp: register values, format x, frame 2: PASS => FAIL > > > Here's some stuff from gdb.log: > > me: print pseudo register > print $rbp = -1 > Left operand of assignment is not an lvalue. > (gdb) FAIL: gdb.base/jit-reader.exp: with jit-reader: after mangling: caller frame: cannot assign to register > > > 221-data-list-register-values --thread 1 --frame 1 x 0 1 2 8 9 > ~"../../binutils-gdb/gdb/value.c:389: internal-error: int value_bits_any_optimiz > ed_out(const value*, int, int): Assertion `!value->lazy' failed.\nA problem inte > rnal to GDB has been detected,\nfurther debugging may prove unreliable.\nQuit th > is debugging session? (y or n) " > FAIL: gdb.mi/mi-reg-undefined.exp: register values, format x, frame 1 (timeout) > > > I didn't investigate any further but there's still some issue to be > worked out. > > thanks, > Tom