help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdb doc


From: A Soare
Subject: Re: gdb doc
Date: Fri, 23 Mar 2007 15:51:18 +0100 (CET)

 > 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.









reply via email to

[Prev in Thread] Current Thread [Next in Thread]