Skip to content
Commit 7fafd971 authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

debug: gdbstub: ignore GDB packet exceeding buffer



If an incoming GDB packet is bigger than what the buffer can hold,
stop putting the extra characters into the buffer. This will still
read till the end to acknowledge the packet but will return error
instead. This allows the GDB session to continue instead of hanging
or timed out due to packets not being acknowledged.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent f5f9a751
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment