Mercurial > emacs
comparison lisp/gud.el @ 8645:8217ec286828
(dbx): Use newline, not semicolon, between file and stop cmds.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 28 Aug 1994 04:14:59 +0000 |
parents | faedd07b38ed |
children | 4e66c15e2d6c |
comparison
equal
deleted
inserted
replaced
8644:ebda9d1e7d48 | 8645:8217ec286828 |
---|---|
633 "\C-b" "Set breakpoint at current line.") | 633 "\C-b" "Set breakpoint at current line.") |
634 (gud-def gud-finish "return" "\C-f" "Finish executing current function.") | 634 (gud-def gud-finish "return" "\C-f" "Finish executing current function.") |
635 ;; Make dbx give out the source location info that we need. | 635 ;; Make dbx give out the source location info that we need. |
636 (process-send-string (get-buffer-process gud-comint-buffer) | 636 (process-send-string (get-buffer-process gud-comint-buffer) |
637 "printf \"\032\032%1d:\",$curline;file\n")) | 637 "printf \"\032\032%1d:\",$curline;file\n")) |
638 ((or (string-match "-sunos" system-configuration) | |
639 (string-match "-solaris" system-configuration)) | |
640 ;; The following works for both the UCB and SunPro 2.0.1 versions | |
641 ;; of dbx. The `stop' is lost using the `\n' separator as in the | |
642 ;; default case. Is there a dbx where the newline is actually | |
643 ;; necessary? (d.love@dl.ac.uk) | |
644 (gud-def gud-break "file \"%d%f\";stop at %l" | |
645 "\C-b" "Set breakpoint at current line.")) | |
646 (t | 638 (t |
647 (gud-def gud-break "file \"%d%f\"\nstop at %l" | 639 (gud-def gud-break "file \"%d%f\"\nstop at %l" |
648 "\C-b" "Set breakpoint at current line."))) | 640 "\C-b" "Set breakpoint at current line."))) |
649 | 641 |
650 (gud-def gud-remove "clear %l" "\C-d" "Remove breakpoint at current line") | 642 (gud-def gud-remove "clear %l" "\C-d" "Remove breakpoint at current line") |