gdb: hio: fix error parsing
This commit is contained in:
parent
17ca09346d
commit
89e42a457c
@ -125,7 +125,7 @@ GDB_DECLARE_HANDLER(HioReply)
|
|||||||
if (*pos != 0)
|
if (*pos != 0)
|
||||||
{
|
{
|
||||||
u32 errno_;
|
u32 errno_;
|
||||||
pos = GDB_ParseHexIntegerList(&errno_, pos, 1, ',');
|
pos = GDB_ParseHexIntegerList(&errno_, ++pos, 1, ',');
|
||||||
ctx->currentHioRequest.gdbErrno = (int)errno_;
|
ctx->currentHioRequest.gdbErrno = (int)errno_;
|
||||||
if (pos == NULL)
|
if (pos == NULL)
|
||||||
return GDB_ReplyErrno(ctx, EILSEQ);
|
return GDB_ReplyErrno(ctx, EILSEQ);
|
||||||
|
Reference in New Issue
Block a user