GDB server does not start.


joseph@...
 

It seems to be connected to DebugAgent, but the gdb server does not start.
I am using Hyper-V Generation 2.

==================================================
UEFI Shell:

disconnect (serial)
load -nc DebugAgentDxe.efi
Debug Agent: Initialized successfully!

Image 'FS1:\DebugAgentDxe.efi' loaded at F6C91000 - Success

==================================================
udk-gdb-server Log: (Can see also in https://pastebin.pl/view/ee5a1bc9 )

Intel(R) UEFI Development Kit Debugger Tool Version 1.5.1
Debugging through TCP (localhost:11001)
===Configuration===
Debug Port:
BaudRate =
Channel = TCP
Redirect Target output to TCP port (20715)
FlowControl =
Port = 11001
Server = localhost
Features:
TerminalRedirectionPort = 20715
Maintenance:
Trace = 0x1f
Target System:
ProcessorCount = 16
Send INIT break packet and try to connect the HOST (Intel(R) UDK Debugger Tool v1.5) ...
Received data [ fe 3f 06 00 59 ba ]
Request(3f) sequence (0)
Sent data [ fe 80 06 00 66 9f ]
ProcessAsyncCommand(): INIT_BREAK
Delay 0s before call HandleInitBreak()
HandleInitBreak() called
QueryRevision() called
Sent data [ fe 12 06 01 a0 87 ]
HOST connection is successful!
Timeout...
Recv timeout
Sent data [ fe 12 06 01 a0 87 ]
Received data [ fc 80 0a 01 d6 33 04 00 00 05 ]
Debug agent revision: 0.4
Sent data [ fe 80 06 01 57 ac ]
QueryRevision() returning : Revision = 4 Capability = 0
PutDebuggerSetting() called: Key = 2 Value = 1f
Sent data [ fe 11 08 02 33 92 02 1f ]
SendAckPacket: SequenceNo = 2
Sent data [ FE 80 06 02 04 F9 ]
Received data [ fe 80 06 02 04 f9 ]
PutDebuggerSetting() returning
PutDebuggerSetting() called: Key = 1 Value = 0
Sent data [ fe 11 08 03 e4 cb 01 00 ]
TARGET: Try to get command from HOST...
Timeout...
Recv timeout
Sent data [ fe 11 08 03 e4 cb 01 00 ]
Received data [ FE 11 08 03 00 00 01 00 ]
Processor[0]:Received one command(11)
SendAckPacket: SequenceNo = 3
Sent data [ FE 80 06 03 35 CA ]
Received data [ fe 80 06 03 35 ca ]
PutDebuggerSetting() returning
PutDebuggerSetting() called: Key = 3 Value = 0
Sent data [ fe 11 08 04 8b ba 03 00 ]
TARGET: Try to get command from HOST...
Timeout...
Recv timeout
Sent data [ fe 11 08 04 8b ba 03 00 ]
Received data [ FE 11 08 04 00 00 03 00 ]
Processor[0]:Received one command(11)
SendAckPacket: SequenceNo = 4
Sent data [ FE 80 06 04 A2 53 ]
Received data [ fe 80 06 04 a2 53 ]
PutDebuggerSetting() returning
IGetViewpoint() called
Sent data [ fe 15 06 05 49 1a ]
TARGET: Try to get command from HOST...
Timeout...
Recv timeout
Sent data [ fe 15 06 05 49 1a ]
Received data [ FE 15 06 05 00 00 ]
Processor[0]:Received one command(15)
Received data [ fc 80 09 05 76 9e 00 00 02 ]
Sent data [ fe 80 06 05 93 60 ]
IGetViewpoint() returning : TargetViewpoint = 0
MemoryReady() called
Sent data [ fe 3d 06 06 97 fd ]
Received data [ FE 80 06 05 00 00 ]
TARGET: Try to get command from HOST...
Timeout...
Recv timeout
Sent data [ fe 3d 06 06 97 fd ]
Received data [ FE 3D 06 06 00 00 ]
Processor[0]:Received one command(3D)
Sent data [ FE 80 07 06 42 D0 00 ]
Received data [ fe 80 07 06 42 d0 00 ]
Sent data [ fe 80 06 06 c0 35 ]
MemoryReady() returning : Ready = 0
Informing the happening of target event (reset)
Informed the happening of target event (reset)
IGo() called
Sent data [ fe 01 06 07 7d ad ]
Received data [ FE 80 06 06 00 00 ]
TARGET: Try to get command from HOST...
Timeout...
Recv timeout
Sent data [ fe 01 06 07 7d ad ]
Received data [ FE 01 06 07 00 00 ]
Processor[0]:Received one command(1)
SendAckPacket: SequenceNo = 7
Sent data [ FE 80 06 07 F1 06 ]
Received data [ fe 80 06 07 f1 06 ]
IGo() returning
HandleInitBreak() returning
Sent data [ FE 3D 06 01 00 64 ]
Received data [ fe 3d 06 01 00 64 ]
Request(3d) sequence (1)
Sent data [ fe 80 06 01 57 ac ]
Target memory is ready!
IGo() called
Sent data [ fe 01 06 08 43 bd ]
Received data [ FE 80 06 01 00 00 ]
TARGET: Try to get command from HOST...
Timeout...
Recv timeout
Sent data [ fe 01 06 08 43 bd ]
Received data [ FE 01 06 08 00 00 ]
Processor[0]:Received one command(1)
SendAckPacket: SequenceNo = 8
Sent data [ FE 80 06 08 CF 16 ]
Received data [ fe 80 06 08 cf 16 ]
IGo() returning
==================================================

Join discuss@edk2.groups.io to automatically receive all group messages.