diff options
Diffstat (limited to 'src/.gdbinit')
-rw-r--r-- | src/.gdbinit | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/.gdbinit b/src/.gdbinit index 3af7e369923..b7716f0e904 100644 --- a/src/.gdbinit +++ b/src/.gdbinit @@ -60,6 +60,16 @@ Print the emacs s-expression which is $. 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 @@ document xreload 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 |