From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11585 invoked by alias); 19 Jun 2011 08:12:59 -0000 Received: (qmail 11575 invoked by uid 22791); 19 Jun 2011 08:12:58 -0000 X-SWARE-Spam-Status: No, hits=-6.4 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; Sun, 19 Jun 2011 08:12:42 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5J8CgGX011906 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 19 Jun 2011 04:12:42 -0400 Received: from host1.jankratochvil.net (ovpn-113-23.phx2.redhat.com [10.3.113.23]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p5J8CdZj006819 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 19 Jun 2011 04:12:41 -0400 Received: from host1.jankratochvil.net (localhost [127.0.0.1]) by host1.jankratochvil.net (8.14.4/8.14.4) with ESMTP id p5J8Cci7026424; Sun, 19 Jun 2011 10:12:38 +0200 Received: (from jkratoch@localhost) by host1.jankratochvil.net (8.14.4/8.14.4/Submit) id p5J8CcQ8026423; Sun, 19 Jun 2011 10:12:38 +0200 Date: Sun, 19 Jun 2011 08:12:00 -0000 From: Jan Kratochvil To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: regression: FYI: fix 'this' lookup for lambdas Message-ID: <20110619081237.GA26190@host1.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.21 (2010-09-15) 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: 2011-06/txt/msg00253.txt.bz2 On Fri, 17 Jun 2011 22:46:19 +0200, Tom Tromey wrote: > I'm checking this in on the trunk. 73020efaf1860119c3775d1efd3e896ef0da2753 is the first bad commit commit 73020efaf1860119c3775d1efd3e896ef0da2753 Author: Tom Tromey Date: Fri Jun 17 20:46:46 2011 +0000 * valops.c (value_of_this): Use lookup_language_this. * symtab.h (lookup_language_this): Declare. * symtab.c (lookup_language_this): New function. (lookup_symbol_aux): Use lookup_language_this. * ax-gdb.c (gen_expr) : Use lookup_language_this. at least for: -PASS: gdb.dwarf2/dw2-cp-infcall-ref-static.exp: p f() +ERROR: Process no longer exists +UNRESOLVED: gdb.dwarf2/dw2-cp-infcall-ref-static.exp: p f() at least on: x86_64-fedora15-linux-gnu. Program terminated with signal 11, Segmentation fault. #0 0x0000000000577f38 in lookup_block_symbol () (gdb) bt #0 0x0000000000577f38 in lookup_block_symbol () #1 0x0000000000576ea0 in lookup_language_this () (sorry, I did not have symbols) Regards, Jan