This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bizarre internal errors in regcache


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]