Check if gdb is running