Hello,
Need pointer on how to create a for loop within gdb that will print something each repetition to a file so that I can view results. How would I go about doing this?
flipjoebanana
0
Junior Poster in Training
Recommended Answers
Jump to PostHow about using a shell script to start GDB in a loop? Redirect the output to a file.
for (( i = 0 ; i <= 10; i++ )) do gdb yourfile > outputfile done
All 2 Replies
Nick Evan
4,005
Industrious Poster
Team Colleague
Featured Poster
flipjoebanana
0
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.