Skip to content

Send an empty/error reply when the debugger fails. #4265

Open
@lum1n0us

Description

@lum1n0us

Here if we directly return without any response, the debugger client will wait forever. A better way may be sending an empty/error reply (like write_packet(server, ""); or write_packet(server, "E01");) to tell the server there is an error.

https://sourceware.org/gdb/current/onlinedocs/gdb.html/Standard-Replies.html#Standard-Replies

Originally posted by @xujuntwt95329 in #4234 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions