From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: gdb-ui / fring coredump question Date: Wed, 2 Feb 2005 08:48:18 +1300 Message-ID: <16895.56578.482474.182257@farnswood.snap.net.nz> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1107287956 5858 80.91.229.2 (1 Feb 2005 19:59:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Feb 2005 19:59:16 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 01 20:59:16 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Cw4B1-00079h-80 for ged-emacs-devel@m.gmane.org; Tue, 01 Feb 2005 20:59:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cw4O0-0000hP-06 for ged-emacs-devel@m.gmane.org; Tue, 01 Feb 2005 15:12:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cw4Nl-0000fE-2R for emacs-devel@gnu.org; Tue, 01 Feb 2005 15:12:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cw4Ni-0000e6-Ms for emacs-devel@gnu.org; Tue, 01 Feb 2005 15:12:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cw4Ni-0000dV-K8 for emacs-devel@gnu.org; Tue, 01 Feb 2005 15:12:14 -0500 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cw47T-0002Ry-Ip; Tue, 01 Feb 2005 14:55:27 -0500 Original-Received: from farnswood.snap.net.nz (p54-tnt1.snap.net.nz [202.124.110.54]) by viper.snap.net.nz (Postfix) with ESMTP id 4105E2E22B3; Wed, 2 Feb 2005 08:55:23 +1300 (NZDT) Original-Received: by farnswood.snap.net.nz (Postfix, from userid 501) id 50A34628AB; Tue, 1 Feb 2005 19:48:19 +0000 (GMT) Original-To: Miles Bader In-Reply-To: X-Mailer: VM 7.19 under Emacs 21.3.50.45 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:32716 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32716 > I'm getting a coredump if I use gdb-ui inside of emacs, as soon as I set > a breakpoint; the basic problem seems to be that in displaying the > stop-sign icon in the fringe, it's trying to push more than 2 elements on > the iterator stack (the max iterator stack-size is two). I have not seen this behaviour. In any case, Kim seems to have installed a fix. > I wanted to see if I could debug it in standard CVS emacs, since I have > a lot of my own display hacks, but discovered something funny: if I use > gdb-ui in standard CVS emacs, it uses the display "margin" to display > the stop-sign icon instead of using the fringe, whereas in my personal > emacs it uses the fringe! Is this correct? How does gdb-ui determine > which display mechanism (margin for stop-sign and fringe for arrow, or > fringe for both) to use? [I looked briefly at the lisp code, and saw no > obvious reason for this behavior.] By default, if the fringe is present, both arrow and breakpoint icons should display there. The only way that I can get breakpoint icons to display in the margin when the fringe is present, is to make the fringe under eight pixels wide (what value do you have for fringe-mode?). Going slightly offtopic, when the margin is used you can disable/enable it with mouse-3. However, I can't get this behaviour to work in the fringe because, in this case, there are no associated text-properties to store breakpoint information. Perhaps this could be addressed after the release. Nick