Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* si: Cannot access memory at address 0xeafffff4
@ 2005-04-23  1:04 Shaun Jackman
  2005-04-23  8:21 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Shaun Jackman @ 2005-04-23  1:04 UTC (permalink / raw)
  To: gdb

What is gdb doing here that it wants to read the target's memory?

(gdb) si
Cannot access memory at address 0xeafffff4
(gdb)

Cheers,
Shaun

$ arm-elf-gdb --version
GNU gdb 6.3.50.20050419
...
This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-elf".


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: si: Cannot access memory at address 0xeafffff4
  2005-04-23  1:04 si: Cannot access memory at address 0xeafffff4 Shaun Jackman
@ 2005-04-23  8:21 ` Eli Zaretskii
  2005-04-24 22:32   ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2005-04-23  8:21 UTC (permalink / raw)
  To: Shaun Jackman; +Cc: gdb

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: si: Cannot access memory at address 0xeafffff4
  2005-04-23  8:21 ` Eli Zaretskii
@ 2005-04-24 22:32   ` Daniel Jacobowitz
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Jacobowitz @ 2005-04-24 22:32 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Shaun Jackman, gdb

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-04-24 22:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-23  1:04 si: Cannot access memory at address 0xeafffff4 Shaun Jackman
2005-04-23  8:21 ` Eli Zaretskii
2005-04-24 22:32   ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox