From 86bf02b9d5a594ca1a0edda2d574fab47e7bce3a Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Wed, 22 Apr 2015 20:42:32 -0700 Subject: [PATCH] Debugger: Fix uninitialized variables --- src/debugger/gdb-stub.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/debugger/gdb-stub.c b/src/debugger/gdb-stub.c index 9bb03f47d..db474a7d2 100644 --- a/src/debugger/gdb-stub.c +++ b/src/debugger/gdb-stub.c @@ -464,6 +464,8 @@ void GDBStubCreate(struct GDBStub* stub) { stub->d.custom = _gdbStubPoll; stub->d.log = 0; stub->untilPoll = GDB_STUB_INTERVAL; + stub->lineAck = GDB_ACK_PENDING; + stub->shouldBlock = false; } bool GDBStubListen(struct GDBStub* stub, int port, const struct Address* bindAddress) {