HP gnu source-level debugger 5992-4701 Manuel d'utilisateur Page 77

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 369
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 76
7 Examining Source Files
GDB can print parts of the source code of your program, since the debugging
information recorded in the program tells GDB what source files were used to build
it. When your program stops, GDB spontaneously prints the line where it stopped.
Likewise, when you select a stack frame (see “Selecting a frame” (page 73)), GDB prints
the line where execution in that frame has stopped. You can print other portions of
source files by explicit command.
You can invoke GDB from its GNU Emacs interface to view the source code see
Chapter 19 (page 293).
7.1 Printing source lines
To print lines from a source file, use the list command (abbreviated l). By default,
ten lines are printed. There are several ways to specify what part of the file you want
to print.
The following forms of the list command are used:
list linenum Prints lines centered around line number linenum in the current
source file.
list function Prints lines centered around the beginning of function function.
list Prints more lines. The list command prints lines following the
lines printed by a previously executed list command. If the
command prior to executing a list just printed the stack frame,
then the list command only prints the lines around that line.
list-
Prints lines just before the lines last printed.
By default, GDB prints ten source lines with any of these forms of the list command.
The number of lines printed by GDB can be set by the set listsize command. The
following two forms are supported:
set listsize count Makes the list command display count source lines
(unless the list argument explicitly specifies some other
number).
show listsize Displays the number of lines that list prints.
Repeating a list command with RET discards the argument, so it is equivalent to
typing just list. This is more useful than listing the same lines again. An exception
is made for an argument of '-'; that argument is preserved in repetition so that each
repetition moves up in the source file.
In general, the list command expects you to supply zero, one or two linespecs.
Linespecs specify source lines. There are several ways of writing them, but the most
common way is to specify some source line.
7.1 Printing source lines 77
Vue de la page 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 ... 368 369

Commentaires sur ces manuels

Pas de commentaire

Samsung NQ50C7935ES/SA manuály

Uživatelské manuály a uživatelské příručky pro Pece Samsung NQ50C7935ES/SA.
Poskytujeme 1 manuály pdf Samsung NQ50C7935ES/SA ke stažení zdarma podle typů dokumentů: Uživatelský manuál






Další produkty a příručky pro Pece Samsung

Modely Typ Dokumentu
C106 Uživatelský manuál   Samsung C106 Manual de utilizare, 36 stránky
GW76NMT Uživatelský manuál   Samsung GW76NMT Instrukcja obsługi, 28 stránky
BF3Q4T098 Uživatelský manuál   Samsung BF3Q4T098 User manual [en] , 44 stránky
G2712N Uživatelský manuál   Samsung G2712N Instrukcja obsługi [es] , 16 stránky
NV660/HC Uživatelský manuál   Samsung NV660/HC User manual, 52 stránky
BF665CCST Uživatelský manuál   Samsung BF665CCST User manual [pt] , 48 stránky
CE2719N Uživatelský manuál   Samsung CE2719N Používateľská príručka, 24 stránky
GS25 Uživatelský manuál   Samsung GS25 User manual, 26 stránky
BQ1S4T003 Uživatelský manuál   Samsung BQ1S4T003 Používateľská príručka, 24 stránky
BF3N3T066 Uživatelský manuál   Samsung BF3N3T066 User manual, 12 stránky
BQ685 Uživatelský manuál   Samsung BQ685 دليل المستخدم, 48 stránky
NX58F5700WS Uživatelský manuál     Samsung NX58F5700WS User manual, 36 stránky
CE117AE-X Uživatelský manuál   Samsung CE117AE-X Používateľská príručka, 36 stránky
BF64FCB Uživatelský manuál   Samsung BF64FCB User manual, 40 stránky
BF655 Uživatelský manuál   Samsung BF655 دليل المستخدم, 24 stránky
GW76N Uživatelský manuál   Samsung GW76N Používateľská príručka [sk] , 24 stránky
BT62FDST Uživatelský manuál   Samsung BT62FDST User manual, 52 stránky
C108STF Uživatelský manuál   Samsung C108STF Používateľská príručka, 36 stránky
BQ1D4T081 Uživatelský manuál   Samsung BQ1D4T081 User manual, 24 stránky
BF64CBST Uživatelský manuál    Samsung BF64CBST User manual, 80 stránky