emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extend gdb to filter registers


From: Yuan Fu
Subject: Re: Extend gdb to filter registers
Date: Sat, 18 Jan 2020 10:41:56 -0500

> You didn't say anything about the 6-window layout in your recipe.  Was
> the recipe incomplete?  By default, "M-x gdb" uses just 2 windows.

Sorry, yes you need either set gdb-show-main or gdb-many-windows to t, so gdb 
displays the source file. I think gdb by default only shows the comint buffer, 
you need to set gdb-show-main to get the 2-window layout.

Recipe:
- emacs -q
- (setq gdb-many-windows t) / or (setq gdb-show-main t)
- maximize frame
- M-x gdb
- make room for source window. Make the source window span the whole width of 
Emacs frame works for both layout.
- step until gdb steps into a function in another file

Yuan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]