From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Crashes on w32 and debugging Date: Fri, 29 Feb 2008 11:51:08 +0200 Message-ID: References: <47C6713B.6030309@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1204279320 8566 80.91.229.12 (29 Feb 2008 10:02:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Feb 2008 10:02:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Lennart Borgman (gmail)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 29 11:02:24 2008 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 1JV24O-0001tc-98 for ged-emacs-devel@m.gmane.org; Fri, 29 Feb 2008 11:02:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JV23r-000657-EC for ged-emacs-devel@m.gmane.org; Fri, 29 Feb 2008 05:01:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JV1uc-0000le-9h for emacs-devel@gnu.org; Fri, 29 Feb 2008 04:52:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JV1uZ-0000kI-FK for emacs-devel@gnu.org; Fri, 29 Feb 2008 04:52:17 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JV1uU-0000ij-Ez for emacs-devel@gnu.org; Fri, 29 Feb 2008 04:52:11 -0500 Original-Received: from nitzan.inter.net.il ([213.8.233.22]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JV1uU-0003mJ-2M for emacs-devel@gnu.org; Fri, 29 Feb 2008 04:52:10 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-203-69.inter.net.il [80.230.203.69]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id JIM51269 (AUTH halo1); Fri, 29 Feb 2008 11:48:43 +0200 (IST) In-reply-to: <47C6713B.6030309@gmail.com> (lennart.borgman@gmail.com) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) 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:90848 Archived-At: > Date: Thu, 28 Feb 2008 09:30:51 +0100 > From: "Lennart Borgman (gmail)" > > I looked in the documentation for how to start Emacs under gdb, but I > can't find anything about it in nt/INSTALL. That's because starting Emacs under GDB is no different from starting any other program under GDB. The only significant difference is documented at the beginning of etc/DEBUG: ** When you debug Emacs with GDB, you should start it in the directory where the executable was made. That directory has a .gdbinit file that defines various "user-defined" commands for debugging Emacs. (These commands are described below under "Examining Lisp object values" and "Debugging Emacs Redisplay problems".)