From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 64436 invoked by alias); 15 Sep 2015 14:37:28 -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 64425 invoked by uid 89); 15 Sep 2015 14:37:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 15 Sep 2015 14:37:27 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 03081C0B91AF; Tue, 15 Sep 2015 14:37:25 +0000 (UTC) Received: from host1.jankratochvil.net (ovpn-116-22.ams2.redhat.com [10.36.116.22]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t8FEbKBq025587 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 15 Sep 2015 10:37:25 -0400 Date: Tue, 15 Sep 2015 14:37:00 -0000 From: Jan Kratochvil To: Luis Machado Cc: gdb-patches@sourceware.org Subject: Re: [obv] [testsuite] i386-biarch-core.exp: Fix comment typo Message-ID: <20150915143720.GA23411@host1.jankratochvil.net> References: <20150714175127.GA10807@host1.jankratochvil.net> <55F82526.4020709@codesourcery.com> <20150915142233.GA22328@host1.jankratochvil.net> <55F82B63.6010708@codesourcery.com> <55F82CB0.9060400@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55F82CB0.9060400@codesourcery.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00332.txt.bz2 On Tue, 15 Sep 2015 16:35:28 +0200, Luis Machado wrote: > On 09/15/2015 11:29 AM, Luis Machado wrote: > >core-file gdb.arch/i386-biarch-core.core > >gdb/mips-tdep.c:1098: internal-error: bad register size > >A problem internal to GDB has been detected, > >further debugging may prove unreliable.^ > >Quit this debugging session? (y or n) > >FAIL: gdb.arch/i386-biarch-core.exp: core-file (GDB internal error) > > The lines are a bit off, but basically we end up hitting the internal error > at mips-tdep.c:mips_pseudo_register_read. I don't think the MIPS backend is > currently crafted to handle reading unknown register blocks. Then it is a mips-tdep.c bug similar to this i386-tdep.c bug: https://sourceware.org/bugzilla/show_bug.cgi?id=17808 In general GDB should not crash when you let it read an arbitrary file. If you want I can file it as a new MIPS-specific PR and KFAIL it. Jan