How to use kgdb on ARM??

前端 未结 2 1643
死守一世寂寞
死守一世寂寞 2020-12-10 04:16

Im using ARMv7 as a target machine. I have compiled the Linux source 2.6.34.13 for target.

Target is connected with Host(Linux Developmen

2条回答
  •  渐次进展
    2020-12-10 04:29

    Finally Host to Target communication established just bcos of line delay. There is no relationship between kernel source in development machine and time-out issues.

    For the time-out kind of issue for some of the commands say qOffset and qSupported is solved by using GtkTerm instead of minicom as the serial port communication tool. Difference is "line delay" option in GtkTerm. so when this is configured to ~250, there is no timeout message thereafter. simply connection established and waits at default break point. If anyone knows how to give this "line delay" in minicom will be more helpful to everyone.

    yes ofcourse, we need source code for list command to execute. but without those source also, we can debug i.e si, bt can be executed with the help of vmlinux and system.map.

    Note:: set debug remote 1 is not necessary. This gives detailed display of host to command communications. For more detailed view, set debug serial 1.

提交回复
热议问题