[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17675: 24.4.50; *gud* buffer keeps on getting buried
From: |
Michael Welsh Duggan |
Subject: |
bug#17675: 24.4.50; *gud* buffer keeps on getting buried |
Date: |
Wed, 04 Jun 2014 20:48:26 -0400 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.4.50 (gnu/linux) |
martin rudalics <rudalics@gmx.at> writes:
>> When gud-gdb is started, it uses `switch-to-buffer', which places
>> *gud-foo* in the window previously occupied by foo.c.
>
> Then this is the culprit. It doesn't make sense to keep the *scratch*
> window around when debugging foo.c because sooner or later gdb will have
> to display foo.c again. Instead of `switch-to-buffer' we should use
> `display-buffer' here. Where is this `switch-to-buffer' call issued?
In `gud-common-init'.
--
Michael Welsh Duggan
(md5i@md5i.com)