Turns out bochs debugger and gdb aren't compatible.