From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16518 invoked by alias); 1 Feb 2013 20:16:16 -0000 Received: (qmail 16494 invoked by uid 22791); 1 Feb 2013 20:16:13 -0000 X-SWARE-Spam-Status: No, hits=-6.4 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS 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; Fri, 01 Feb 2013 20:16:08 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r11KG7jL017579 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 1 Feb 2013 15:16:08 -0500 Received: from host2.jankratochvil.net (ovpn-116-88.ams2.redhat.com [10.36.116.88]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r11Je2ub029757 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 1 Feb 2013 14:40:07 -0500 Date: Fri, 01 Feb 2013 20:16:00 -0000 From: Jan Kratochvil To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: [commit] [patch] Fix assert crashes with minidebuginfo Message-ID: <20130201194002.GA17832@host2.jankratochvil.net> References: <20130201182134.GA14273@host2.jankratochvil.net> <87fw1f4z87.fsf@fleche.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87fw1f4z87.fsf@fleche.redhat.com> 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: 2013-02/txt/msg00026.txt.bz2 On Fri, 01 Feb 2013 20:21:12 +0100, Tom Tromey wrote: > >>>>> "Jan" == Jan Kratochvil writes: > > Jan> 2013-02-01 Jan Kratochvil > > Jan> * elfread.c (elf_symfile_read): Limit separate debug info additions to > Jan> files with no separate debug info. > Jan> * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls. > Jan> * symfile.c (read_symbols): Call find_separate_debug_file_in_section > Jan> only for files with no separate debug info. > > Ok, I understand now. > I think this patch is fine. Please put it in. Checked in: http://sourceware.org/ml/gdb-cvs/2013-02/msg00004.html Thanks, Jan