From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Recent changes in gdb-ui.el Date: 03 Mar 2004 15:39:09 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1078442652 2630 80.91.224.253 (4 Mar 2004 23:24:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Mar 2004 23:24:12 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Mar 05 00:24:06 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Az2CE-0004Os-00 for ; Fri, 05 Mar 2004 00:24:06 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Az2CD-0004eC-01 for ; Fri, 05 Mar 2004 00:24:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1Az27W-00024J-K9 for emacs-devel@quimby.gnus.org; Thu, 04 Mar 2004 18:19:14 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1AyWcj-0000vK-NW for emacs-devel@gnu.org; Wed, 03 Mar 2004 08:41:21 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1AyWbw-0000bi-LG for emacs-devel@gnu.org; Wed, 03 Mar 2004 08:41:06 -0500 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.30) id 1AyWax-0008VH-4G for emacs-devel@gnu.org; Wed, 03 Mar 2004 08:39:31 -0500 Original-Received: (qmail 82056 invoked from network); 3 Mar 2004 13:39:26 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 3 Mar 2004 13:39:26 -0000 Original-To: emacs-devel@gnu.org Original-Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:20243 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20243 [This is extracted from my response to Nick Roberts re. supporting GDB overlay arrows at C and assembler levels simultaneiously. It hit the emacs-devel bit-bucket on Mar 02. ++kfs] I have just installed changed to properly support multiple overlay arrows. [Some packages attempts to do this by making overlay-arrow-position buffer local, but that doesn't really work well with the redisplay code, as it may fail to notice changes to an overlay arrow in some cases.] To create an additional overlay arrow, create a new variable similar to overlay-arrow-position, e.g. gdb-asm-overlay-arrow-position and add it to the new variable overlay-arrow-variable-list; like this: (push 'gdb-asm-overlay-arrow-position overlay-arrow-variable-list) Then you can use gdb-asm-overlay-arrow-position just like the overlay-arrow-position variable. If you want to use a different fringe bitmap for the asm bitmap, you can set it with (require 'fringe) (put 'gdb-asm-overlay-arrow-position 'overlay-arrow-bitmap right-truncation-fringe-bitmap) ; the -> arrow -- Kim F. Storm http://www.cua.dk