Subject: bug#59605: 29.0.50; gdb no more creates Gud menu entry for source file window

From: Eli Zaretskii <[email-masked]>
Date: Sat, 26 Nov 2022 19:02:42 +0200

> Date: Sat, 26 Nov 2022 11:28:28 +0100
> From: martin rudalics <[email-masked]>
> 
> With emacs -Q visit an arbitrary Emacs C source file and do your
> equivalent of M-: (gdb "gdb -i=mi emacs").  Now selecting the window
> showing the source file buffer no more shows a Gud menu entry.  This has
> the consequence that mouse clicking in a fringe no more sets/unsets a
> breakpoint in that buffer.
> 
> The commit responsible for that behavior is
> 
> commit 8bb5c1bfec0929f2ba419e1c503f5acc01c336c2
> Author: Lars Ingebrigtsen <[email-masked]>
> Date:   Thu Sep 1 13:39:14 2022 +0200
> 
>      Make easy-mmode-defmap obsolete and adjust only caller
> 
>      * lisp/emacs-lisp/easy-mmode.el (easy-mmode-defmap): Make obsolete.
>      * lisp/progmodes/gud.el (gud-menu-map): Use easy-menu-define.

Stefan, can you help here?  It looks like gud-minor-mode is not a proper
minor mode, so the new code isn't working because gud-minor-mode-map is not
in effect or something?