aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-01-17 22:31:45 +0000
committerRichard M. Stallman1995-01-17 22:31:45 +0000
commite802811f1ea08639218e2d58eea5fadf0241a976 (patch)
tree6c1a49be972f1792422ecdfbf9dbdd6267f2592f
parent9f51be89881f180140a89c8297e49fac2924192a (diff)
downloademacs-e802811f1ea08639218e2d58eea5fadf0241a976.tar.gz
emacs-e802811f1ea08639218e2d58eea5fadf0241a976.zip
(dbx): Fix missing cast of $curline for Irix.
(gud-irixdbx-marker-filter): Make $curline cast consistent with the others.
-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.")
618 ;; prod dbx into printing out the line number and file 618 ;; prod dbx into printing out the line number and file
619 ;; name in a form we can grok as below 619 ;; name in a form we can grok as below
620 (process-send-string (get-buffer-process gud-comint-buffer) 620 (process-send-string (get-buffer-process gud-comint-buffer)
621 "printf \"\032\032%1d:\",(int)$curline;file\n")) 621 "printf \"\032\032%1d:\",(long)$curline;file\n"))
622 ;; look for result of, say, "up" e.g.: 622 ;; look for result of, say, "up" e.g.:
623 ;; .pplot.pplot(0x800) ["src/pplot.f":261, 0x400c7c] 623 ;; .pplot.pplot(0x800) ["src/pplot.f":261, 0x400c7c]
624 ;; (this will also catch one of the lines printed by "where") 624 ;; (this will also catch one of the lines printed by "where")
@@ -693,7 +693,7 @@ and source-file directory for your debugger."
693 ">" "Down (numeric arg) stack frames.") 693 ">" "Down (numeric arg) stack frames.")
694 ;; Make dbx give out the source location info that we need. 694 ;; Make dbx give out the source location info that we need.
695 (process-send-string (get-buffer-process gud-comint-buffer) 695 (process-send-string (get-buffer-process gud-comint-buffer)
696 "printf \"\032\032%1d:\",$curline;file\n")) 696 "printf \"\032\032%1d:\",(long)$curline;file\n"))
697 (t 697 (t
698 (gud-def gud-up "up %p" "<" "Up (numeric arg) stack frames.") 698 (gud-def gud-up "up %p" "<" "Up (numeric arg) stack frames.")
699 (gud-def gud-down "down %p" ">" "Down (numeric arg) stack frames.") 699 (gud-def gud-down "down %p" ">" "Down (numeric arg) stack frames.")