From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27463 invoked by alias); 26 Aug 2002 19:51:45 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 27456 invoked from network); 26 Aug 2002 19:51:44 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 26 Aug 2002 19:51:44 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 17jQq6-0001FS-00; Mon, 26 Aug 2002 15:51:58 -0500 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 17jPup-0005yn-00; Mon, 26 Aug 2002 15:52:47 -0400 Date: Mon, 26 Aug 2002 12:51:00 -0000 From: Daniel Jacobowitz To: Mark Kettenis , gdb@sources.redhat.com Subject: Re: Bizarre internal errors in regcache Message-ID: <20020826195247.GA22760@nevyn.them.org> Mail-Followup-To: Mark Kettenis , gdb@sources.redhat.com References: <20020826185639.GA19722@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020826185639.GA19722@nevyn.them.org> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-08/txt/msg00331.txt.bz2 On Mon, Aug 26, 2002 at 02:56:39PM -0400, Daniel Jacobowitz wrote: > I see this error on my laptop but not on my desktop; both current trees, > both rebuilt from scratch, both i386-linux. Any ideas? > > info source > Current source file is ../../../src-gdb/gdb/testsuite/gdb.asm/asmsrc1.s > Located in /home/drow/src/gdb/src-gdb/gdb/testsuite/gdb.asm/asmsrc1.s > Contains 63 lines. > Source language is asm. > Compiled with stabs debugging format. > Does not include preprocessor macro info. > (gdb) PASS: gdb.asm/asm-source.exp: info source asmsrc1.s > finish > Run till exit from #0 foo3 () at ../../../src-gdb/gdb/testsuite/gdb.asm/asmsrc1.s:44 > foo2 () at ../../../src-gdb/gdb/testsuite/gdb.asm/asmsrc2.s:13 > 13 gdbasm_call foo3 > ../../src-gdb/gdb/regcache.c:472: gdb-internal-error: set_register_cached: Assertion `regnum < current_regcache->descr->nr_raw_registers' failed. > An internal GDB error was detected. This may make further > debugging unreliable. Quit this debugging session? (y or n) ERROR: Got interactive prompt. > UNRESOLVED: gdb.asm/asm-source.exp: finish from foo3 > n > info source > Create a core file containing the current state of GDB? (y or n) ERROR: Got interactive prompt. > UNRESOLVED: gdb.asm/asm-source.exp: info source asmsrc2.s > n > info sources > Please answer y or n. > Create a core file containing the current state of GDB? (y or n) (gdb) FAIL: gdb.asm/asm-source.exp: info sources My desktop has SSE, my laptop doesn't, it seems. We can't call supply_register on an MMX register if we don't have any. dummy_sse_registers seems to be the culprit. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer