replace gdb.COMMAND_USER with gdb.COMMAND_NONE