[Top][All Lists]

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

bug#25113: 25.1.90; Stale menu items after switching to a different majo

From: Dmitry Gutov
Subject: bug#25113: 25.1.90; Stale menu items after switching to a different major mode (or visiting a buffer)
Date: Mon, 5 Dec 2016 22:26:40 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Thunderbird/50.0

On 05.12.2016 18:27, Eli Zaretskii wrote:

Yes, I think so: that function is implemented in C.  Set a breakpoint
in Fx_menu_bar_open_internal.

I've done that now, and this breakpoint hasn't been hit once during my interactions with the menu, before and after switching to ruby-mode, or toggling menu-bar-mode off and on afterwards. Here's the full output:

Reading symbols from emacs...done.
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
TERM = xterm-256color
Breakpoint 1 at 0x4ef3a0: file emacs.c, line 353.
Temporary breakpoint 2 at 0x508810: init_sys_modes. (3 locations)
(gdb) b Fx_menu_bar_open_internal
Breakpoint 3 at 0x46cb50: file xmenu.c, line 354.
(gdb) run -Q
Starting program: /home/dgutov/vc/emacs/src/emacs -Q
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe59e7700 (LWP 16065)]
[New Thread 0x7fffe4975700 (LWP 16066)]
[New Thread 0x7fffdfbc0700 (LWP 16067)]
[Thread 0x7fffdfbc0700 (LWP 16067) exited]
[Thread 0x7fffe59e7700 (LWP 16065) exited]
[Thread 0x7ffff7f1bb00 (LWP 16061) exited]
[Inferior 1 (process 16061) exited normally]

reply via email to

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