summaryrefslogtreecommitdiff
path: root/src/.gdbinit
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-07-25 03:14:29 +0000
committerJim Blandy <jimb@redhat.com>1993-07-25 03:14:29 +0000
commit6354fc25d3e290ed5800dd17a94569385a31c90f (patch)
tree3d7e84dd80ac2e9d1c341d054041ae09a667b6e5 /src/.gdbinit
parente0e93fee717c0828c79569eaa123bec2859b2d53 (diff)
downloademacs-6354fc25d3e290ed5800dd17a94569385a31c90f.tar.gz
Add size to geometry spec.
Specify sevenbit-strings in set print. (xfloat): New command.
Diffstat (limited to 'src/.gdbinit')
-rw-r--r--src/.gdbinit10
1 files changed, 9 insertions, 1 deletions
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.