> Unfortunately I can't change the PC:
>
> (gdb) set $pc=0xd8000050
> Value being assigned to is no longer active.

Fixed in head of GDB?

http://www.nabble.com/Patch-for-the-gdb-problem-%C2%ABValue-being-assigned--to-is-no-longer-active%C2%BB-td23615004.html

> Is there any other way to setup the PC to right position?

I've always used a "monitor reg pc xxx" command, even with other
hardware debuggers. Never trusted GDB to do this :-)

-- 
Øyvind Harboe
Embedded software and hardware consulting services
http://www.zylin.com
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to