From: "alin.s" <alinsoar@voila.fr>
To: Emacs-devel@gnu.org
Subject: GDB does not stop in breakpoint!
Date: Mon, 11 Jan 2010 00:23:41 -0800 (PST) [thread overview]
Message-ID: <27107078.post@talk.nabble.com> (raw)
I put a breakpoint in Fx_create_frame. When I start emacs using "r" , the
breakpoint is never reached, and the X windows stops responding.
I have to run this command to make it work again: (Gdb stops all Xwindows)
kill -KILL `ps -e | grep gdb | cut -dp -f1`
Why gdb does not stop ?
On the other hand, I discovered this strange behaviour:
Breakpoint 3, funcall_lambda (fun=137006261, nargs=2, arg_vector=0xbfaf0e14)
at eval.c:3147
3147 int count = SPECPDL_INDEX ();
(gdb) p arg_vector[0]
$406 = 139830890
(gdb) pp arg_vector[0]
cygwin-mount-map-drive-hook-function
(gdb) pp XCAR(arg_vector[0])
34957716
(gdb) pp XCDR(XCAR(arg_vector[0]))
"cygwin-mount-name-hook-function"
(gdb)
Even if arg_vector[0] is not a cons, I can compute car and cdr, and more
than that - they make sense! Why do they make sense?
Here is defined the breakpoint:
3 breakpoint keep y 0x081fc176 in funcall_lambda at eval.c:3147
stop only if EQ(XCDR(XCAR(arg_vector[0])),Qx)
breakpoint already hit 411 times
It stops even if XCDR(XCAR(arg_vector[0])) != 'x
Why ?
--
View this message in context: http://old.nabble.com/GDB-does-not-stop-in-breakpoint%21-tp27107078p27107078.html
Sent from the Emacs - Dev mailing list archive at Nabble.com.
next reply other threads:[~2010-01-11 8:23 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-11 8:23 alin.s [this message]
2010-01-11 10:00 ` GDB does not stop in breakpoint! alin.s
2010-01-11 10:24 ` alin.s
2010-01-11 10:52 ` alin.s
2010-01-11 11:41 ` Jan Djärv
2010-01-11 11:59 ` alin.s
2010-01-12 10:03 ` Richard Stallman
2010-01-12 10:03 ` Richard Stallman
2010-01-12 18:49 ` Tom Tromey
2010-01-12 10:03 ` Richard Stallman
2010-01-17 17:36 ` alin.s
2010-01-17 18:47 ` Chong Yidong
2010-01-12 10:03 ` Richard Stallman
-- strict thread matches above, loose matches on Subject: below --
2010-01-14 8:36 A. Soare
2010-01-14 8:49 A. Soare
2010-01-14 13:30 ` tomas
2010-01-18 8:01 A. Soare
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=27107078.post@talk.nabble.com \
--to=alinsoar@voila.fr \
--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 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).