4
votes

I use GDB in Emacs 23.2 and while I mostly like it there is one thing that I find very annoying. When stepping through code if I trace into a function that is located in a source module that is already in an Emacs buffer and happens to be visible in a different frame then that frame is raised and stepping continues there. Is there a way to have gud just make that buffer visible in the current gdb frame and keep it as the active frame?

1
No idea whether or not you still have this problem, but the accepted answer to this question might be of interest.itsjeyd

1 Answers

2
votes

I've had the exact same problem. The only way I've dealt with it to date is to close out other frames, so everything appears in the GDB frame, but that's an awful workaround. I've done some pretty serious searching through the docs and stackoverflow and found these customizations...

  1. pop-up-windows
  2. sticky windows
  3. dedicated windows

Hope they help.