changeset 57306:aca7edaa93d4

(pp): Shorthand for p ARG + pr. (ff): New command: flush frame updates (X only).
author Kim F. Storm <storm@cua.dk>
date Mon, 04 Oct 2004 13:34:59 +0000
parents a2bd703d2498
children 7e6072c66e67
files src/.gdbinit
diffstat 1 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/.gdbinit	Mon Oct 04 13:34:31 2004 +0000
+++ b/src/.gdbinit	Mon Oct 04 13:34:59 2004 +0000
@@ -60,6 +60,16 @@
 Works only when an inferior emacs is executing.
 end
 
+# Print out s-expressions
+define pp
+  set $tmp = $arg0
+  set debug_print ($tmp)
+end
+document pp
+Print the argument as an emacs s-expression
+Works only when an inferior emacs is executing.
+end
+
 define xtype
   xgettype $
   output $type
@@ -429,6 +439,16 @@
 end
 xreload
 
+# Flush display (X only)
+define ff
+  set x_flush (0)
+end
+document ff
+Flush pending X window display updates to screen.
+Works only when an inferior emacs is executing.
+end
+
+
 define hook-run
   xreload
 end