
Dear Andrea,
in message 3F5D81C3.4050604@cocay.it you wrote:
I followed your advice, but they doesn't work for me:
Well, I can only speculate...
[u-boot-0.4.6]$ arm-linux-gdb u-boot GNU gdb 5.1.1
Where did you get this version of a cross debugger from?
(gdb) symbol-file Discard symbol table from `/home/sorio/Devel/UBoot/u-boot-0.4.6/u-boot'? (y or n) y No symbol file now. (gdb) add-symbol-file u-boot 0x0 add symbol table from file "u-boot" at .text_addr = 0x0 (y or n) y Reading symbols from u-boot...done. (gdb) b start_armboot Breakpoint 1 at 0x80000cb4: file board.c, line 214.
It seems to me that your GDB is broken.
Some versions don't know how to deal with a 0x0 address because they confuse this with a NULL pointer.
The breackpoint is set to "0x80000cb4", so the bdi never stop!
That's a bug in GDB.
Best regards,
Wolfgang Denk