This is the mail archive of the gdb@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]

Cannot read memory at location 0x00


Hi all,

I have successuly connected to a stub but when I try to access memory I get
the following error.

GDB 5.2.1

c print *(long*)0x00          ; Command within GDB
w $m0,4#fd                    ; Transmitted to stub
r +$E3E0000B#BF               ; Received from Stub
w +$m0,4#fd
r +$E3E0000B#BF

The above are the commands generated and the response from GDB is

Cannot Read Memory at location 0x00
0x000006 in ?? <>

Any ideas?
Also why does it request the same meory location twice?

Thanks,
Dave
--
http://www.iol.ie


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