From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9952 invoked by alias); 1 Apr 2008 18:09:51 -0000 Received: (qmail 9934 invoked by uid 22791); 1 Apr 2008 18:09:50 -0000 X-Spam-Check-By: sourceware.org Received: from mail.oarcorp.com (HELO OARmail.OARCORP.com) (216.186.189.5) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 01 Apr 2008 18:09:33 +0000 Received: from [192.168.1.3] (192.168.1.3) by OARmail.OARCORP.com (192.168.2.2) with Microsoft SMTP Server (TLS) id 8.1.263.0; Tue, 1 Apr 2008 13:06:23 -0500 Message-ID: <47F27A58.8010903@oarcorp.com> Date: Tue, 01 Apr 2008 18:09:00 -0000 From: Joel Sherrill User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: , Ralf Corsepius Subject: Possible bug in gdb 6.7.1 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit 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 X-SW-Source: 2008-04/txt/msg00003.txt.bz2 Hi, I accidentally did something stupid and think I tripped a bug in gdb. I was on an i386 target remotely debugging using a remote target to qemu. I switch targets a lot and accidentally looked at $pc instead of $eip. (gdb) p/x $pc ../../gdb-6.7.1/gdb/regcache.c:164: internal-error: register_type: Assertion `regnum >= 0 && regnum < descr->nr_cooked_registers' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) n Seems a little harsh for a bad register name from the command line, doesn't it. :D -- Joel Sherrill, Ph.D. Director of Research & Development joel.sherrill@OARcorp.com On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985