From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "A. Soare" Newsgroups: gmane.emacs.devel Subject: Re: GDB does not stop in breakpoint! Date: Thu, 14 Jan 2010 09:36:18 +0100 (CET) Message-ID: <32963543.660401263458178048.JavaMail.www@wwinf4630> 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: quoted-printable X-Trace: ger.gmane.org 1263458243 3210 80.91.229.12 (14 Jan 2010 08:37:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Jan 2010 08:37:23 +0000 (UTC) Cc: "Emacs Dev \[emacs-devel\]" To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 14 09:37:16 2010 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 1NVLCc-0005fQ-Vo for ged-emacs-devel@m.gmane.org; Thu, 14 Jan 2010 09:37:15 +0100 Original-Received: from localhost ([127.0.0.1]:46772 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVLCc-00048c-9L for ged-emacs-devel@m.gmane.org; Thu, 14 Jan 2010 03:37:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NVLBv-00046U-GP for emacs-devel@gnu.org; Thu, 14 Jan 2010 03:36:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NVLBo-00044x-VD for emacs-devel@gnu.org; Thu, 14 Jan 2010 03:36:27 -0500 Original-Received: from [199.232.76.173] (port=59311 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVLBo-00044k-BB for emacs-devel@gnu.org; Thu, 14 Jan 2010 03:36:24 -0500 Original-Received: from smtp3.voila.fr ([193.252.22.173]:44193 helo=smtp1.voila.fr) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NVLBl-0003Fl-2k; Thu, 14 Jan 2010 03:36:21 -0500 Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf4908.voila.fr (SMTP Server) with ESMTP id 3345F70000A1; Thu, 14 Jan 2010 09:36:18 +0100 (CET) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf4908.voila.fr (SMTP Server) with ESMTP id 25F5970000B2; Thu, 14 Jan 2010 09:36:18 +0100 (CET) Original-Received: from wwinf4630 (wwinf4630 [10.232.13.104]) by mwinf4908.voila.fr (SMTP Server) with ESMTP id 0CA9F70000A1; Thu, 14 Jan 2010 09:36:18 +0100 (CET) X-ME-UUID: 20100114083618519.0CA9F70000A1@mwinf4908.voila.fr X-Originating-IP: [91.201.80.240] X-Wum-Nature: EMAIL-NATURE X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-CC: |~| X-WUM-REPLYTO: |~| X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:119979 Archived-At: > 3 breakpoint keep y 0x081fc176 in funcall_lambda at eval.= c:3147 > stop only if EQ(XCDR(XCAR(arg_vector[0])),Qx) > breakpoint already hit 411 times >=20 >=20 > It stops even if XCDR(XCAR(arg_vector[0])) !=3D 'x >=20 > I did not know it was possible to use C macros in GDB. > But if that does work now, I do not see why this condition would fail > to work correctly. The protocol of communication between the debugger and the executable is dw= arf for C language. When one create the executable, it must be created foll= owing this protocol for gdb to be able to debug. There is a flag to gcc to add options such that gdb can render macros.=20 >=20 > But it is clear that that fails to verify whether arg_vector[0] > is a cons cell. So it will sometimes match objects that are the > wrong type. >=20 > Therefore, it is certain that this >=20 > cond 3 (CONSP(arg_vector[0]) && CONSP(XCAR(arg_vector[0])) && > EQ(XCAR(XCAR(arg_vector[0])),Qx)) >=20 yes, i am required to check. ____________________________________________________ Vous n=E2=80=99avez pas encore adress=C3=A9 vos voeux=C2=A0? Retrouvez nos = cartes sur http://carte-de-voeux.voila.fr=20