Work around a GDB bug (w/r/t packet size)
This commit is contained in:
parent
26dd61e4e6
commit
0ac6db006a
@ -111,7 +111,10 @@ GDB_DECLARE_QUERY_HANDLER(Supported)
|
|||||||
"PacketSize=%x;"
|
"PacketSize=%x;"
|
||||||
"qXfer:features:read+;qXfer:osdata:read+;"
|
"qXfer:features:read+;qXfer:osdata:read+;"
|
||||||
"QStartNoAckMode+;QThreadEvents+;QCatchSyscalls+;"
|
"QStartNoAckMode+;QThreadEvents+;QCatchSyscalls+;"
|
||||||
"vContSupported+;swbreak+", sizeof(ctx->buffer));
|
"vContSupported+;swbreak+",
|
||||||
|
|
||||||
|
GDB_BUF_LEN // should have been sizeof(ctx->buffer) but GDB memory functions are bugged
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
GDB_DECLARE_QUERY_HANDLER(StartNoAckMode)
|
GDB_DECLARE_QUERY_HANDLER(StartNoAckMode)
|
||||||
|
Reference in New Issue
Block a user