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 13:36:34 -0500

> gdb-mi.el has gdb-display-buffer, which makes the window dedicated.
> It also has some code in gdb-display-source-buffer.  Neither of those
> uses display-buffer, AFAICT.  So where do the split thresholds come
> into play in the scenario mentioned?

The problem is in gud.el: it uses display-buffer instead of 
gdb-display-source-buffer. When you step, `gud-display-line` runs and calls 
display-buffer. My patch makes it use `gdb-display-source-buffer`.

Yuan


reply via email to

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