summaryrefslogtreecommitdiff
path: root/lisp/gdb-ui.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/gdb-ui.el')
-rw-r--r--lisp/gdb-ui.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gdb-ui.el b/lisp/gdb-ui.el
index 85b03fbce40..de566902ec7 100644
--- a/lisp/gdb-ui.el
+++ b/lisp/gdb-ui.el
@@ -1831,7 +1831,6 @@ BUFFER nil or omitted means use the current buffer."
(if (re-search-forward gdb-current-address nil t)
(progn
(setq pos (point))
- (setq gdb-overlay-arrow-string "=>")
(beginning-of-line)
(or gdb-overlay-arrow-position
(setq gdb-overlay-arrow-position (make-marker)))
@@ -1871,6 +1870,7 @@ BUFFER nil or omitted means use the current buffer."
(setq major-mode 'gdb-assembler-mode)
(setq mode-name "Machine")
(push 'gdb-overlay-arrow-position overlay-arrow-variable-list)
+ (put 'gdb-overlay-arrow-position 'overlay-arrow-string "=>")
(setq gdb-overlay-arrow-position nil)
(setq fringes-outside-margins t)
(setq buffer-read-only t)