Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
517045bc
Commit
517045bc
authored
Feb 16, 2008
by
Nick Roberts
Browse files
(gud-gdb): Don't reset gdb-ready.
(gdb-ready): Move declaration to gdb-ui.el.
parent
ef6cb9e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
lisp/progmodes/gud.el
lisp/progmodes/gud.el
+2
-6
No files found.
lisp/progmodes/gud.el
View file @
517045bc
...
...
@@ -63,7 +63,7 @@
(
defgroup
gud
nil
"Grand Unified Debugger mode for gdb and other debuggers under Emacs.
Supported debuggers include gdb, sdb, dbx, xdb, perldb, pdb (Python)
,
jdb."
Supported debuggers include gdb, sdb, dbx, xdb, perldb, pdb (Python)
and
jdb."
:group
'processes
:group
'tools
)
...
...
@@ -109,8 +109,6 @@ If SOFT is non-nil, returns nil if the symbol doesn't already exist."
"Non-nil if debugged program is running.
Used to grey out relevant toolbar icons."
)
(
defvar
gdb-ready
nil
)
(
defvar
gud-target-name
"--unknown--"
"The apparent name of the program being debugged in a gud buffer."
)
...
...
@@ -771,7 +769,6 @@ directory and source-file directory for your debugger."
(
setq
paragraph-start
comint-prompt-regexp
)
(
setq
gdb-first-prompt
t
)
(
setq
gud-running
nil
)
(
setq
gdb-ready
nil
)
(
setq
gud-filter-pending-text
nil
)
(
run-hooks
'gud-gdb-mode-hook
))
...
...
@@ -2307,7 +2304,6 @@ gud, see `gud-mode'."
(gud-def gud-run "run" nil "Run the program.") ;if VM start using jdb
(gud-def gud-print "print %e" "\C-p" "Evaluate Java expression at point.")
(setq comint-prompt-regexp "^> \\|^[^
]+\\[[0-9]+\\]
")
(setq paragraph-start comint-prompt-regexp)
(run-hooks 'jdb-mode-hook)
...
...
@@ -2867,7 +2863,7 @@ Obeying it means displaying in another window the specified file and line."
(set-marker-insertion-type gud-delete-prompt-marker t))
(unless (eq (buffer-local-value 'gud-minor-mode gud-comint-buffer)
'jdb)
(insert (concat expr " = "))))))
(insert (concat expr " = "))))))
expr))
;; The next eight functions are hacked from gdbsrc.el by
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment