From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27468 invoked by alias); 6 Apr 2010 17:48:04 -0000 Received: (qmail 27455 invoked by uid 22791); 6 Apr 2010 17:48:03 -0000 X-SWARE-Spam-Status: No, hits=1.5 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 06 Apr 2010 17:47:59 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L0G00800UR2MG00@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Tue, 06 Apr 2010 20:47:39 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.124.92.42]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L0G001Q5UREXKI0@a-mtaout22.012.net.il>; Tue, 06 Apr 2010 20:47:39 +0300 (IDT) Date: Tue, 06 Apr 2010 17:48:00 -0000 From: Eli Zaretskii Subject: Re: Go32-v2 native woes In-reply-to: <002a01cad517$d36eab90$7a4c02b0$%muller@ics-cnrs.unistra.fr> To: Pierre Muller Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83hbnoxykc.fsf@gnu.org> References: <002a01cad517$d36eab90$7a4c02b0$%muller@ics-cnrs.unistra.fr> 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-04/txt/msg00098.txt.bz2 > From: "Pierre Muller" > Date: Tue, 6 Apr 2010 01:29:22 +0200 > > top> p num_regs > $1 = 32 > top> p *data.arch_regs > $2 = {num = 33, alloc = 36, vec = {{reg = 0x3ed6d8, type = 0x0}}} > top> > > The additional reg in arch_regs seems to come from > i386_validate_tdesc_p function: > /* Need to include %mxcsr, so add one. */ > num_regs += tdep->num_xmm_regs + 1; > > Adding this condition > if (tdep->num_xmm_regs) > removes the problem above, Thanks. I'm okay with this change, but please wait for Mark to comment on it.