all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: emacs-devel@gnu.org
Subject: Breakpoint ignored.
Date: Sun, 18 Oct 2009 04:55:52 +0200	[thread overview]
Message-ID: <877hutz9zb.fsf@telefonica.net> (raw)

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





             reply	other threads:[~2009-10-18  2:55 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-18  2:55 Óscar Fuentes [this message]
2009-10-18  4:19 ` Breakpoint ignored Eli Zaretskii
2009-10-18 14:39   ` Stefan Monnier
2009-10-18 18:46     ` bug#3681: " Óscar Fuentes
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877hutz9zb.fsf@telefonica.net \
    --to=ofv@wanadoo.es \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.