fix == and restore gdb debug