HP gnu source-level debugger 5992-4701 Manuale Utente Pagina 291

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 369
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 290
not entered in the value history either. See
“Expressions” (page 83).
output/fmt expression Print the value of expression in format fmt. You
can use the same formats as for print. See
“Output formats” (page 86).
printf string, expressions... Print the values of the expressions under the
control of string. The expressions are
separated by commas and may be either numbers
or pointers. Their values are printed as specified
by string, exactly as if your program were to
execute the C subroutine
printf (string, expressions...);
For example, you can print two values in hex like
this:
printf "foo, bar-foo = 0x%x, 0x%x\n",
foo, bar-foo
The only backslash-escape sequences that you
can use in the format string are the simple ones
that consist of backslash followed by a letter.
18.4 Commands for controlled output 291
Vedere la pagina 290
1 2 ... 286 287 288 289 290 291 292 293 294 295 296 ... 368 369

Commenti su questo manuale

Nessun commento