This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: si: Cannot access memory at address 0xeafffff4
On Sat, Apr 23, 2005 at 11:19:51AM +0300, Eli Zaretskii wrote:
> > Date: Fri, 22 Apr 2005 18:04:54 -0700
> > From: Shaun Jackman <sjackman@gmail.com>
> >
> > What is gdb doing here that it wants to read the target's memory?
> >
> > (gdb) si
> > Cannot access memory at address 0xeafffff4
> > (gdb)
>
> Can it be that it's reading the next instruction?
Probably. This is ARM; most ARM debugging stubs do not offer a
single-step operation, so without hardware singlestep we need to read
the current PC in order to determine the next PC.
--
Daniel Jacobowitz
CodeSourcery, LLC