Dear Mr. & Miss,
Thanks in advance your kindly advice.
Recently I try to setup KGDB on my device (Android ARM based), and study the following pdf:
According to my device only has one serial port, I choose agent-proxy.
The following instructions are what I’ve done:
$ ./agent-proxy 5550^5551 0 /dev/ttyUSB0,115200 &
$ Agent Proxy 1.96 Started with: 5550^5551 0 /dev/ttyUSB0,115200
Agent Proxy running. pid: 17919
telnet localhost 5550
Connected to localhost.
Escape character is '^]'.
After that, I could see the kernel log appeared, then “echo ttyS0 > /sys/module/kgdboc/parameters/kgdboc”
[ 877.139512] kgdb: Registered I/O driver kgdboc.
Besides, I try to add my debug port like your pdf page 14 said, however, met some troubles:
(gdb) tar rem localhost:5551
Remote debugging using localhost:5551
warning: unrecognized item "qSupported" in "qSupported" response
Malformed response to offset query, qOffsets
Meanwhile, I saw the weird messages from my console port when I typed “tar rem …”:
When I turn on “set debug remote 1”, and “echo g > /proc/sysrq-trigger”(panic happen),
the error messages are as attached.
I connect the device to my server via RS-232, and ttyUSB0 was established.
I have no idea which part I need to amend? Please kindly give me some suggestions
Get latest updates about Open Source Projects, Conferences and News.