title: How to run gdb-many-windows in new frame?
body: <p>I know I can open a new frame and <kbd>M+x</kbd><code>gdb</code>. But just doing <kbd>M+x</kbd><code>gdb</code> and having <code>gdb</code> executed in a new frame would be much better.</p>
  
  <p><code>gdb-many-windows</code> destroy original windows layout when I run it and it can not restore the layout when I kill it. So I want to run it in a new frame and close that frame.</p>
  
  <p><strong>Update:</strong> I use <code>(setq gdb-many-windows t)</code>. If I invoke <code>gdb</code>, it uses the <code>gdb-many-windows</code> layout automatically.</p>