X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-ID: <46C70D66.5060305@iki.fi> Date: Sat, 18 Aug 2007 18:16:54 +0300 From: Andris Pavenis User-Agent: Thunderbird 2.0.0.5 (X11/20070719) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Weird GDB crash with DJGPP References: <1187424821 DOT 915011 DOT 306360 AT l22g2000prc DOT googlegroups DOT com> In-Reply-To: <1187424821.915011.306360@l22g2000prc.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X--MailScanner-Information: Please contact the ISP for more information X--MailScanner: Found to be clean X--MailScanner-From: andris DOT pavenis AT iki DOT fi X-Spam-Status: No Reply-To: djgpp AT delorie DOT com mike3 wrote: > Hi. > > When I try to run the GNU Debugger in DJGPP on my program, and list > the CPU registers with "list all-registers", it crashes with > > "go32-nat.c:473: internal-error: Invalid register no. 32 in > fetch_register." > > when it gets to the XMM registers. And this is really, REALLY bad > since that's where I need to debug! > What is going on here? I tried GDBing a different program to see if > perhaps it was due to a flaw in my program and BAM, same error, so > nope, that's not it. No one has added support of XMM registers for DJGPP. One can see from gdb/go32-nat.c in gdb-6.6.tar.bz2. I remember I had this problem already long time ago when building from sources and using RHIDE. I workarounded it in some way, but I don't remeber exactly how (perhaps limiting librhgdb not to try to retrieve XMM registers at all).