HP gnu source-level debugger 5992-4701 Instrukcja Użytkownika Strona 287

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 369
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 286
18 Canned Sequences of Commands
In addition to breakpoint commands (see “Breakpoint command lists” (page 61)), GDB
provides the following two ways to store sequence of commands for execution as a
unit:
user-defined commands
command files
18.1 User-defined commands
A user-defined command is a sequence of GDB commands to which you assign a new
name as a command. This is done with the define command. User commands may
accept up to 10 arguments separated by whitespace. Arguments are accessed within
the user command via $arg0. . . $arg9. The following example illustrates the use
of canned sequence of commands:
define adder
print $arg0 + $arg1 + $arg2
To execute the command use:
adder 1 2 3
This defines the command adder, which prints the sum of its three arguments. Note
the arguments are text substitutions, so they may reference variables, use complex
expressions, or even perform further functions calls.
The following constructs can be used to create canned sequence of commands:
define commandname Define a command named commandname. If there is
already a command by that name, you are asked to
confirm that you want to redefine it. The definition
of the command is made up of other GDB command
lines, which are given following the define
command. The end of these commands is marked by
a line containing end.
if Takes a single argument, which is an expression to
evaluate. It is followed by a series of commands that
are executed only if the expression is true (nonzero).
The if clause can be followed by an optional else
clause. You can add a list of commands to the else
clause which get executed only if the expression is
false.
while
The syntax is similar to if: the command takes a
single argument, which is an expression to evaluate,
and must be followed by the commands to execute,
one per line, terminated by an end. The commands
18.1 User-defined commands 287
Przeglądanie stron 286
1 2 ... 282 283 284 285 286 287 288 289 290 291 292 ... 368 369

Komentarze do niniejszej Instrukcji

Brak uwag

Philips AZ105B/12 manuales

Manuales del propietario y guías del usuario para Reproductores de cd Philips AZ105B/12.
Ofrecemos 1 manuales en pdf Philips AZ105B/12 para descargar gratis por tipos de documentos: Manual de usuario






Más productos y manuales para Reproductores de cd Philips

Modelos Tipo de documento
AZ1226/00C Manual de usuario   Philips CD Soundmachine AZ1226/00C Uživatelská příručka [sk] , 7 paginas
AX2500/02 Manual de usuario      Philips Leitor de CD portátil AX2500/02 Manual do proprietário, 2 paginas
DCM230/55 Manual de usuario   Philips docking entertainment system DCM230/55 User manual, 28 paginas
FWC170/22 Manual de usuario   Philips Miniwieża Hi-Fi FWC170/22 Instrukcja obsługi, 28 paginas
AZ1021/12 Manual de usuario   Philips CD Soundmachine AZ1021/12 User manual, 6 paginas
EXP2461/00 Manual de usuario     Philips Leitor de MP3-CD Portátil EXP2461/00 Manual do proprietário, 1 paginas
LX7500R/01 Manual de usuario   Philips Zestaw kina domowego z nagrywarką DVD LX7500R/01 Instrukcja obsługi, 70 paginas
WACS7500/12 Manual de usuario   Philips Streamium Bezdrátová hudební základna a stanice WACS7500/12 Stručný návod k rychlému použití, 21 paginas
WACS7000/12 Manual de usuario   Philips Streamium Wireless Music Center & Station WACS7000/12 Bedienungsanleitung, 74 paginas
AZ1310/00C Manual de usuario      Philips CD Soundmachine AZ1310/00C Uživatelská příručka, 8 paginas
AZ102B/79 Manual de usuario   Philips CD Soundmachine AZ102B/79 User manual, 14 paginas
AJ3916/12 Manual de usuario   Philips Radio réveil avec tuner numérique AJ3916/12 Mode d’emploi, 12 paginas
AZT3202/00C Manual de usuario      Philips Hordozható CD-lejátszó AZT3202/00C Felhasználói kézikönyv, 10 paginas
MCM9/22 Manual de usuario   Philips Microchaîne hi-fi MCM11/22 Mode d’emploi, 25 paginas
AZ1037/12 Manual de usuario    Philips CD Soundmachine AZ1037/12 Používateľská príručka, 25 paginas
AX5303/00C Manual de usuario   Philips Baladeur CD AX5303/00C Mode d’emploi, 10 paginas
AZ3300/00C Manual de usuario    Philips Bumbox CD AZ3300/00C Instrukcja obsługi, 7 paginas
AX2300/00Z Manual de usuario   Philips Baladeur CD AX2300/00Z Mode d’emploi, 4 paginas
AZ1038/12 Manual de usuario    Philips CD Soundmachine AZ1038/12 Používateľská príručka, 22 paginas
DCM2068/12 Manual de usuario   Philips Sistema micro de música DCM2068/12 Manual do proprietário, 19 paginas