[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gdb doc
From: |
A Soare |
Subject: |
Re: gdb doc |
Date: |
Thu, 22 Mar 2007 12:59:11 +0100 (CET) |
> > I do not find in documentation how can I set a condition for gdb to stop to
> > a breakpoint in Feval when such a condition is accomplished:
> >
> > 1. lisp function name that is evaluated is "+".
>
> Compare the car of the Feval's argument with Qplus.
I tried t
(gdb) br Feval
Breakpoint 3 at 0x8152849: file eval.c, line 2205.o do so:
(gdb) r
Starting program: /mnt/gnu/emacs/src/emacs -geometry 80x40+0+0
[Thread debugging using libthread_db enabled]
[New Thread -1208109376 (LWP 2650)]
[Switching to Thread -1208109376 (LWP 2650)]
Breakpoint 4 at 0x80c88e6: file xterm.c, line 7859.
Breakpoint 3, Feval (form=139269229) at eval.c:2205
(gdb) p form
$1 = 139269229
(gdb) xcar form
$2 = 0x8540b91
Now I wish to do
(gdb) commands
and here I do not know how to write CONDITION in
if <CONDITION>
break
end
continue
end
Can you help me a little mode to write the condition please?