[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] gdb cannot run the application



Hi everybody,
 
I try to setup remote debugging on petalinux-v0.20-rc3 / Linux 2.6
 
From mb-gdb, I can establish the connection with the target using "connect to target" only if the option "Run program" is set.
The display turns from source to Assembly and displays :

 0x245b8044 <_stext>:  Unable to read memory location 0x245b8044
- 0x245b8048 <_stext+4>:  Unable to read memory location 0x245b8048
- 0x245b804c <_stext+8>:  Unable to read memory location 0x245b804c
- 0x245b8050 <_stext+12>:  Unable to read memory location 0x245b8050
- 0x245b8054 <_stext+16>:  Unable to read memory location 0x245b8054
.....

I can read CPU registers ans memory but I cannot run the program.
Trying to run the program or using "Continue from last stop" option results in target no more responding or exiting from gdbserver : "Killing inferior"

Any help would be welcome.

Regards,

Nicho