From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 70612 invoked by alias); 1 May 2015 14:32:38 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 70599 invoked by uid 89); 1 May 2015 14:32:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=AWL,BAYES_40,KAM_INFOUSMEBIZ,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 X-HELO: smtprelay.hostedemail.com Received: from smtprelay0173.hostedemail.com (HELO smtprelay.hostedemail.com) (216.40.44.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 01 May 2015 14:32:36 +0000 Received: from filter.hostedemail.com (unknown [216.40.38.60]) by smtprelay05.hostedemail.com (Postfix) with ESMTP id 97F9C26919A; Fri, 1 May 2015 14:32:34 +0000 (UTC) X-Session-Marker: 6A616D6573406E7363632E696E666F X-Spam-Summary: 50,0,0,,d41d8cd98f00b204,james@nscc.info,:::,RULES_HIT:41:152:355:379:541:599:967:973:982:988:989:1260:1261:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1538:1567:1593:1594:1711:1714:1730:1747:1777:1792:2194:2199:2393:2525:2560:2563:2682:2685:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3622:3865:3867:3868:3870:3872:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4250:4321:4361:5007:6117:6119:6120:7652:7901:7903:9025:9040:10004:10400:10848:11232:11527:11658:11914:12043:12517:12519:12679:12740:13069:13311:13357:13972:21080,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0 X-HE-Tag: fear91_6db5bf8419445 X-Filterd-Recvd-Size: 1171 Received: from [192.168.5.6] (unknown [79.78.60.213]) (Authenticated sender: james@nscc.info) by omf08.hostedemail.com (Postfix) with ESMTPA; Fri, 1 May 2015 14:32:33 +0000 (UTC) Message-ID: <1430490783.31953.301.camel@jsm3> Subject: Re: How to disable Altivec registers in powerpc GDB ? From: James Murray To: gdb@sourceware.org Cc: Yao Qi Date: Fri, 01 May 2015 14:32:00 -0000 In-Reply-To: <861tj0wgdy.fsf@gmail.com> References: <1430437509.31953.298.camel@jsm3> <861tj0wgdy.fsf@gmail.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SW-Source: 2015-05/txt/msg00002.txt.bz2 On Fri, 2015-05-01 at 14:56 +0100, Yao Qi wrote: > Your debug stub/probe should return the right target description for > your processor, to tell GDB that processor doesn't have these altivec > registers. See > https://sourceware.org/gdb/current/onlinedocs/gdb/Target-Descriptions.html > Many thanks for that. I've created a target description from the examples in the gdb source and then used: set tdesc filename ppc32.xml and it works! regards James Murray