From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: running emacs in gdb 6.1 Date: Wed, 15 Sep 2004 11:43:46 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <20040910.171325.246834684.wl@gnu.org> <20040915.083402.193694002.wl@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1095241463 15915 80.91.229.6 (15 Sep 2004 09:44:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Sep 2004 09:44:23 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 15 11:44:11 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C7WKg-0006Ck-00 for ; Wed, 15 Sep 2004 11:44:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C7WQJ-0000Vw-3I for ged-emacs-devel@m.gmane.org; Wed, 15 Sep 2004 05:49:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C7WQA-0000Vq-Eo for emacs-devel@gnu.org; Wed, 15 Sep 2004 05:49:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C7WQ8-0000Ve-Ro for emacs-devel@gnu.org; Wed, 15 Sep 2004 05:49:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C7WQ8-0000Vb-OP for emacs-devel@gnu.org; Wed, 15 Sep 2004 05:49:48 -0400 Original-Received: from [195.135.220.2] (helo=Cantor.suse.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1C7WKJ-0004hA-KZ; Wed, 15 Sep 2004 05:43:47 -0400 Original-Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id 8F82FBEB830; Wed, 15 Sep 2004 11:43:46 +0200 (CEST) Original-To: Werner LEMBERG X-Yow: Sometime in 1993 NANCY SINATRA will lead a BLOODLESS COUP on GUAM!! In-Reply-To: <20040915.083402.193694002.wl@gnu.org> (Werner LEMBERG's message of "Wed, 15 Sep 2004 08:34:02 +0200 (CEST)") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27129 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27129 Werner LEMBERG writes: >> As a workaround you can disable the pager in gdb with >> "set height 0". Another workaround is to increase the height of the terminal. :-) > Thanks. What about adding this to emacs/src/.gdbinit? I don't think this is a good idea. The pager is useful if you output a longer disassembly listing. > BTW, calling `gdb emacs' from emacs/src, I see > > Function "x_error_quitter" not defined. This happens because the function is only defined in a shared library, which haven't been loaded yet at this time. GDB has since 6.1 the nice feature of pending breakpoints, but unfortunately they are only enabled when setting a breakpoint interactively. Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."