From b75062df6d34656eb3b4fccfa4f791e05c9b0b8b Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 19 Jun 1996 20:52:31 +0000 Subject: [PATCH] (gud-irixdbx-marker-filter): Use %1ld, not %1d, when printing $curline. (dbx, irix case): Likewise in arg of gud-down. --- lisp/gud.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/gud.el b/lisp/gud.el index 439484b60c8..cada35d5ac1 100644 --- a/lisp/gud.el +++ b/lisp/gud.el @@ -685,7 +685,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:\",(long)$curline;file\n")) + "printf \"\032\032%1ld:\",(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") @@ -770,7 +770,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:\",(long)$curline;file\n")) + "printf \"\032\032%1ld:\",(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.") -- 2.39.5