📄 gdb_toc.html
字号:
<HTML><HEAD><!-- This HTML file has been created by texi2html 1.52 from gdb.texinfo on 24 March 1999 --><TITLE>Debugging with GDB - Table of Contents</TITLE></HEAD><BODY><H1>Debugging with GDB</H1><H2>The GNU Source-Level Debugger</H2><H2>Fifth Edition, for GDB version 4.17</H2><H2>April 1998</H2><ADDRESS>Richard M. Stallman and Roland H. Pesch</ADDRESS><P><P><HR><P><UL><LI><A NAME="TOC1" HREF="gdb.html#SEC1">Note to VxWorks users</A><LI><A NAME="TOC2" HREF="gdb.html#SEC2">Summary of GDB</A><UL><LI><A NAME="TOC3" HREF="gdb.html#SEC3">Free software</A><LI><A NAME="TOC4" HREF="gdb.html#SEC4">Contributors to GDB</A></UL><LI><A NAME="TOC5" HREF="gdb.html#SEC5">A Sample GDB Session</A><LI><A NAME="TOC6" HREF="gdb.html#SEC6">Getting In and Out of GDB</A><UL><LI><A NAME="TOC7" HREF="gdb.html#SEC7">Invoking GDB</A><UL><LI><A NAME="TOC8" HREF="gdb.html#SEC8">Choosing files</A><LI><A NAME="TOC9" HREF="gdb.html#SEC9">Choosing modes</A></UL><LI><A NAME="TOC10" HREF="gdb.html#SEC10">Quitting GDB</A><LI><A NAME="TOC11" HREF="gdb.html#SEC11">Shell commands</A></UL><LI><A NAME="TOC12" HREF="gdb.html#SEC12">GDB Commands</A><UL><LI><A NAME="TOC13" HREF="gdb.html#SEC13">Command syntax</A><LI><A NAME="TOC14" HREF="gdb.html#SEC14">Command completion</A><LI><A NAME="TOC15" HREF="gdb.html#SEC15">Getting help</A></UL><LI><A NAME="TOC16" HREF="gdb.html#SEC16">Running Programs Under GDB</A><UL><LI><A NAME="TOC17" HREF="gdb.html#SEC17">Compiling for debugging</A><LI><A NAME="TOC18" HREF="gdb.html#SEC18">Starting your program</A><LI><A NAME="TOC19" HREF="gdb.html#SEC19">Your program's arguments</A><LI><A NAME="TOC20" HREF="gdb.html#SEC20">Your program's environment</A><LI><A NAME="TOC21" HREF="gdb.html#SEC21">Your program's working directory</A><LI><A NAME="TOC22" HREF="gdb.html#SEC22">Your program's input and output</A><LI><A NAME="TOC23" HREF="gdb.html#SEC23">Debugging an already-running process</A><LI><A NAME="TOC24" HREF="gdb.html#SEC24">Killing the child process</A><LI><A NAME="TOC25" HREF="gdb.html#SEC25">Additional process information</A><LI><A NAME="TOC26" HREF="gdb.html#SEC26">Debugging programs with multiple threads</A><LI><A NAME="TOC27" HREF="gdb.html#SEC27">Debugging programs with multiple processes</A></UL><LI><A NAME="TOC28" HREF="gdb.html#SEC28">Stopping and Continuing</A><UL><LI><A NAME="TOC29" HREF="gdb.html#SEC29">Breakpoints, watchpoints, and exceptions</A><UL><LI><A NAME="TOC30" HREF="gdb.html#SEC30">Setting breakpoints</A><LI><A NAME="TOC31" HREF="gdb.html#SEC31">Setting watchpoints</A><LI><A NAME="TOC32" HREF="gdb.html#SEC32">Breakpoints and exceptions</A><LI><A NAME="TOC33" HREF="gdb.html#SEC33">Deleting breakpoints</A><LI><A NAME="TOC34" HREF="gdb.html#SEC34">Disabling breakpoints</A><LI><A NAME="TOC35" HREF="gdb.html#SEC35">Break conditions</A><LI><A NAME="TOC36" HREF="gdb.html#SEC36">Breakpoint command lists</A><LI><A NAME="TOC37" HREF="gdb.html#SEC37">Breakpoint menus</A></UL><LI><A NAME="TOC38" HREF="gdb.html#SEC38">Continuing and stepping</A><LI><A NAME="TOC39" HREF="gdb.html#SEC39">Signals</A><LI><A NAME="TOC40" HREF="gdb.html#SEC40">Stopping and starting multi-thread programs</A></UL><LI><A NAME="TOC41" HREF="gdb.html#SEC41">Examining the Stack</A><UL><LI><A NAME="TOC42" HREF="gdb.html#SEC42">Stack frames</A><LI><A NAME="TOC43" HREF="gdb.html#SEC43">Backtraces</A><LI><A NAME="TOC44" HREF="gdb.html#SEC44">Selecting a frame</A><LI><A NAME="TOC45" HREF="gdb.html#SEC45">Information about a frame</A><LI><A NAME="TOC46" HREF="gdb.html#SEC46">MIPS machines and the function stack</A></UL><LI><A NAME="TOC47" HREF="gdb.html#SEC47">Examining Source Files</A><UL><LI><A NAME="TOC48" HREF="gdb.html#SEC48">Printing source lines</A><LI><A NAME="TOC49" HREF="gdb.html#SEC49">Searching source files</A><LI><A NAME="TOC50" HREF="gdb.html#SEC50">Specifying source directories</A><LI><A NAME="TOC51" HREF="gdb.html#SEC51">Source and machine code</A></UL><LI><A NAME="TOC52" HREF="gdb.html#SEC52">Examining Data</A><UL><LI><A NAME="TOC53" HREF="gdb.html#SEC53">Expressions</A><LI><A NAME="TOC54" HREF="gdb.html#SEC54">Program variables</A><LI><A NAME="TOC55" HREF="gdb.html#SEC55">Artificial arrays</A><LI><A NAME="TOC56" HREF="gdb.html#SEC56">Output formats</A><LI><A NAME="TOC57" HREF="gdb.html#SEC57">Examining memory</A><LI><A NAME="TOC58" HREF="gdb.html#SEC58">Automatic display</A><LI><A NAME="TOC59" HREF="gdb.html#SEC59">Print settings</A><LI><A NAME="TOC60" HREF="gdb.html#SEC60">Value history</A><LI><A NAME="TOC61" HREF="gdb.html#SEC61">Convenience variables</A><LI><A NAME="TOC62" HREF="gdb.html#SEC62">Registers</A><LI><A NAME="TOC63" HREF="gdb.html#SEC63">Floating point hardware</A></UL><LI><A NAME="TOC64" HREF="gdb.html#SEC64">Using GDB with Different Languages</A><UL><LI><A NAME="TOC65" HREF="gdb.html#SEC65">Switching between source languages</A><UL><LI><A NAME="TOC66" HREF="gdb.html#SEC66">List of filename extensions and languages</A><LI><A NAME="TOC67" HREF="gdb.html#SEC67">Setting the working language</A><LI><A NAME="TOC68" HREF="gdb.html#SEC68">Having GDB infer the source language</A></UL><LI><A NAME="TOC69" HREF="gdb.html#SEC69">Displaying the language</A><LI><A NAME="TOC70" HREF="gdb.html#SEC70">Supported languages</A><UL><UL><LI><A NAME="TOC71" HREF="gdb.html#SEC71">C and C++ operators</A><LI><A NAME="TOC72" HREF="gdb.html#SEC72">C and C++ constants</A><LI><A NAME="TOC73" HREF="gdb.html#SEC73">C++ expressions</A><LI><A NAME="TOC74" HREF="gdb.html#SEC74">C and C++ defaults</A><LI><A NAME="TOC75" HREF="gdb.html#SEC75">GDB and C</A><LI><A NAME="TOC76" HREF="gdb.html#SEC76">GDB features for C++</A></UL></UL></UL><LI><A NAME="TOC77" HREF="gdb.html#SEC77">Examining the Symbol Table</A><LI><A NAME="TOC78" HREF="gdb.html#SEC78">Altering Execution</A><UL><LI><A NAME="TOC79" HREF="gdb.html#SEC79">Assignment to variables</A><LI><A NAME="TOC80" HREF="gdb.html#SEC80">Continuing at a different address</A><LI><A NAME="TOC81" HREF="gdb.html#SEC81">Giving your program a signal</A><LI><A NAME="TOC82" HREF="gdb.html#SEC82">Returning from a function</A><LI><A NAME="TOC83" HREF="gdb.html#SEC83">Calling program functions</A><LI><A NAME="TOC84" HREF="gdb.html#SEC84">Patching programs</A></UL><LI><A NAME="TOC85" HREF="gdb.html#SEC85">GDB Files</A><UL><LI><A NAME="TOC86" HREF="gdb.html#SEC86">Commands to specify files</A><LI><A NAME="TOC87" HREF="gdb.html#SEC87">Errors reading symbol files</A></UL><LI><A NAME="TOC88" HREF="gdb.html#SEC88">Specifying a Debugging Target</A><UL><LI><A NAME="TOC89" HREF="gdb.html#SEC89">Active targets</A><LI><A NAME="TOC90" HREF="gdb.html#SEC90">Commands for managing targets</A><LI><A NAME="TOC91" HREF="gdb.html#SEC91">Choosing target byte order</A><LI><A NAME="TOC92" HREF="gdb.html#SEC92">Remote debugging</A></UL><LI><A NAME="TOC93" HREF="gdb.html#SEC93">Controlling GDB</A><UL><LI><A NAME="TOC94" HREF="gdb.html#SEC94">Prompt</A><LI><A NAME="TOC95" HREF="gdb.html#SEC95">Command editing</A><LI><A NAME="TOC96" HREF="gdb.html#SEC96">Command history</A><LI><A NAME="TOC97" HREF="gdb.html#SEC97">Screen size</A><LI><A NAME="TOC98" HREF="gdb.html#SEC98">Numbers</A><LI><A NAME="TOC99" HREF="gdb.html#SEC99">Optional warnings and messages</A></UL><LI><A NAME="TOC100" HREF="gdb.html#SEC100">Canned Sequences of Commands</A><UL><LI><A NAME="TOC101" HREF="gdb.html#SEC101">User-defined commands</A><LI><A NAME="TOC102" HREF="gdb.html#SEC102">User-defined command hooks</A><LI><A NAME="TOC103" HREF="gdb.html#SEC103">Command files</A><LI><A NAME="TOC104" HREF="gdb.html#SEC104">Commands for controlled output</A></UL><LI><A NAME="TOC105" HREF="gdb.html#SEC105">Using GDB under GNU Emacs</A><LI><A NAME="TOC106" HREF="gdb.html#SEC106">Reporting Bugs in GDB</A><UL><LI><A NAME="TOC107" HREF="gdb.html#SEC107">Have you found a bug?</A><LI><A NAME="TOC108" HREF="gdb.html#SEC108">How to report bugs</A></UL><LI><A NAME="TOC109" HREF="gdb.html#SEC109">Command Line Editing</A><UL><LI><A NAME="TOC110" HREF="gdb.html#SEC110">Introduction to Line Editing</A><LI><A NAME="TOC111" HREF="gdb.html#SEC111">Readline Interaction</A><UL><LI><A NAME="TOC112" HREF="gdb.html#SEC112">Readline Bare Essentials</A><LI><A NAME="TOC113" HREF="gdb.html#SEC113">Readline Movement Commands</A><LI><A NAME="TOC114" HREF="gdb.html#SEC114">Readline Killing Commands</A><LI><A NAME="TOC115" HREF="gdb.html#SEC115">Readline Arguments</A></UL><LI><A NAME="TOC116" HREF="gdb.html#SEC116">Readline Init File</A><UL><LI><A NAME="TOC117" HREF="gdb.html#SEC117">Readline Init Syntax</A><UL><LI><A NAME="TOC118" HREF="gdb.html#SEC118">Commands For Moving</A><LI><A NAME="TOC119" HREF="gdb.html#SEC119">Commands For Manipulating The History</A><LI><A NAME="TOC120" HREF="gdb.html#SEC120">Commands For Changing Text</A><LI><A NAME="TOC121" HREF="gdb.html#SEC121">Killing And Yanking</A><LI><A NAME="TOC122" HREF="gdb.html#SEC122">Specifying Numeric Arguments</A><LI><A NAME="TOC123" HREF="gdb.html#SEC123">Letting Readline Type For You</A><LI><A NAME="TOC124" HREF="gdb.html#SEC124">Some Miscellaneous Commands</A></UL><LI><A NAME="TOC125" HREF="gdb.html#SEC125">Readline <CODE>vi</CODE> Mode</A></UL></UL><LI><A NAME="TOC126" HREF="gdb.html#SEC126">Using History Interactively</A><UL><LI><A NAME="TOC127" HREF="gdb.html#SEC127">History Interaction</A><UL><LI><A NAME="TOC128" HREF="gdb.html#SEC128">Event Designators</A><LI><A NAME="TOC129" HREF="gdb.html#SEC129">Word Designators</A><LI><A NAME="TOC130" HREF="gdb.html#SEC130">Modifiers</A></UL></UL><LI><A NAME="TOC131" HREF="gdb.html#SEC131">Formatting Documentation</A><LI><A NAME="TOC132" HREF="gdb.html#SEC132">Installing GDB</A><UL><LI><A NAME="TOC133" HREF="gdb.html#SEC133">Compiling GDB in another directory</A><LI><A NAME="TOC134" HREF="gdb.html#SEC134">Specifying names for hosts and targets</A><LI><A NAME="TOC135" HREF="gdb.html#SEC135"><CODE>configure</CODE> options</A></UL><LI><A NAME="TOC136" HREF="gdb.html#SEC136">Index</A></UL><P><HR><P>This document was generated on 24 March 1999 using the<A HREF="http://wwwinfo.cern.ch/dis/texi2html/">texi2html</A>translator version 1.52.</P></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -