This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: redirecting output


>>>>> "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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]