From df86e57ea02b64a2fbb13541556b5cca545a62d8 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Sun, 25 Jul 1993 03:14:29 +0000 Subject: [PATCH] Add size to geometry spec. Specify sevenbit-strings in set print. (xfloat): New command. --- src/.gdbinit | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/.gdbinit b/src/.gdbinit index f5dc66d2782..2fa6260e0a3 100644 --- a/src/.gdbinit +++ b/src/.gdbinit @@ -146,6 +146,13 @@ document xprocess Print the address of the struct Lisp_process which the Lisp_Object $ points to. end +define xfloat +print ((struct Lisp_Float *) (($ & 0x00ffffff) | $data_seg_bits))->data +end +document xfloat +Print $ assuming it is a lisp floating-point number. +end + define xscrollbar print (struct scrollbar *) (($ & 0x00ffffff) | $data_seg_bits) output *$ @@ -156,12 +163,13 @@ Print $ as a scrollbar pointer. end set print pretty on +set print sevenbit-strings unset environment TERMCAP unset environment TERM echo TERMCAP and TERM environment variables unset.\n show environment DISPLAY -set args -q -geometry +0+0 +set args -q -geometry 80x40+0+0 # Don't let abort actually run, as it will make # stdio stop working and therefore the `pr' command above as well.