all repos — mgba @ 86bf02b9d5a594ca1a0edda2d574fab47e7bce3a

mGBA Game Boy Advance Emulator

Debugger: Fix uninitialized variables
Jeffrey Pfau jeffrey@endrift.com
Wed, 22 Apr 2015 20:42:32 -0700
commit

86bf02b9d5a594ca1a0edda2d574fab47e7bce3a

parent

242dc5067b2b06ed5197781971dec12661eec7aa

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M src/debugger/gdb-stub.csrc/debugger/gdb-stub.c

@@ -464,6 +464,8 @@ stub->d.entered = _gdbStubEntered;

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) {