summaryrefslogtreecommitdiff
path: root/lisp/gud.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-01-17 22:31:45 +0000
committerRichard M. Stallman <rms@gnu.org>1995-01-17 22:31:45 +0000
commitbcf287f3849408207fb0e025d4dce3c1e7aa28bb (patch)
tree175cfc919047d2a5cd12cc4da484f0c86b064276 /lisp/gud.el
parentd388fe90a46e750f9e027ce432688e8721bfc7f7 (diff)
downloademacs-bcf287f3849408207fb0e025d4dce3c1e7aa28bb.tar.gz
(dbx): Fix missing cast of $curline for Irix.
(gud-irixdbx-marker-filter): Make $curline cast consistent with the others.
Diffstat (limited to 'lisp/gud.el')
-rw-r--r--lisp/gud.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/gud.el b/lisp/gud.el
index dac53a13469..71808c3d9ca 100644
--- a/lisp/gud.el
+++ b/lisp/gud.el
@@ -618,7 +618,7 @@ This works in IRIX 4, 5 and 6.")
;; prod dbx into printing out the line number and file
;; name in a form we can grok as below
(process-send-string (get-buffer-process gud-comint-buffer)
- "printf \"\032\032%1d:\",(int)$curline;file\n"))
+ "printf \"\032\032%1d:\",(long)$curline;file\n"))
;; look for result of, say, "up" e.g.:
;; .pplot.pplot(0x800) ["src/pplot.f":261, 0x400c7c]
;; (this will also catch one of the lines printed by "where")
@@ -693,7 +693,7 @@ and source-file directory for your debugger."
">" "Down (numeric arg) stack frames.")
;; Make dbx give out the source location info that we need.
(process-send-string (get-buffer-process gud-comint-buffer)
- "printf \"\032\032%1d:\",$curline;file\n"))
+ "printf \"\032\032%1d:\",(long)$curline;file\n"))
(t
(gud-def gud-up "up %p" "<" "Up (numeric arg) stack frames.")
(gud-def gud-down "down %p" ">" "Down (numeric arg) stack frames.")