From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19326 invoked by alias); 7 Jun 2010 22:35:36 -0000 Received: (qmail 19307 invoked by uid 22791); 7 Jun 2010 22:35:34 -0000 X-SWARE-Spam-Status: No, hits=-5.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 07 Jun 2010 22:35:30 +0000 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o57MZSDJ009415 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 7 Jun 2010 18:35:28 -0400 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o57MZPli032538 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 7 Jun 2010 18:35:27 -0400 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id o57MZPcK007722; Tue, 8 Jun 2010 00:35:25 +0200 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id o57MZOtU007721; Tue, 8 Jun 2010 00:35:25 +0200 Date: Mon, 07 Jun 2010 22:35:00 -0000 From: Jan Kratochvil To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Re: RFC: optimized-out pieces Message-ID: <20100607223524.GA2897@host0.dyn.jankratochvil.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-12-10) X-IsSubscribed: yes 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 X-SW-Source: 2010-06/txt/msg00191.txt.bz2 Hi Tom, On Fri, 04 Jun 2010 21:19:28 +0200, Tom Tromey wrote: > I'd appreciate comments on this patch. In the absence of comments I > plan to check it in. currently it has a lot of regressions, at least tested on Fedora 13 with -lefence. Most of them are for x86_64-m32 and i686. 64bit x86_64 is not regressing much as it has few DW_OP_piece in use. Good reproducer for x86_64-m32 was for me on current FSF GDB HEAD: file gdb.base/store b 213 run print u print 42 set_value_address sets there value->location.address despite it is an lval_computed value that time. Later it crashes on next command: ==4402== Jump to the invalid address stated on the next line ==4402== at 0x300000: ??? ==4402== by 0x5D6169: free_all_values (value.c:708) ==4402== by 0x412EED: prepare_execute_command (top.c:339) ==4402== by 0x412F78: execute_command (top.c:379) ==4402== by 0x4133B4: command_loop (top.c:524) x86_64-m32: gdb.base/siginfo-obj.exp gdb.base/store.exp x86_64: gdb.base/siginfo-obj.exp gdb.opt/clobbered-registers-O2.exp - only expected output change i686: gdb.base/siginfo-obj.exp gdb.base/store.exp gdb.dwarf2/pieces.exp Regards, Jan