all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: A Soare <alinsoar@voila.fr>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "Emacs   Help  \[help-gnu-emacs\]" <help-gnu-emacs@gnu.org>,
	"Emacs   Dev  \[emacs-devel\]" <emacs-devel@gnu.org>
Subject: Re: gdb doc
Date: Thu, 22 Mar 2007 13:50:24 +0100 (CET)	[thread overview]
Message-ID: <28474430.460531174567824250.JavaMail.www@wwinf4203> (raw)

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



Finally I got it alone...

Alin Soare

             reply	other threads:[~2007-03-22 12:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-22 12:50 A Soare [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-03-27  9:06 gdb doc A Soare
2007-03-23 14:51 A Soare
2007-03-22 11:59 A Soare
2007-03-23 13:04 ` Eli Zaretskii
2007-03-22 11:40 A Soare
2007-03-21 13:39 A Soare
2007-03-21 19:58 ` Eli Zaretskii
2007-03-22 15:38   ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=28474430.460531174567824250.JavaMail.www@wwinf4203 \
    --to=alinsoar@voila.fr \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.