i tried the version of emacs today,
it still do not give me chance to input ,
gui emacs freeze when gdb showed the prompt again,
i tried to press key before it freeze,
the result is showed below:
[root@lpc src]# gdb ./emacs -q
Reading symbols from ./emacs...
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = :0
TERM = rxvt-unicode-256color
Breakpoint 1 at 0x21284d: file emacs.c, line 412.
Breakpoint 2 at 0x1c817a: file xterm.c, line 19763.
(gdb) break xterm.c:17399
Breakpoint 3 at 0x1c559f: file xterm.c, line 18527.
(gdb) break xterm.c:17399
Note: breakpoint 3 also set at pc 0x1c559f.
Breakpoint 4 at 0x1c559f: file xterm.c, line 18527.
(gdb) run
Starting program: /dev/shm/e29/src/emacs
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff1355640 (LWP 298831)]
[New Thread 0x7ffff0a5f640 (LWP 298832)]
[Detaching after fork from child process 298833]
[Detaching after fork from child process 298834]
[New Thread 0x7fffebfff640 (LWP 298835)]
[New Thread 0x7fffeb7fe640 (LWP 298836)]
[Thread 0x7fffeb7fe640 (LWP 298836) exited]
[New Thread 0x7fffeb7fe640 (LWP 298837)]
[New Thread 0x7fffeaffd640 (LWP 298838)]
[Thread 0x7fffeb7fe640 (LWP 298837) exited]
[Thread 0x7fffeaffd640 (LWP 298838) exited]
Thread 1 "emacs" hit Breakpoint 3, handle_one_xevent (dpyinfo=0x555556112d50, event=0x7fffffffd710, finish=0x555555e9191c <current_finish>, hold_quit=0x7fffffffda40) at xterm.c:18527
18527 if (dpyinfo->supports_xkb
(gdb) p xkey.state
No symbol "xkey" in current context.
(gdb) p dpyinfo->hyper_mod_mask
$1 = 0
i also tried to comment out that you say this :
else if (dpyinfo->xkb_desc->names->vmods[i] == dpyinfo->Xatom_Hyper)
dpyinfo->hyper_mod_mask |= vmodmask;
after rebuild,
the capital letter can normally insert with shift now.
hope it useful.
Thanks