From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4411 invoked by alias); 7 Feb 2020 21:04:59 -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 4389 invoked by uid 89); 7 Feb 2020 21:04:59 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-8.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=williams, HX-Languages-Length:1657, Williams, Apparently X-HELO: gateway36.websitewelcome.com Received: from gateway36.websitewelcome.com (HELO gateway36.websitewelcome.com) (192.185.185.36) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 07 Feb 2020 21:04:57 +0000 Received: from cm17.websitewelcome.com (cm17.websitewelcome.com [100.42.49.20]) by gateway36.websitewelcome.com (Postfix) with ESMTP id 22A2740175123 for ; Fri, 7 Feb 2020 14:18:42 -0600 (CST) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id 0Ao3jIwibAGTX0Ao3jWCJg; Fri, 07 Feb 2020 15:04:55 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From: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=flCKZyU7D1m7oEUcUAa4Vn3+AHqAL+neehvOXIYLc0k=; b=Pb7Lh4pm0lHJPI+G1jfvnfDDOK EX77U/Ib9N9j7L1scqDlsiIdREkBl3C5M9fejY7ca1o5pgaPCJcnZtEL8aS8iaFvNcmZEN06kVPvO rYmsvtmINAITyjDaK2y14NVJQ; Received: from 75-166-123-50.hlrn.qwest.net ([75.166.123.50]:43230 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1j0Ao3-003W0l-AF; Fri, 07 Feb 2020 14:04:55 -0700 From: Tom Tromey To: Mark Williams Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] Fix assertion fi->level References: Date: Fri, 07 Feb 2020 21:04:00 -0000 In-Reply-To: (Mark Williams's message of "Sun, 2 Feb 2020 19:05:08 -0800") Message-ID: <87r1z6w1l5.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2020-02/txt/msg00189.txt.bz2 >>>>> "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