title: How to see which line of code "next" would execute in gdb?
body: <p>While debugging some code in gdb, I want to see which line will be executed if I say <code>next</code> or <code>step</code>. </p>
  
  <ul>
  <li>Of course I can say <code>l</code>, but if I say <code>l</code> a couple times (and don't remember how many times), then <code>l</code> does not print the line that will be executed. </li>
  <li>I can also scroll back to the last time gdb stopped and see which line it was at, but that sometimes involve digging through a bunch of output. </li>
  </ul>
  
  <p>I am wondering if I am missing a simple command in gdb which shows me the current line the debugger is stopped at? </p>