GNU bug report logs - #67928
30.0.50; [PATCH] Load GDB history in gud-gdb

Previous Next

Package: emacs;

Reported by: Manuel Giraud <manuel <at> ledu-giraud.fr>

Date: Wed, 20 Dec 2023 12:44:01 UTC

Severity: normal

Tags: patch

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Manuel Giraud <manuel <at> ledu-giraud.fr>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 67928 <at> debbugs.gnu.org
Subject: bug#67928: 30.0.50; [PATCH] Load GDB history in gud-gdb
Date: Wed, 20 Dec 2023 15:00:49 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>> Date: Wed, 20 Dec 2023 13:43:23 +0100
>> From:  Manuel Giraud via "Bug reports for GNU Emacs,
>>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>> 
>> 'M-x gud-gdb' does not load GDB history by default.  This patch fixes
>> this.
>
> Thanks, but why should we enhance gud-gdb?  It is based on a
> deprecated GDB feature (annotations), which the GDB developers may
> remove some day without any advance warning.  It is basically kept in
> Emacs as a fallback, for those who for some reasons cannot use gdb-mi.
> And gdb-mi already loads the history.
>
> Are there any reasons for you to use gud-gdb?

I have set 'gdb-many-windows' to 't' but sometimes I like the simpler
version provided by gud-gdb...  But yes, this reason is not sufficient.
Before closing this PR, could I modify this patch to, at least, isolate
history loading into its own function?
-- 
Manuel Giraud




This bug report was last modified 1 year and 246 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.