This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: gdb/1637: powerpc-eabi target regcache internal error
- From: "Will Lentz" <Will_Lentz at Trimble dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 1 Oct 2004 19:48:01 -0000
- Subject: Re: gdb/1637: powerpc-eabi target regcache internal error
- Reply-to: "Will Lentz" <Will_Lentz at Trimble dot com>
The following reply was made to PR gdb/1637; it has been noted by GNATS.
From: "Will Lentz" <Will_Lentz@Trimble.com>
To: <gdb-gnats@sources.redhat.com>
Cc:
Subject: Re: gdb/1637: powerpc-eabi target regcache internal error
Date: Fri, 1 Oct 2004 12:41:17 -0700
This bug should be closed. The problem was that I was setting the
architecture incorrectly.
If I do:
set architecture powerpc:603 (for an MPC5200 target)
before
p/x $pc =3D 0x40000
then I get the assert.
If I leave out the "set architecture" line, then everything works fine.
Will
P.S. It would be cool to have a nicer error message (like "check
architecture setting") instead of gdb dumping core...