Skip to content

Instantly share code, notes, and snippets.

@medvid
Created September 2, 2013 14:38
Show Gist options
  • Save medvid/6413553 to your computer and use it in GitHub Desktop.
Save medvid/6413553 to your computer and use it in GitHub Desktop.
--- gdbstub.c.orig 2013-09-02 16:50:10.024684380 +0300
+++ gdbstub.c 2013-09-02 16:50:29.981350239 +0300
@@ -1685,7 +1685,7 @@
if (strstart(device, "tcp:", NULL)) {
/* enforce required TCP attributes */
snprintf(gdbstub_device_name, sizeof(gdbstub_device_name),
- "%s,nowait,nodelay,server", device);
+ "%s,nowait,nodelay,server,ipv4", device);
device = gdbstub_device_name;
}
#ifndef _WIN32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment