Mercurial > hg > xemacs-beta
comparison lisp/comint/dbx.el @ 72:b9518feda344 r20-0b31
Import from CVS: tag r20-0b31
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:03:46 +0200 |
parents | 131b0175ea99 |
children |
comparison
equal
deleted
inserted
replaced
71:bae944334fa4 | 72:b9518feda344 |
---|---|
1 ;;; dbx.el --- run dbx under Emacs | 1 ;;; dbx.el --- run dbx under Emacs |
2 | |
2 ;; Copyright (C) 1988 Free Software Foundation, Inc. | 3 ;; Copyright (C) 1988 Free Software Foundation, Inc. |
3 ;; Main author Masanobu UMEDA (umerin@flab.fujitsu.junet) | 4 |
5 ;; Author: Masanobu UMEDA (umerin@flab.fujitsu.junet) | |
4 ;; Keywords: c, unix, tools, debugging | 6 ;; Keywords: c, unix, tools, debugging |
5 | 7 |
6 ;; This file is part of XEmacs. | 8 ;; This file is part of XEmacs. |
7 | 9 |
8 ;; XEmacs is free software; you can redistribute it and/or modify it | 10 ;; XEmacs is free software; you can redistribute it and/or modify it |
14 ;; WITHOUT ANY WARRANTY; without even the implied warranty of | 16 ;; WITHOUT ANY WARRANTY; without even the implied warranty of |
15 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
16 ;; General Public License for more details. | 18 ;; General Public License for more details. |
17 | 19 |
18 ;; You should have received a copy of the GNU General Public License | 20 ;; You should have received a copy of the GNU General Public License |
19 ;; along with XEmacs; see the file COPYING. If not, write to the | 21 ;; along with XEmacs; see the file COPYING. If not, write to the Free |
20 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 22 ;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
21 ;; Boston, MA 02111-1307, USA. | 23 ;; 02111-1307, USA. |
24 | |
25 ;;; Synched up with: Not in FSF | |
26 | |
27 ;;; Code: | |
22 | 28 |
23 (require 'comint) | 29 (require 'comint) |
24 | 30 |
25 (defvar dbx-trace-flag nil | 31 (defvar dbx-trace-flag nil |
26 "Dbx trace switch.") | 32 "Dbx trace switch.") |
159 (line (save-restriction | 165 (line (save-restriction |
160 (widen) | 166 (widen) |
161 (1+ (count-lines 1 (point)))))) | 167 (1+ (count-lines 1 (point)))))) |
162 (process-send-string dbx-process | 168 (process-send-string dbx-process |
163 (concat "stop at \"" file-name "\":" line "\n")))) | 169 (concat "stop at \"" file-name "\":" line "\n")))) |
170 | |
171 (provide 'dbx) | |
172 | |
173 ;;; dbx.el ends here |