Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
3723ec07
Commit
3723ec07
authored
Feb 04, 2012
by
Andreas Schwab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* .gdbinit (pp1, pv1): Remove redundant defines.
(pr): Use pp.
parent
34c99998
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
36 deletions
+7
-36
src/.gdbinit
src/.gdbinit
+2
-36
src/ChangeLog
src/ChangeLog
+5
-0
No files found.
src/.gdbinit
View file @
3723ec07
...
...
@@ -67,10 +67,7 @@ end
# from calling OutputDebugString, which causes GDB to display each
# character twice (yuk!).
define pr
set $output_debug = print_output_debug_flag
set print_output_debug_flag = 0
set debug_print ($)
set print_output_debug_flag = $output_debug
pp $
end
document pr
Print the emacs s-expression which is $.
...
...
@@ -90,48 +87,17 @@ Print the argument as an emacs s-expression
Works only when an inferior emacs is executing.
end
# Print out s-expressions from tool bar
define pp1
set $tmp = $arg0
set $output_debug = print_output_debug_flag
set print_output_debug_flag = 0
set safe_debug_print ($tmp)
set print_output_debug_flag = $output_debug
end
document pp1
Print the argument as an emacs s-expression.
Works only when an inferior emacs is executing.
For use on tool bar when debugging in Emacs
where the variable name would not otherwise
be recorded in the GUD buffer.
end
# Print value of lisp variable
define pv
set $tmp = "$arg0"
set $output_debug = print_output_debug_flag
set print_output_debug_flag = 0
set safe_debug_print ( find_symbol_value (intern ($tmp)))
set print_output_debug_flag = $output_debug
end
document pv
Print the value of the lisp variable given as argument.
Works only when an inferior emacs is executing.
end
# Print value of lisp variable
define pv1
set $tmp = "$arg0"
set $output_debug = print_output_debug_flag
set print_output_debug_flag = 0
set safe_debug_print (find_symbol_value (intern ($tmp)))
set print_output_debug_flag = $output_debug
end
document pv
1
document pv
Print the value of the lisp variable given as argument.
Works only when an inferior emacs is executing.
For use when debugging in Emacs where the variable
name would not otherwise be recorded in the GUD buffer.
end
# Print out current buffer point and boundaries
...
...
src/ChangeLog
View file @
3723ec07
2012-02-04 Andreas Schwab <schwab@linux-m68k.org>
* .gdbinit (pp1, pv1): Remove redundant defines.
(pr): Use pp.
2012-02-04 Chong Yidong <cyd@gnu.org>
* nsterm.m: Declare a global (Bug#10694).
...
...
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