From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: A Soare Newsgroups: gmane.emacs.devel,gmane.emacs.help Subject: Re: gdb doc Date: Thu, 22 Mar 2007 13:50:24 +0100 (CET) Message-ID: <28474430.460531174567824250.JavaMail.www@wwinf4203> Reply-To: alinsoar@voila.fr NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1174567851 26786 80.91.229.12 (22 Mar 2007 12:50:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Mar 2007 12:50:51 +0000 (UTC) Cc: "Emacs Help \[help-gnu-emacs\]" , "Emacs Dev \[emacs-devel\]" To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 22 13:50:42 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HUMkV-0004cr-Qd for ged-emacs-devel@m.gmane.org; Thu, 22 Mar 2007 13:50:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUMmI-0002Tv-Hk for ged-emacs-devel@m.gmane.org; Thu, 22 Mar 2007 07:52:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HUMmF-0002TO-DH for emacs-devel@gnu.org; Thu, 22 Mar 2007 08:52:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HUMmD-0002T8-Qq for emacs-devel@gnu.org; Thu, 22 Mar 2007 08:52:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUMmD-0002T3-O2; Thu, 22 Mar 2007 07:52:21 -0500 Original-Received: from smtp3.voila.fr ([193.252.22.173]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HUMkL-0001s7-Vp; Thu, 22 Mar 2007 08:50:26 -0400 Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf4201.voila.fr (SMTP Server) with ESMTP id 4D1311C0013E; Thu, 22 Mar 2007 13:50:24 +0100 (CET) Original-Received: from wwinf4203 (wwinf4203 [10.232.2.30]) by mwinf4201.voila.fr (SMTP Server) with ESMTP id 405A01C000FE; Thu, 22 Mar 2007 13:50:24 +0100 (CET) X-ME-UUID: 20070322125024263.405A01C000FE@mwinf4201.voila.fr X-Originating-IP: [89.34.170.37] X-Wum-Nature: EMAIL-NATURE X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-CC: |~||~| X-WUM-REPLYTO: |~| X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:68293 gmane.emacs.help:42103 Archived-At: > > 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 break end continue end Can you help me a little mode to write the condition please? Finally I got it alone... Alin Soare