This is the mail archive of the gdb-prs@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: gdb/1637: powerpc-eabi target regcache internal error


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...


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