redirecting output

Ben Elliston bje@redhat.com
Wed Nov 27 13:25:00 GMT 2002


>>>>> "Per" == Per Fransson <fransson@cs.lth.se> writes:

  Per> b <point early in the program>
  Per> run
  Per> si
  Per> si
  Per> si
  Per> .
  Per> .
  Per> 'bout a million si's
  Per> .
  Per> .
  Per> .
  Per> si
  Per> si
  Per> q

BTW, it is not necessary to print about a million si'.s You can run
"si" inside a while loop.  From memory, the while loop will terminate
when the program terminates.

Ben




More information about the Gdb mailing list