27.8. Information on Breakpoints ......................................................................................... 282
27.9. Invalidation Notices ..................................................................................................... 283
27.10. Running the Program ................................................................................................. 283
27.11. Displaying Source...................................................................................................... 284
27.12. Annotations We Might Want in the Future ................................................................ 285
28. Reporting Bugs in gdb.............................................................................................................. 287
28.1. Have you found a bug? ................................................................................................ 287
28.2. How to report bugs....................................................................................................... 287
29. Command Line Editing ............................................................................................................ 291
29.1. Introduction to Line Editing......................................................................................... 291
29.2. Readline Interaction..................................................................................................... 291
29.2.1. Readline Bare Essentials............................................................................... 291
29.2.2. Readline Movement Commands................................................................... 292
29.2.3. Readline Killing Commands......................................................................... 292
29.2.4. Readline Arguments...................................................................................... 293
29.2.5. Searching for Commands in the History....................................................... 293
29.3. Readline Init File.......................................................................................................... 294
29.3.1. Readline Init File Syntax .............................................................................. 294
29.3.2. Conditional Init Constructs........................................................................... 298
29.3.3. Sample Init File............................................................................................. 299
29.4. Bindable Readline Commands..................................................................................... 301
29.4.1. Commands For Moving ................................................................................ 301
29.4.2. Commands For Manipulating The History................................................... 302
29.4.3. Commands For Changing Text ..................................................................... 303
29.4.4. Killing And Yanking..................................................................................... 304
29.4.5. Specifying Numeric Arguments ................................................................... 305
29.4.6. Letting Readline Type For You..................................................................... 305
29.4.7. Keyboard Macros.......................................................................................... 306
29.4.8. Some Miscellaneous Commands .................................................................. 306
29.5. Readline vi Mode......................................................................................................... 308
30. Using History Interactively ...................................................................................................... 309
30.1. History Expansion........................................................................................................ 309
30.1.1. Event Designators ......................................................................................... 309
30.1.2. Word Designators.......................................................................................... 310
30.1.3. Modifiers....................................................................................................... 311
A. Formatting Documentation....................................................................................................... 313
B. Installing gdb .............................................................................................................................. 315
B.1. Compiling gdb in another directory .............................................................................. 316
B.2. Specifying names for hosts and targets ......................................................................... 317
B.3.
configure
options....................................................................................................... 318
C. Maintenance Commands........................................................................................................... 319
D. gdb Remote Serial Protocol....................................................................................................... 321
D.1. Overview....................................................................................................................... 321
D.2. Packets .......................................................................................................................... 322
D.3. Stop Reply Packets........................................................................................................ 330
D.4. General Query Packets.................................................................................................. 331
D.5. Register Packet Format ................................................................................................. 334
D.6. Examples....................................................................................................................... 334
D.7. File-I/O remote protocol extension ............................................................................... 335
D.7.1. File-I/O Overview .......................................................................................... 335
D.7.2. Protocol basics ............................................................................................... 335
D.7.3. The
F
request packet ....................................................................................... 336
D.7.4. The
F
reply packet........................................................................................... 336
Содержание ENTERPRISE LINUX 4 - DEVELOPER TOOLS GUIDE
Страница 1: ...Red Hat Enterprise Linux 4 Debugging with gdb ...
Страница 12: ...2 Chapter 1 Debugging with gdb ...
Страница 28: ...18 Chapter 4 Getting In and Out of gdb ...
Страница 34: ...24 Chapter 5 gdb Commands ...
Страница 44: ...34 Chapter 6 Running Programs Under gdb ...
Страница 68: ...58 Chapter 8 Examining the Stack ...
Страница 98: ...88 Chapter 10 Examining Data ...
Страница 112: ...102 Chapter 12 Tracepoints ...
Страница 118: ...108 Chapter 13 Debugging Programs That Use Overlays ...
Страница 138: ...128 Chapter 14 Using gdb with Different Languages ...
Страница 144: ...134 Chapter 15 Examining the Symbol Table ...
Страница 170: ...160 Chapter 19 Debugging remote programs ...
Страница 198: ...188 Chapter 21 Controlling gdb ...
Страница 204: ...194 Chapter 22 Canned Sequences of Commands ...
Страница 206: ...196 Chapter 23 Command Interpreters ...
Страница 216: ...206 Chapter 25 Using gdb under gnu Emacs ...
Страница 296: ...286 Chapter 27 gdb Annotations ...
Страница 300: ...290 Chapter 28 Reporting Bugs in gdb ...
Страница 322: ...312 Chapter 30 Using History Interactively ...
Страница 362: ...352 Appendix D gdb Remote Serial Protocol ...
Страница 380: ...370 Appendix F GNU GENERAL PUBLIC LICENSE ...
Страница 386: ...376 Appendix G GNU Free Documentation License ...
Страница 410: ......