zoukankan      html  css  js  c++  java
  • Debugging with GDB (3) 退出gdb

    quit [expression]
    q
    To exit gdb, use the quit command (abbreviated q), or type an end-of-file character (usually Ctrl-d). If you do not supply expression, gdb will terminate normally; otherwise it will terminate using the result of expression as the error code.

    An interrupt (often Ctrl-c) does not exit from gdb, but rather terminates the action of any gdb command that is in progress and returns to gdb command level. It is safe to type the interrupt character at any time because gdb does not allow it to take effect until a time when it is safe.

    If you have been using gdb to control an attached process or device, you can release it with the detach command.

    本段写的很好,直接copy。

  • 相关阅读:
    Linux 命令
    g++/gcc
    emacs lisp
    vim 快捷键
    emacs快捷键
    Valgrind 例子
    Valgrind
    gprof
    cppcheck
    gdb常用命令
  • 原文地址:https://www.cnblogs.com/xjsllll/p/2987261.html
Copyright © 2011-2022 走看看