From: "A. Soare" <alinsoar@voila.fr>
To: rms@gnu.org
Cc: "Emacs Dev \[emacs-devel\]" <emacs-devel@gnu.org>
Subject: Re: GDB does not stop in breakpoint!
Date: Thu, 14 Jan 2010 09:36:18 +0100 (CET) [thread overview]
Message-ID: <32963543.660401263458178048.JavaMail.www@wwinf4630> (raw)
> 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
>
> I did not know it was possible to use C macros in GDB.
> But if that does work now, I do not see why this condition would fail
> to work correctly.
The protocol of communication between the debugger and the executable is dwarf for C language. When one create the executable, it must be created following this protocol for gdb to be able to debug.
There is a flag to gcc to add options such that gdb can render macros.
>
> But it is clear that that fails to verify whether arg_vector[0]
> is a cons cell. So it will sometimes match objects that are the
> wrong type.
>
> Therefore, it is certain that this
>
> cond 3 (CONSP(arg_vector[0]) && CONSP(XCAR(arg_vector[0])) &&
> EQ(XCAR(XCAR(arg_vector[0])),Qx))
>
yes, i am required to check.
____________________________________________________
Vous n’avez pas encore adressé vos voeux ? Retrouvez nos cartes sur http://carte-de-voeux.voila.fr
next reply other threads:[~2010-01-14 8:36 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-14 8:36 A. Soare [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-01-18 8:01 GDB does not stop in breakpoint! A. Soare
2010-01-14 8:49 A. Soare
2010-01-14 13:30 ` tomas
2010-01-11 8:23 alin.s
2010-01-11 10:00 ` 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
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=32963543.660401263458178048.JavaMail.www@wwinf4630 \
--to=alinsoar@voila.fr \
--cc=emacs-devel@gnu.org \
--cc=rms@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).