title: Setting break via cmd line on running GDB
body: <p>Is there a way to set break point via cmd line on using GDB. </p>
  
  <p>Currently on running GDB, I need to set </p>
  
  <pre><code> (gdb) b fun1
   (gdb) b fun2
   (gdb) b fun3
  </code></pre>
  
  <p>and If I close and open the GDB again, I need to set all the  break points :( .
  Is there a way to set break point for GDB in cmd line itself, like</p>
  
  <pre><code>  $&gt; gdb -break fun1 -break fun2 -break fun3 ./myprog
  </code></pre>