Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: noackmode zombie state handling #2060

Merged
merged 4 commits into from
Jan 21, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
gdb_packet: add note on useful GDB debug command
  • Loading branch information
perigoso authored and Rafael Silva committed Jan 21, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 588816fe6db1bb1bd2e1ba33929be2a7ae40a7e6
8 changes: 8 additions & 0 deletions src/gdb_packet.c
Original file line number Diff line number Diff line change
@@ -81,6 +81,14 @@ void gdb_set_noackmode(bool enable)
}

#ifndef DEBUG_GDB_IS_NOOP
/*
* To debug packets from the perspective of GDB we can use the following command:
* set debug remote on
* This will print packets sent and received by the GDB client
*
* This is not directly related to BMD, but as it's hard to find this information
* and it is extremely useful for debugging, we included it here for reference.
*/
static void gdb_packet_debug(const char *const func, const gdb_packet_s *const packet)
{
/* Log packet for debugging */