| This is gdb.info, produced by makeinfo version 4.8 from |
| ../.././gdb/doc/gdb.texinfo. |
| |
| INFO-DIR-SECTION Software development |
| START-INFO-DIR-ENTRY |
| * Gdb: (gdb). The GNU debugger. |
| END-INFO-DIR-ENTRY |
| |
| This file documents the GNU debugger GDB. |
| |
| This is the Ninth Edition, of `Debugging with GDB: the GNU |
| Source-Level Debugger' for GDB Version 6.8. |
| |
| Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, |
| 1998, |
| 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 |
| Free Software Foundation, Inc. |
| |
| Permission is granted to copy, distribute and/or modify this document |
| under the terms of the GNU Free Documentation License, Version 1.1 or |
| any later version published by the Free Software Foundation; with the |
| Invariant Sections being "Free Software" and "Free Software Needs Free |
| Documentation", with the Front-Cover Texts being "A GNU Manual," and |
| with the Back-Cover Texts as in (a) below. |
| |
| (a) The FSF's Back-Cover Text is: "You are free to copy and modify |
| this GNU Manual. Buying copies from GNU Press supports the FSF in |
| developing GNU and promoting software freedom." |
| |
| |
| Indirect: |
| gdb.info-1: 1109 |
| gdb.info-2: 299141 |
| gdb.info-3: 599007 |
| gdb.info-4: 891206 |
| |
| Tag Table: |
| (Indirect) |
| Node: Top1109 |
| Node: Summary3815 |
| Node: Free Software5451 |
| Node: Contributors11019 |
| Node: Sample Session19003 |
| Node: Invocation25839 |
| Node: Invoking GDB26383 |
| Node: File Options28696 |
| Node: Mode Options31353 |
| Node: Startup37765 |
| Ref: Startup-Footnote-139670 |
| Node: Quitting GDB39779 |
| Node: Shell Commands40676 |
| Node: Logging Output41518 |
| Node: Commands42364 |
| Node: Command Syntax43002 |
| Node: Completion45168 |
| Node: Help49503 |
| Node: Running54742 |
| Node: Compilation55924 |
| Node: Starting58563 |
| Node: Arguments63452 |
| Node: Environment64722 |
| Node: Working Directory67990 |
| Node: Input/Output69098 |
| Node: Attach71069 |
| Node: Kill Process73536 |
| Node: Threads74502 |
| Node: Processes81338 |
| Node: Checkpoint/Restart86557 |
| Ref: Checkpoint/Restart-Footnote-191090 |
| Node: Stopping91125 |
| Node: Breakpoints92272 |
| Node: Set Breaks95691 |
| Node: Set Watchpoints109829 |
| Node: Set Catchpoints117636 |
| Node: Delete Breaks121675 |
| Node: Disabling123611 |
| Node: Conditions126476 |
| Node: Break Commands131424 |
| Node: Breakpoint Menus134309 |
| Node: Error in Breakpoints136035 |
| Node: Breakpoint-related Warnings137613 |
| Node: Continuing and Stepping139940 |
| Node: Signals149252 |
| Node: Thread Stops153524 |
| Node: Stack158161 |
| Node: Frames159637 |
| Node: Backtrace162389 |
| Ref: Backtrace-Footnote-1167280 |
| Node: Selection167468 |
| Node: Frame Info170332 |
| Node: Source172663 |
| Node: List173729 |
| Node: Specify Location176342 |
| Node: Edit179592 |
| Ref: Edit-Footnote-1181067 |
| Node: Search181302 |
| Node: Source Path182110 |
| Ref: set substitute-path187865 |
| Node: Machine Code190086 |
| Node: Data193460 |
| Node: Expressions195841 |
| Node: Variables197809 |
| Node: Arrays202300 |
| Node: Output Formats204829 |
| Ref: Output Formats-Footnote-1207702 |
| Node: Memory207859 |
| Node: Auto Display213106 |
| Node: Print Settings216819 |
| Node: Value History230290 |
| Node: Convenience Vars232706 |
| Node: Registers236230 |
| Ref: Registers-Footnote-1240905 |
| Node: Floating Point Hardware241300 |
| Node: Vector Unit241830 |
| Node: OS Information242215 |
| Node: Memory Region Attributes244213 |
| Node: Dump/Restore Files248871 |
| Node: Core File Generation251174 |
| Node: Character Sets252406 |
| Node: Caching Remote Data259231 |
| Node: Macros260379 |
| Node: Tracepoints267330 |
| Node: Set Tracepoints269172 |
| Node: Create and Delete Tracepoints270372 |
| Node: Enable and Disable Tracepoints272016 |
| Node: Tracepoint Passcounts272715 |
| Node: Tracepoint Actions274139 |
| Node: Listing Tracepoints277139 |
| Node: Starting and Stopping Trace Experiments278261 |
| Node: Analyze Collected Data279442 |
| Node: tfind280747 |
| Node: tdump285140 |
| Node: save-tracepoints286799 |
| Node: Tracepoint Variables287218 |
| Node: Overlays288233 |
| Node: How Overlays Work288953 |
| Ref: A code overlay291513 |
| Node: Overlay Commands294951 |
| Node: Automatic Overlay Debugging299141 |
| Node: Overlay Sample Program301282 |
| Node: Languages303042 |
| Node: Setting304205 |
| Node: Filenames305907 |
| Node: Manually306693 |
| Node: Automatically307902 |
| Node: Show308963 |
| Node: Checks310285 |
| Node: Type Checking311675 |
| Node: Range Checking314408 |
| Node: Supported Languages316809 |
| Node: C317982 |
| Node: C Operators319283 |
| Node: C Constants323602 |
| Node: C Plus Plus Expressions326006 |
| Node: C Defaults329549 |
| Node: C Checks330232 |
| Node: Debugging C330955 |
| Node: Debugging C Plus Plus331439 |
| Node: Decimal Floating Point334556 |
| Node: Objective-C335814 |
| Node: Method Names in Commands336275 |
| Node: The Print Command with Objective-C337970 |
| Node: Fortran338621 |
| Node: Fortran Operators339346 |
| Node: Fortran Defaults339936 |
| Node: Special Fortran Commands340321 |
| Node: Pascal340827 |
| Node: Modula-2341342 |
| Node: M2 Operators342317 |
| Node: Built-In Func/Proc345315 |
| Node: M2 Constants348176 |
| Node: M2 Types349777 |
| Node: M2 Defaults352996 |
| Node: Deviations353596 |
| Node: M2 Checks354697 |
| Node: M2 Scope355515 |
| Node: GDB/M2356539 |
| Node: Ada357451 |
| Node: Ada Mode Intro358250 |
| Node: Omissions from Ada360122 |
| Node: Additions to Ada364083 |
| Node: Stopping Before Main Program367981 |
| Node: Ada Glitches368513 |
| Node: Unsupported Languages370491 |
| Node: Symbols371181 |
| Node: Altering384680 |
| Node: Assignment385649 |
| Node: Jumping388754 |
| Node: Signaling390889 |
| Node: Returning392020 |
| Node: Calling393222 |
| Node: Patching395115 |
| Node: GDB Files396192 |
| Node: Files396733 |
| Ref: Shared Libraries409568 |
| Node: Separate Debug Files414964 |
| Node: Symbol Errors425587 |
| Node: Targets429190 |
| Node: Active Targets430670 |
| Node: Target Commands432249 |
| Node: Byte Order437489 |
| Node: Remote Debugging438466 |
| Node: Connecting439728 |
| Node: File Transfer444603 |
| Node: Server445543 |
| Ref: Monitor Commands for gdbserver452174 |
| Ref: Server-Footnote-1453033 |
| Node: Remote Configuration453153 |
| Ref: set remotebreak454177 |
| Ref: set remote hardware-watchpoint-limit455641 |
| Ref: set remote hardware-breakpoint-limit455641 |
| Ref: set remote exec-file455923 |
| Node: Remote Stub459201 |
| Node: Stub Contents462098 |
| Node: Bootstrapping464209 |
| Node: Debug Session468018 |
| Node: Configurations469578 |
| Node: Native470347 |
| Node: HP-UX470941 |
| Node: BSD libkvm Interface471230 |
| Node: SVR4 Process Information472301 |
| Node: DJGPP Native475731 |
| Node: Cygwin Native482311 |
| Node: Non-debug DLL Symbols485692 |
| Node: Hurd Native490238 |
| Node: Neutrino495501 |
| Node: Embedded OS495876 |
| Node: VxWorks496352 |
| Node: VxWorks Connection498569 |
| Node: VxWorks Download499503 |
| Node: VxWorks Attach501238 |
| Node: Embedded Processors501636 |
| Node: ARM502780 |
| Node: M32R/D505734 |
| Node: M68K507436 |
| Node: MIPS Embedded507732 |
| Node: OpenRISC 1000512677 |
| Node: PowerPC Embedded515532 |
| Node: PA516998 |
| Node: Sparclet517287 |
| Node: Sparclet File518771 |
| Node: Sparclet Connection519651 |
| Node: Sparclet Download520129 |
| Node: Sparclet Execution521178 |
| Node: Sparclite521769 |
| Node: Z8000522142 |
| Node: AVR523526 |
| Node: CRIS523889 |
| Node: Super-H524867 |
| Node: Architectures525109 |
| Node: i386525531 |
| Node: A29K526213 |
| Node: Alpha527052 |
| Node: MIPS527185 |
| Node: HPPA529809 |
| Node: SPU530328 |
| Node: PowerPC531572 |
| Node: Controlling GDB532150 |
| Node: Prompt532911 |
| Node: Editing533690 |
| Node: Command History534633 |
| Node: Screen Size538037 |
| Node: Numbers539742 |
| Node: ABI541719 |
| Node: Messages/Warnings544648 |
| Node: Debugging Output547141 |
| Node: Sequences551508 |
| Node: Define552119 |
| Node: Hooks555470 |
| Node: Command Files557661 |
| Node: Output561514 |
| Node: Interpreters566281 |
| Node: TUI568376 |
| Node: TUI Overview569343 |
| Node: TUI Keys571776 |
| Node: TUI Single Key Mode574080 |
| Node: TUI Commands574955 |
| Node: TUI Configuration577043 |
| Node: Emacs578339 |
| Node: GDB/MI583816 |
| Node: GDB/MI Command Syntax585638 |
| Node: GDB/MI Input Syntax585851 |
| Node: GDB/MI Output Syntax587405 |
| Node: GDB/MI Compatibility with CLI590823 |
| Node: GDB/MI Development and Front Ends591560 |
| Node: GDB/MI Output Records593481 |
| Node: GDB/MI Result Records593763 |
| Node: GDB/MI Stream Records594490 |
| Node: GDB/MI Out-of-band Records595761 |
| Node: GDB/MI Simple Examples597198 |
| Node: GDB/MI Command Description Format599007 |
| Node: GDB/MI Breakpoint Commands599887 |
| Node: GDB/MI Program Context616392 |
| Node: GDB/MI Thread Commands620874 |
| Node: GDB/MI Program Execution622950 |
| Node: GDB/MI Stack Manipulation631559 |
| Node: GDB/MI Variable Objects641190 |
| Ref: -var-list-children648202 |
| Ref: -var-update653161 |
| Ref: -var-set-frozen653975 |
| Node: GDB/MI Data Manipulation654698 |
| Node: GDB/MI Tracepoint Commands669060 |
| Node: GDB/MI Symbol Query669304 |
| Node: GDB/MI File Commands672592 |
| Node: GDB/MI Target Manipulation676845 |
| Node: GDB/MI File Transfer Commands684024 |
| Node: GDB/MI Miscellaneous Commands685346 |
| Ref: -interpreter-exec688490 |
| Node: Annotations690791 |
| Node: Annotations Overview691705 |
| Node: Server Prefix694168 |
| Node: Prompting694808 |
| Node: Errors696325 |
| Node: Invalidation697221 |
| Node: Annotations for Running697698 |
| Node: Source Annotations699218 |
| Node: GDB Bugs700143 |
| Node: Bug Criteria700870 |
| Node: Bug Reporting701747 |
| Node: Command Line Editing709370 |
| Node: Introduction and Notation710022 |
| Node: Readline Interaction711642 |
| Node: Readline Bare Essentials712831 |
| Node: Readline Movement Commands714618 |
| Node: Readline Killing Commands715581 |
| Node: Readline Arguments717499 |
| Node: Searching718541 |
| Node: Readline Init File720690 |
| Node: Readline Init File Syntax721753 |
| Node: Conditional Init Constructs733685 |
| Node: Sample Init File736216 |
| Node: Bindable Readline Commands739331 |
| Node: Commands For Moving740386 |
| Node: Commands For History741245 |
| Node: Commands For Text744367 |
| Node: Commands For Killing747091 |
| Node: Numeric Arguments749231 |
| Node: Commands For Completion750368 |
| Node: Keyboard Macros751910 |
| Node: Miscellaneous Commands752479 |
| Node: Readline vi Mode755838 |
| Node: Using History Interactively756755 |
| Node: History Interaction757270 |
| Node: Event Designators758692 |
| Node: Word Designators759625 |
| Node: Modifiers761262 |
| Node: Formatting Documentation762487 |
| Ref: Formatting Documentation-Footnote-1765816 |
| Node: Installing GDB765880 |
| Node: Requirements766389 |
| Ref: Expat766958 |
| Node: Running Configure767669 |
| Node: Separate Objdir771208 |
| Node: Config Names774092 |
| Node: Configure Options775537 |
| Node: Maintenance Commands777873 |
| Ref: maint info breakpoints778532 |
| Node: Remote Protocol788832 |
| Node: Overview789284 |
| Ref: Binary Data791471 |
| Node: Packets793730 |
| Ref: extended mode794812 |
| Ref: read registers packet797336 |
| Ref: cycle step packet798502 |
| Ref: write register packet800378 |
| Ref: step with signal packet801285 |
| Ref: X packet805991 |
| Ref: insert breakpoint or watchpoint packet806281 |
| Node: Stop Reply Packets808727 |
| Node: General Query Packets812286 |
| Ref: QPassSignals819329 |
| Ref: qSupported821404 |
| Ref: qXfer read829996 |
| Ref: qXfer auxiliary vector read830490 |
| Ref: qXfer target description read830839 |
| Ref: qXfer library list read831283 |
| Ref: qXfer memory map read831929 |
| Ref: qXfer spu read832318 |
| Ref: qXfer spu write834448 |
| Ref: General Query Packets-Footnote-1835738 |
| Node: Register Packet Format836065 |
| Node: Tracepoint Packets836983 |
| Node: Host I/O Packets843078 |
| Node: Interrupts847220 |
| Node: Examples848681 |
| Node: File-I/O Remote Protocol Extension849294 |
| Node: File-I/O Overview849756 |
| Node: Protocol Basics851905 |
| Node: The F Request Packet854137 |
| Node: The F Reply Packet855038 |
| Node: The Ctrl-C Message855956 |
| Node: Console I/O857585 |
| Node: List of Supported Calls858802 |
| Node: open859164 |
| Node: close861658 |
| Node: read862040 |
| Node: write862647 |
| Node: lseek863414 |
| Node: rename864292 |
| Node: unlink865688 |
| Node: stat/fstat866627 |
| Node: gettimeofday867514 |
| Node: isatty867949 |
| Node: system868545 |
| Node: Protocol-specific Representation of Datatypes870087 |
| Node: Integral Datatypes870464 |
| Node: Pointer Values871271 |
| Node: Memory Transfer871979 |
| Node: struct stat872599 |
| Node: struct timeval874801 |
| Node: Constants875318 |
| Node: Open Flags875767 |
| Node: mode_t Values876108 |
| Node: Errno Values876600 |
| Node: Lseek Flags877411 |
| Node: Limits877596 |
| Node: File-I/O Examples877956 |
| Node: Library List Format879072 |
| Node: Memory Map Format880940 |
| Node: Agent Expressions883473 |
| Node: General Bytecode Design886406 |
| Node: Bytecode Descriptions891206 |
| Node: Using Agent Expressions901892 |
| Node: Varying Target Capabilities903425 |
| Node: Tracing on Symmetrix904598 |
| Node: Rationale910420 |
| Node: Target Descriptions917799 |
| Node: Retrieving Descriptions919838 |
| Node: Target Description Format920923 |
| Node: Predefined Target Types927470 |
| Node: Standard Target Features928669 |
| Node: ARM Features930422 |
| Node: MIPS Features931041 |
| Node: M68K Features931985 |
| Node: PowerPC Features932648 |
| Node: Copying933588 |
| Node: GNU Free Documentation License952806 |
| Node: Index975241 |
| |
| End Tag Table |