Hi,

I encountered an issue when using OpenOCD with GDB. After GDB connects to
OpenOCD and halt the target, "info reg" command returns all zeros for all
registers. I took a look at the related code and found that when GDB
requests register values from OpenOCD, OpenOCD does not read register from
target, instead it just calls target_get_gdb_reg_list to create a register
list without initializing it with real register value, and then just returns
them to GDB. Is it a bug or by design?

Regards,
Jie
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to