I am using emacs and gdb together. Everytime I issue gdb-many-windows I get the following buffer open up.
| GUD buffer (I/O of GDB) | Locals/Registers buffer |
| Primary Source buffer | I/O buffer for debugged pgm |
| Stack buffer | Breakpoints/Threads buffer |
This is great. But because I need to dig through the code and since I have multiple monitors. I was hoping to keep the Primary source buffer (source code debugged) to be in a separate window. And the rest of the other four buffers show up in a different window together.
For example, in window 1, I will have
| Primary Source buffer |
in window 2 , I will have
| GUD buffer (I/O of GDB) | Locals/Registers buffer |
| | I/O buffer for debugged pgm |
| | Breakpoints/Threads buffer |
| | Stack buffer |
How Can I do that? I also would like this to be default, everytime I open up gdb-many-windows. Thanks