我目前正在尝试使用PowerPC 500v2处理器调试电路板。当我尝试使用gdb连接到电路板时,电路板已准备就绪,它给我状态
qTStatus: Target returns error code '22'.
0x00004100 in ?? ()
qTStatus: Target returns error code '22'.
使用远程调试1设置:
Remote debugging using /dev/ttyS6
Sending packet: $qSupported:multiprocess+;xmlRegisters=i386;qRelocInsn+#b5...Ack
Packet received:
Packet qSupported (supported-packets) is NOT supported
Sending packet: $Hg0#df...Ack
Packet received: OK
Sending packet: $qTStatus#49...Ack
Packet received: E22
qTStatus: Target returns error code '22'.
Sending packet: $?#3f...Ack
Packet received: S05
Sending packet: $Hc-1#09...Ack
Packet received: OK
Sending packet: $qC#b4...Ack
Packet received: QC00000000000002bc
Sending packet: $qAttached#8f...Ack
Packet received:
Packet qAttached (query-attached) is NOT supported
Sending packet: $qOffsets#4b...Ack
Packet received:
Sending packet: $g#67...Ack
Packet received: (Ton of Random Numbers)
Sending packet: $m40c0,1#c1...Ack
Packet received: E14
Sending packet: $m40c0,1#c1...Ack
Packet received: E14
Sending packet: $m40c0,8#c8...Ack
Packet received: E14
Sending packet: $m40c0,7#c7...Ack
Packet received: E14
Sending packet: $m40c0,40#f4...Ack
Packet received: E14
0x000040c0 in ?? ()
Sending packet: $qSymbol::#5b...Ack
Packet received:
Packet qSymbol (symbol-lookup) is NOT supported
Sending packet: $qTStatus#49...Ack
Packet received: E22
qTStatus: Target returns error code '22'.
我在一个串口上运行旧内核(2.6.27)进行显示和调试。我主要使用echo ttySX> / sys / module / kgdboc / parmeters / kgdboc和echo g> / proc / sysrq-trigger用于设置,但我也在启动时尝试了内核参数,它似乎没有什么区别。出于某种原因,当我退出gdb时,似乎将退出数据发送到电路板上(电路板停止暂停),但其他命令似乎都没有工作。