From: A Soare <alinsoar@voila.fr>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "Emacs Help \[help-gnu-emacs\]" <help-gnu-emacs@gnu.org>
Subject: Re: gdb doc
Date: Fri, 23 Mar 2007 15:51:18 +0100 (CET) [thread overview]
Message-ID: <6692358.654041174661478268.JavaMail.www@wwinf4203> (raw)
> and here I do not know how to write CONDITION in
>
> if <CONDITION>
> break
No, you need to say "break Feval if <CONDITION>".
> Can you help me a little mode to write the condition please?
I don't have time to write and test a complete script, sorry. You
will need to look in lisp.h for the definition of the XCAR macro, or
in src/.gdbinit for the definition of `xcar', and use the same
expressions in the condition. Something like the following
(untested!):
break Feval if ((struct Lisp_Cons *) ((gdb_use_union ? form.u.val : form & $valmask) | gdb_data_seg_bits))->car == Qplus
Thanks a lot.
Alin Soare.
next reply other threads:[~2007-03-23 14:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-23 14:51 A Soare [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-03-22 12:50 gdb doc A Soare
2007-03-22 11:59 A Soare
2007-03-23 13:04 ` Eli Zaretskii
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=6692358.654041174661478268.JavaMail.www@wwinf4203 \
--to=alinsoar@voila.fr \
--cc=eliz@gnu.org \
--cc=help-gnu-emacs@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.
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).