This is the mail archive of the 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: arm-elf-gdb crash

On Fri, May 06, 2005 at 08:40:00AM -0700, Shaun Jackman wrote:
> On 5/5/05, Daniel Jacobowitz <> wrote:
> > > fixes the load bug, but fails when setting the $cpsr
> > > (gdb) set $cpsr=0x1f
> > > Value being assigned to is no longer active.
> > >
> > > Do you know if the $cpsr bug has been fixed in a recent snapshot?
> > 
> > I discussed this with someone else on this list last week.  It is an
> > open bug but someone needs to sit down with it and think about the
> > implications.
> The implications meaning the possible causes, or the implications of
> possible solutions?

The latter.

> > I suspect that we've failed to create the first frame, somehow.
> Perhaps this would only defer the problem, but in the case of
> assigning to a register that's never going away, could we skip the
> check for a valid frame and plow ahead and write the register?

GDB associates registers to frames.  It's written to the assumption
that there is always a frame; when there isn't, this is just one of
many things that is going to go wrong.

Daniel Jacobowitz
CodeSourcery, LLC

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