-
-
Notifications
You must be signed in to change notification settings - Fork 781
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gdb_packet: allow for external packet buffer
Allow supplying a packet buffer from an external source. This allows the GDB packet functions to be thread-safe, assuming the packet buffer comes from some form of thread-local storage. Guard this function with a macro to allow keeping the previous behavior. Signed-off-by: Sean Cross <sean@xobs.io>
- Loading branch information
Showing
1 changed file
with
47 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters