gdb快速退出

来源:互联网 发布:js excel.application 编辑:程序博客网 时间:2024/06/05 07:43


http://scc.qibebt.cas.cn/docs/compiler/intel/2011/debugger/cl/commandref/gdb_mode/cmd_set_confirm.htm

set confirm (gdb mode only)

Switch confirmation requests on or off.

Syntax

set confirm {on|off}

Parameters

on

Turns on confirmation requests.

off

Turns off confirmation requests.

Description

This command switches confirmation requests for various commands on or off.

Example

In the following example, confirmation is set to on by default:

(idb)  quitThe program is running.  Exit anyway? (y or n) y$

In the following example, notice that set confirm off results in the debugger quitting without asking for confirmation.

(idb)  set confirm off(idb)  quit$

Submit feedback on this help topic

-------------------------------------------------------------、

gdb 中 quit 命令的快捷健是 CTRL-D

set confirm off

CTRL-D

直接退出程序

0 0
原创粉丝点击