Mercurial > emacs
changeset 70247:039ae41bde1a
(pp1, pv1): Only print value as expression is now printed out by gud-print.
(pv1): Correct doc string.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Wed, 26 Apr 2006 23:02:33 +0000 |
parents | 1d0a74e54e50 |
children | 4fc61ee2deb2 |
files | src/.gdbinit |
diffstat | 1 files changed, 3 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/.gdbinit Wed Apr 26 23:01:51 2006 +0000 +++ b/src/.gdbinit Wed Apr 26 23:02:33 2006 +0000 @@ -88,15 +88,13 @@ # Print out s-expressions from tool bar define pp1 set $tmp = $arg0 - echo $arg0 - printf " = " 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 +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 @@ -119,8 +117,6 @@ # Print value of lisp variable define pv1 set $tmp = "$arg0" - echo $arg0 - printf " = " set $output_debug = print_output_debug_flag set print_output_debug_flag = 0 set safe_debug_print (find_symbol_value (intern ($tmp))) @@ -129,9 +125,8 @@ document pv1 Print the value of the lisp variable given as argument. 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. +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