title: How to loop in a GDB script till program is finished?
body: <pre><code>define traverse
      while(CONDITION)
          if $start == 0
              set $start = 1
              print_node
              print_rss_item
          else
              continue
              print_node
              print_rss_item
          end
      end
  end
  </code></pre>
  
  <p>What condition do I need to stop the loop if the program is finished?</p>