| 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.6. |
| |
| 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 Free Software Foundation's Back-Cover Text is: "You have |
| freedom to copy and modify this GNU Manual, like GNU software. Copies |
| published by the Free Software Foundation raise funds for GNU |
| development." |
| |
| |
| Indirect: |
| gdb.info-1: 1139 |
| gdb.info-2: 300573 |
| gdb.info-3: 588415 |
| gdb.info-4: 882903 |
| |
| Tag Table: |
| (Indirect) |
| Node: Top1139 |
| Node: Summary3565 |
| Node: Free Software5201 |
| Node: Contributors10769 |
| Node: Sample Session18753 |
| Node: Invocation25589 |
| Node: Invoking GDB26133 |
| Node: File Options28446 |
| Node: Mode Options31206 |
| Node: Startup37618 |
| Ref: Startup-Footnote-140073 |
| Node: Quitting GDB40182 |
| Node: Shell Commands41079 |
| Node: Logging output41921 |
| Node: Commands42767 |
| Node: Command Syntax43405 |
| Node: Completion45571 |
| Node: Help49906 |
| Node: Running55136 |
| Node: Compilation56318 |
| Node: Starting58957 |
| Node: Arguments63846 |
| Node: Environment65116 |
| Node: Working Directory68384 |
| Node: Input/Output69492 |
| Node: Attach71463 |
| Node: Kill Process73899 |
| Node: Threads74865 |
| Node: Processes81009 |
| Node: Checkpoint/Restart86060 |
| Ref: Checkpoint/Restart-Footnote-190593 |
| Node: Stopping90628 |
| Node: Breakpoints91775 |
| Node: Set Breaks95193 |
| Node: Set Watchpoints106912 |
| Node: Set Catchpoints114750 |
| Node: Delete Breaks118228 |
| Node: Disabling119945 |
| Node: Conditions122712 |
| Node: Break Commands127660 |
| Node: Breakpoint Menus130545 |
| Node: Error in Breakpoints132277 |
| Node: Breakpoint related warnings133855 |
| Node: Continuing and Stepping136182 |
| Node: Signals145522 |
| Node: Thread Stops149794 |
| Node: Stack154399 |
| Node: Frames155874 |
| Node: Backtrace158626 |
| Ref: Backtrace-Footnote-1163516 |
| Node: Selection163704 |
| Node: Frame Info166568 |
| Node: Source168899 |
| Node: List169903 |
| Node: Edit173432 |
| Ref: Edit-Footnote-1175163 |
| Node: Search175398 |
| Node: Source Path176206 |
| Ref: set substitute-path181960 |
| Node: Machine Code184181 |
| Node: Data187591 |
| Node: Expressions189972 |
| Node: Variables191940 |
| Node: Arrays195926 |
| Node: Output Formats198455 |
| Ref: Output Formats-Footnote-1200677 |
| Node: Memory200834 |
| Node: Auto Display205870 |
| Node: Print Settings209642 |
| Node: Value History221428 |
| Node: Convenience Vars223844 |
| Node: Registers227368 |
| Ref: Registers-Footnote-1232043 |
| Node: Floating Point Hardware232438 |
| Node: Vector Unit232968 |
| Node: OS Information233353 |
| Node: Memory Region Attributes235351 |
| Node: Dump/Restore Files239167 |
| Node: Core File Generation241470 |
| Node: Character Sets242702 |
| Node: Caching Remote Data249534 |
| Node: Macros250672 |
| Node: Tracepoints257623 |
| Node: Set Tracepoints259465 |
| Node: Create and Delete Tracepoints260664 |
| Node: Enable and Disable Tracepoints262308 |
| Node: Tracepoint Passcounts263007 |
| Node: Tracepoint Actions264431 |
| Node: Listing Tracepoints267431 |
| Node: Starting and Stopping Trace Experiment268552 |
| Node: Analyze Collected Data269730 |
| Node: tfind271035 |
| Node: tdump275428 |
| Node: save-tracepoints277087 |
| Node: Tracepoint Variables277506 |
| Node: Overlays278521 |
| Node: How Overlays Work279241 |
| Ref: A code overlay281801 |
| Node: Overlay Commands285239 |
| Node: Automatic Overlay Debugging289429 |
| Node: Overlay Sample Program291570 |
| Node: Languages293330 |
| Node: Setting294493 |
| Node: Filenames296195 |
| Node: Manually296981 |
| Node: Automatically298190 |
| Node: Show299251 |
| Node: Checks300573 |
| Node: Type Checking301963 |
| Node: Range Checking304696 |
| Node: Supported languages307097 |
| Node: C308270 |
| Node: C Operators309501 |
| Node: C Constants313882 |
| Node: C plus plus expressions316369 |
| Node: C Defaults319912 |
| Node: C Checks320595 |
| Node: Debugging C321318 |
| Node: Debugging C plus plus321838 |
| Node: Objective-C324924 |
| Node: Method Names in Commands325385 |
| Node: The Print Command with Objective-C327100 |
| Node: Fortran327751 |
| Node: Fortran Operators328476 |
| Node: Fortran Defaults329066 |
| Node: Special Fortran commands329451 |
| Node: Pascal329951 |
| Node: Modula-2330466 |
| Node: M2 Operators331441 |
| Node: Built-In Func/Proc334439 |
| Node: M2 Constants337217 |
| Node: M2 Types338818 |
| Node: M2 Defaults342091 |
| Node: Deviations342696 |
| Node: M2 Checks343797 |
| Node: M2 Scope344615 |
| Node: GDB/M2345639 |
| Node: Ada346551 |
| Node: Ada Mode Intro347350 |
| Node: Omissions from Ada349222 |
| Node: Additions to Ada353183 |
| Node: Stopping Before Main Program357081 |
| Node: Ada Glitches357613 |
| Node: Unsupported languages359591 |
| Node: Symbols360281 |
| Node: Altering373642 |
| Node: Assignment374611 |
| Node: Jumping377716 |
| Node: Signaling379873 |
| Node: Returning381004 |
| Node: Calling382206 |
| Node: Patching384099 |
| Node: GDB Files385176 |
| Node: Files385717 |
| Node: Separate Debug Files403458 |
| Node: Symbol Errors411800 |
| Node: Targets415403 |
| Node: Active Targets416932 |
| Node: Target Commands418511 |
| Node: Byte Order423751 |
| Node: Remote424743 |
| Node: Remote Debugging425853 |
| Node: Connecting426243 |
| Node: Server431111 |
| Ref: Server-Footnote-1435474 |
| Node: Remote configuration435594 |
| Ref: set remotebreak436618 |
| Ref: set remote hardware-watchpoint-limit438343 |
| Ref: set remote hardware-breakpoint-limit438343 |
| Node: remote stub440257 |
| Node: Stub Contents443154 |
| Node: Bootstrapping445265 |
| Node: Debug Session449074 |
| Node: Configurations450634 |
| Node: Native451403 |
| Node: HP-UX451997 |
| Node: BSD libkvm Interface452286 |
| Node: SVR4 Process Information453357 |
| Node: DJGPP Native456787 |
| Node: Cygwin Native463367 |
| Node: Non-debug DLL symbols466765 |
| Node: Hurd Native471315 |
| Node: Neutrino476578 |
| Node: Embedded OS476953 |
| Node: VxWorks477429 |
| Node: VxWorks Connection479646 |
| Node: VxWorks Download480580 |
| Node: VxWorks Attach482315 |
| Node: Embedded Processors482713 |
| Node: ARM484090 |
| Node: H8/300487044 |
| Node: Renesas Boards488543 |
| Node: Renesas ICE492967 |
| Node: Renesas Special494694 |
| Node: H8/500495144 |
| Node: M32R/D495519 |
| Node: M68K497224 |
| Node: MIPS Embedded497858 |
| Node: OpenRISC 1000502803 |
| Node: PowerPC505657 |
| Node: PA506321 |
| Node: SH506601 |
| Node: Sparclet507062 |
| Node: Sparclet File508534 |
| Node: Sparclet Connection509416 |
| Node: Sparclet Download509896 |
| Node: Sparclet Execution510947 |
| Node: Sparclite511540 |
| Node: ST2000511916 |
| Node: Z8000513461 |
| Node: AVR514842 |
| Node: CRIS515205 |
| Node: Super-H516183 |
| Node: WinCE516439 |
| Node: Architectures517347 |
| Node: i386517695 |
| Node: A29K518379 |
| Node: Alpha519218 |
| Node: MIPS519351 |
| Node: HPPA522663 |
| Node: Controlling GDB523169 |
| Node: Prompt523930 |
| Node: Editing524709 |
| Node: Command History525652 |
| Node: Screen Size529032 |
| Node: Numbers530737 |
| Node: ABI532714 |
| Node: Messages/Warnings535643 |
| Node: Debugging Output538136 |
| Node: Sequences542343 |
| Node: Define542945 |
| Node: Hooks546296 |
| Node: Command Files548486 |
| Node: Output552339 |
| Node: Interpreters554753 |
| Node: TUI556844 |
| Node: TUI Overview557538 |
| Node: TUI Keys560623 |
| Node: TUI Single Key Mode563124 |
| Node: TUI Commands563967 |
| Node: TUI Configuration565904 |
| Node: Emacs567382 |
| Node: GDB/MI572490 |
| Node: GDB/MI Command Syntax574281 |
| Node: GDB/MI Input Syntax574494 |
| Node: GDB/MI Output Syntax576048 |
| Node: GDB/MI Compatibility with CLI579466 |
| Node: GDB/MI Development and Front Ends580203 |
| Node: GDB/MI Output Records582005 |
| Node: GDB/MI Result Records582287 |
| Node: GDB/MI Stream Records583014 |
| Node: GDB/MI Out-of-band Records584285 |
| Node: GDB/MI Simple Examples585722 |
| Node: GDB/MI Command Description Format587535 |
| Node: GDB/MI Breakpoint Commands588415 |
| Node: GDB/MI Program Context604784 |
| Node: GDB/MI Thread Commands609266 |
| Node: GDB/MI Program Execution611342 |
| Node: GDB/MI Stack Manipulation619951 |
| Node: GDB/MI Variable Objects629585 |
| Ref: -var-list-children635349 |
| Node: GDB/MI Data Manipulation638582 |
| Node: GDB/MI Tracepoint Commands652948 |
| Node: GDB/MI Symbol Query653192 |
| Node: GDB/MI File Commands656480 |
| Node: GDB/MI Target Manipulation660586 |
| Node: GDB/MI Miscellaneous Commands667765 |
| Ref: -interpreter-exec669897 |
| Node: Annotations671119 |
| Node: Annotations Overview671959 |
| Node: Prompting674417 |
| Node: Errors675941 |
| Node: Invalidation676837 |
| Node: Annotations for Running677314 |
| Node: Source Annotations678834 |
| Node: GDB Bugs679759 |
| Node: Bug Criteria680485 |
| Node: Bug Reporting681362 |
| Node: Command Line Editing688984 |
| Node: Introduction and Notation689652 |
| Node: Readline Interaction691272 |
| Node: Readline Bare Essentials692461 |
| Node: Readline Movement Commands694248 |
| Node: Readline Killing Commands695211 |
| Node: Readline Arguments697129 |
| Node: Searching698171 |
| Node: Readline Init File700320 |
| Node: Readline Init File Syntax701383 |
| Node: Conditional Init Constructs713315 |
| Node: Sample Init File715846 |
| Node: Bindable Readline Commands718961 |
| Node: Commands For Moving720016 |
| Node: Commands For History720875 |
| Node: Commands For Text723997 |
| Node: Commands For Killing726721 |
| Node: Numeric Arguments728861 |
| Node: Commands For Completion729998 |
| Node: Keyboard Macros731540 |
| Node: Miscellaneous Commands732109 |
| Node: Readline vi Mode735468 |
| Node: Using History Interactively736385 |
| Node: History Interaction736890 |
| Node: Event Designators738312 |
| Node: Word Designators739245 |
| Node: Modifiers740882 |
| Node: Formatting Documentation742107 |
| Ref: Formatting Documentation-Footnote-1745427 |
| Node: Installing GDB745491 |
| Node: Requirements746003 |
| Node: Running Configure747084 |
| Node: Separate Objdir750623 |
| Node: Config Names753507 |
| Node: Configure Options754952 |
| Node: Maintenance Commands757289 |
| Ref: maint info breakpoints757948 |
| Node: Remote Protocol767456 |
| Node: Overview767863 |
| Ref: Binary Data770049 |
| Node: Packets771855 |
| Ref: read registers packet775461 |
| Ref: cycle step packet776614 |
| Ref: write register packet778490 |
| Ref: step with signal packet779368 |
| Ref: X packet783039 |
| Ref: insert breakpoint or watchpoint packet783329 |
| Node: Stop Reply Packets785775 |
| Node: General Query Packets788834 |
| Ref: qSupported795820 |
| Ref: qXfer read803324 |
| Ref: qXfer auxiliary vector read803822 |
| Ref: qXfer memory map read804167 |
| Ref: General Query Packets-Footnote-1806969 |
| Node: Register Packet Format807296 |
| Node: Tracepoint Packets808214 |
| Node: Interrupts814303 |
| Node: Examples815766 |
| Node: File-I/O remote protocol extension816379 |
| Node: File-I/O Overview816837 |
| Node: Protocol basics818984 |
| Node: The F request packet821214 |
| Node: The F reply packet822113 |
| Node: The Ctrl-C message823029 |
| Node: Console I/O824656 |
| Node: List of supported calls825872 |
| Node: open826232 |
| Node: close828726 |
| Node: read829108 |
| Node: write829715 |
| Node: lseek830482 |
| Node: rename831360 |
| Node: unlink832756 |
| Node: stat/fstat833695 |
| Node: gettimeofday834582 |
| Node: isatty835017 |
| Node: system835613 |
| Node: Protocol specific representation of datatypes837155 |
| Node: Integral datatypes837530 |
| Node: Pointer values838337 |
| Node: Memory transfer839045 |
| Node: struct stat839665 |
| Node: struct timeval841867 |
| Node: Constants842384 |
| Node: Open flags842831 |
| Node: mode_t values843172 |
| Node: Errno values843664 |
| Node: Lseek flags844475 |
| Node: Limits844660 |
| Node: File-I/O Examples845020 |
| Node: Memory map format846134 |
| Node: Agent Expressions848589 |
| Node: General Bytecode Design851510 |
| Node: Bytecode Descriptions856310 |
| Node: Using Agent Expressions866996 |
| Node: Varying Target Capabilities868529 |
| Node: Tracing on Symmetrix869702 |
| Node: Rationale875524 |
| Node: Copying882903 |
| Node: GNU Free Documentation License902119 |
| Node: Index924554 |
| |
| End Tag Table |