14.4.1. C and C
++
.................................................................................................... 113
14.4.2. Objective-C ................................................................................................... 119
14.4.3. Modula-2....................................................................................................... 121
14.5. Unsupported languages................................................................................................ 126
15. Examining the Symbol Table ................................................................................................... 129
16. Altering Execution .................................................................................................................... 135
16.1. Assignment to variables............................................................................................... 135
16.2. Continuing at a different address ................................................................................. 136
16.3. Giving your program a signal ...................................................................................... 137
16.4. Returning from a function............................................................................................ 137
16.5. Calling program functions ........................................................................................... 137
16.6. Patching programs ....................................................................................................... 138
17. gdb Files ..................................................................................................................................... 139
17.1. Commands to specify files........................................................................................... 139
17.2. Debugging Information in Separate Files .................................................................... 145
17.3. Errors reading symbol files .......................................................................................... 147
18. Specifying a Debugging Target ................................................................................................ 149
18.1. Active targets ............................................................................................................... 149
18.2. Commands for managing targets ................................................................................. 149
18.3. Choosing target byte order........................................................................................... 151
18.4. Remote debugging ....................................................................................................... 151
18.5. Kernel Object Display.................................................................................................. 151
19. Debugging remote programs.................................................................................................... 153
19.1. Connecting to a remote target ...................................................................................... 153
19.2. Using the
gdbserver
program .................................................................................... 154
19.3. Using the
gdbserve.nlm
program.............................................................................. 155
19.4. Remote configuration................................................................................................... 155
19.5. Implementing a remote stub......................................................................................... 156
19.5.1. What the stub can do for you ........................................................................ 157
19.5.2. What you must do for the stub...................................................................... 157
19.5.3. Putting it all together..................................................................................... 158
20. Configuration-Specific Information ........................................................................................ 161
20.1. Native........................................................................................................................... 161
20.1.1. HP-UX .......................................................................................................... 161
20.1.2. SVR4 process information............................................................................ 161
20.1.3. Features for Debugging djgpp Programs ...................................................... 161
20.1.4. Features for Debugging MS Windows PE executables................................. 163
20.2. Embedded Operating Systems ..................................................................................... 166
20.2.1. Using gdb with VxWorks.............................................................................. 166
20.3. Embedded Processors .................................................................................................. 168
20.3.1. ARM ............................................................................................................. 168
20.3.2. Hitachi H8/300.............................................................................................. 168
20.3.3. H8/500........................................................................................................... 171
20.3.4. Mitsubishi M32R/D ...................................................................................... 171
20.3.5. M68k............................................................................................................. 171
20.3.6. MIPS Embedded ........................................................................................... 172
20.3.7. OpenRISC 1000............................................................................................ 173
20.3.8. PowerPC ....................................................................................................... 175
20.3.9. HP PA Embedded.......................................................................................... 176
20.3.10. Hitachi SH................................................................................................... 176
20.3.11. Tsqware Sparclet......................................................................................... 176
20.3.12. Fujitsu Sparclite .......................................................................................... 178
20.3.13. Tandem ST2000 .......................................................................................... 178
Содержание 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: ......