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: segfault in system-process-attributes on GNU/Linux Date: Sat, 23 Aug 2008 23:51:52 +0300 Message-ID: References: <18608.13923.497720.920805@rgrjr.rgrjr.dyndns.org> <18608.24854.369097.535535@rgrjr.rgrjr.dyndns.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1219524737 650 80.91.229.12 (23 Aug 2008 20:52:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Aug 2008 20:52:17 +0000 (UTC) Cc: emacs-devel@gnu.org To: Bob Rogers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 23 22:53:10 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 1KX06V-0000hm-SJ for ged-emacs-devel@m.gmane.org; Sat, 23 Aug 2008 22:53:00 +0200 Original-Received: from localhost ([127.0.0.1]:44827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KX05Y-0001yW-4v for ged-emacs-devel@m.gmane.org; Sat, 23 Aug 2008 16:52:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KX05T-0001yL-RU for emacs-devel@gnu.org; Sat, 23 Aug 2008 16:51:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KX05T-0001xx-6x for emacs-devel@gnu.org; Sat, 23 Aug 2008 16:51:55 -0400 Original-Received: from [199.232.76.173] (port=54861 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KX05T-0001xu-1z for emacs-devel@gnu.org; Sat, 23 Aug 2008 16:51:55 -0400 Original-Received: from mtaout3.012.net.il ([84.95.2.7]:14687) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KX05S-0002Bn-IE for emacs-devel@gnu.org; Sat, 23 Aug 2008 16:51:54 -0400 Original-Received: from HOME-C4E4A596F7 ([84.229.211.50]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K62004MWNBCM4S1@i_mtaout3.012.net.il> for emacs-devel@gnu.org; Sat, 23 Aug 2008 23:52:25 +0300 (IDT) In-reply-to: <18608.24854.369097.535535@rgrjr.rgrjr.dyndns.org> X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Solaris 9.1 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:102893 Archived-At: > Date: Sat, 23 Aug 2008 15:12:22 -0400 > From: Bob Rogers > Cc: lekktu@gmail.com, emacs-devel@gnu.org > > I wondered, too, but can't seem to compile emacs with enough debugging > information; it finds the source file (at the same place you showed), > but doesn't even have debugging symbols: > > (gdb) p cmdsize > No symbol "cmdsize" in current context. > (gdb) > > I remember discussion of CFLAGS options for debugging, but can't find > the thread now. I thought some writeup had been added to INSTALL.CVS or > "(emacs) Bugs", but can't find it there, either. The right place is etc/DEBUG. > In any case, any hints you may have for future debugging use would be > greatly appreciated. These days, if you want to debug Emacs, you need to rebuild the sources where you want to step with -O1.