[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Recent changes in gdb-ui.el
From: |
Kim F. Storm |
Subject: |
Re: Recent changes in gdb-ui.el |
Date: |
03 Mar 2004 15:39:09 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
[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 <address@hidden> http://www.cua.dk
- Re: Recent changes in gdb-ui.el,
Kim F. Storm <=