comparison lisp/progmodes/gdb-mi.el @ 103563:1c5f849edf58

Minor header format fixes. (gud-remove, gud-break): Update declarations.
author Glenn Morris <rgm@gnu.org>
date Tue, 23 Jun 2009 07:34:28 +0000
parents 84379ac80754
children 5a1769adb8af
comparison
equal deleted inserted replaced
103562:decf5e666b9e 103563:1c5f849edf58
1 ;;; gdb-mi.el --- User Interface for running GDB 1 ;;; gdb-mi.el --- User Interface for running GDB
2 2
3 ;; Author: Nick Roberts <nickrob@gnu.org>, 3 ;; Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
4
5 ;; Author: Nick Roberts <nickrob@gnu.org>
4 ;; Maintainer: FSF 6 ;; Maintainer: FSF
5 ;; Keywords: unix, tools 7 ;; Keywords: unix, tools
6 8
7 ;; Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc. 9 ;; This file is part of GNU Emacs.
8
9 ; This file is part of GNU Emacs.
10 10
11 ;; GNU Emacs is free software: you can redistribute it and/or modify 11 ;; GNU Emacs is free software: you can redistribute it and/or modify
12 ;; it under the terms of the GNU General Public License as published by 12 ;; it under the terms of the GNU General Public License as published by
13 ;; the Free Software Foundation, either version 3 of the License, or 13 ;; the Free Software Foundation, either version 3 of the License, or
14 ;; (at your option) any later version. 14 ;; (at your option) any later version.
1655 'gdbmi)) 1655 'gdbmi))
1656 (if (member buffer-file-name gdb-source-file-list) 1656 (if (member buffer-file-name gdb-source-file-list)
1657 (with-current-buffer (find-buffer-visiting buffer-file-name) 1657 (with-current-buffer (find-buffer-visiting buffer-file-name)
1658 (gdb-init-buffer))))) 1658 (gdb-init-buffer)))))
1659 1659
1660 (declare-function gud-remove "gdb-ui" t t) ; gud-def 1660 (declare-function gud-remove "gdb-mi" t t) ; gud-def
1661 (declare-function gud-break "gdb-ui" t t) ; gud-def 1661 (declare-function gud-break "gdb-mi" t t) ; gud-def
1662 (declare-function fringe-bitmaps-at-pos "fringe.c" (&optional pos window)) 1662 (declare-function fringe-bitmaps-at-pos "fringe.c" (&optional pos window))
1663 1663
1664 (defun gdb-mouse-set-clear-breakpoint (event) 1664 (defun gdb-mouse-set-clear-breakpoint (event)
1665 "Set/clear breakpoint in left fringe/margin at mouse click. 1665 "Set/clear breakpoint in left fringe/margin at mouse click.
1666 If not in a source or disassembly buffer just set point." 1666 If not in a source or disassembly buffer just set point."