From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "alin.s" Newsgroups: gmane.emacs.devel Subject: GDB does not stop in breakpoint! Date: Mon, 11 Jan 2010 00:23:41 -0800 (PST) Message-ID: <27107078.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1263198330 32439 80.91.229.12 (11 Jan 2010 08:25:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Jan 2010 08:25:30 +0000 (UTC) To: Emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 11 09:25:23 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 1NUFZX-00061l-Jk for ged-emacs-devel@m.gmane.org; Mon, 11 Jan 2010 09:24:23 +0100 Original-Received: from localhost ([127.0.0.1]:43061 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUFZX-0005Ue-Uf for ged-emacs-devel@m.gmane.org; Mon, 11 Jan 2010 03:24:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUFZ0-0005U4-Sl for emacs-devel@gnu.org; Mon, 11 Jan 2010 03:23:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUFYv-0005T1-2r for Emacs-devel@gnu.org; Mon, 11 Jan 2010 03:23:49 -0500 Original-Received: from [199.232.76.173] (port=33156 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUFYu-0005Sm-9s for Emacs-devel@gnu.org; Mon, 11 Jan 2010 03:23:44 -0500 Original-Received: from kuber.nabble.com ([216.139.236.158]:57088) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NUFYt-0003Ns-SF for Emacs-devel@gnu.org; Mon, 11 Jan 2010 03:23:44 -0500 Original-Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NUFYr-0008Vn-Ih for Emacs-devel@gnu.org; Mon, 11 Jan 2010 00:23:41 -0800 X-Nabble-From: alinsoar@voila.fr X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:119813 Archived-At: I put a breakpoint in Fx_create_frame. When I start emacs using "r" , the breakpoint is never reached, and the X windows stops responding. I have to run this command to make it work again: (Gdb stops all Xwindows) kill -KILL `ps -e | grep gdb | cut -dp -f1` Why gdb does not stop ? On the other hand, I discovered this strange behaviour: Breakpoint 3, funcall_lambda (fun=137006261, nargs=2, arg_vector=0xbfaf0e14) at eval.c:3147 3147 int count = SPECPDL_INDEX (); (gdb) p arg_vector[0] $406 = 139830890 (gdb) pp arg_vector[0] cygwin-mount-map-drive-hook-function (gdb) pp XCAR(arg_vector[0]) 34957716 (gdb) pp XCDR(XCAR(arg_vector[0])) "cygwin-mount-name-hook-function" (gdb) Even if arg_vector[0] is not a cons, I can compute car and cdr, and more than that - they make sense! Why do they make sense? Here is defined the breakpoint: 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 It stops even if XCDR(XCAR(arg_vector[0])) != 'x Why ? -- View this message in context: http://old.nabble.com/GDB-does-not-stop-in-breakpoint%21-tp27107078p27107078.html Sent from the Emacs - Dev mailing list archive at Nabble.com.