unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Breakpoint ignored.
@ 2009-10-18  2:55 Óscar Fuentes
  2009-10-18  4:19 ` Eli Zaretskii
  0 siblings, 1 reply; 16+ messages in thread
From: Óscar Fuentes @ 2009-10-18  2:55 UTC (permalink / raw)
  To: emacs-devel

I´m trying to debug bug 3681: using a USA keyboard with alt-intl
variant, when a composed character such as á is typed with
blink-cursor-mode off, the character is not displayed until another
character is typed. (When blink-cursor-mode is on the character is
displayed after the cursor blinks).

This affects emacs when running on X.

C-h k á says `self-insert-command' is invoked, wich is a built-in
function. So I follow the link to the source code to learn that the C
function is Fself_insert_command, then invoke emacs and set a breakpoint
on it, but gdb does not stop when a character is typed (and displayed),
as if no breakpoint was active.

What I'm missing?

oscar@qcore:~/dev/other/emacs/src$ gdb --args ./emacs -q --no-site-file --no-splash
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
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 = xterm
Breakpoint 1 at 0x4caab0: file emacs.c, line 430.
Breakpoint 2 at 0x4ea8a0: file sysdep.c, line 1129.
(gdb) break Fself_insert_command
Breakpoint 3 at 0x50b060: file cmds.c, line 331.
(gdb) r
Starting program: /home/oscar/dev/other/emacs/src/emacs -q --no-site-file --no-splash
[Thread debugging using libthread_db enabled]
[New Thread 0x7fcea7e26740 (LWP 4731)]

-- 
Óscar





^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2009-10-21  4:58 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-18  2:55 Breakpoint ignored Óscar Fuentes
2009-10-18  4:19 ` Eli Zaretskii
2009-10-18 14:39   ` Stefan Monnier
2009-10-18 18:46     ` Óscar Fuentes
2009-10-19  2:39   ` Richard Stallman
2009-10-19  3:18     ` Stefan Monnier
2009-10-19  6:22       ` Miles Bader
2009-10-19 13:19         ` Stefan Monnier
2009-10-19 22:53         ` Richard Stallman
2009-10-20  0:59           ` David Kastrup
2009-10-20  1:44             ` Óscar Fuentes
2009-10-20  2:03               ` Stefan Monnier
2009-10-21  4:58             ` Richard Stallman
2009-10-19  3:35     ` Daniel Colascione
2009-10-19  9:20     ` Andreas Schwab
2009-10-19 13:21       ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).