aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1993-07-25 03:14:29 +0000
committerJim Blandy1993-07-25 03:14:29 +0000
commitdf86e57ea02b64a2fbb13541556b5cca545a62d8 (patch)
treeaeca203879f2f8c368304384eac83dd77a3f8626 /src
parent4eb5bf462db3c8efcc671a3b47c026190dcd88f0 (diff)
downloademacs-df86e57ea02b64a2fbb13541556b5cca545a62d8.tar.gz
emacs-df86e57ea02b64a2fbb13541556b5cca545a62d8.zip
Add size to geometry spec.
Specify sevenbit-strings in set print. (xfloat): New command.
Diffstat (limited to 'src')
-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
146Print the address of the struct Lisp_process which the Lisp_Object $ points to. 146Print the address of the struct Lisp_process which the Lisp_Object $ points to.
147end 147end
148 148
149define xfloat
150print ((struct Lisp_Float *) (($ & 0x00ffffff) | $data_seg_bits))->data
151end
152document xfloat
153Print $ assuming it is a lisp floating-point number.
154end
155
149define xscrollbar 156define xscrollbar
150print (struct scrollbar *) (($ & 0x00ffffff) | $data_seg_bits) 157print (struct scrollbar *) (($ & 0x00ffffff) | $data_seg_bits)
151output *$ 158output *$
@@ -156,12 +163,13 @@ Print $ as a scrollbar pointer.
156end 163end
157 164
158set print pretty on 165set print pretty on
166set print sevenbit-strings
159 167
160unset environment TERMCAP 168unset environment TERMCAP
161unset environment TERM 169unset environment TERM
162echo TERMCAP and TERM environment variables unset.\n 170echo TERMCAP and TERM environment variables unset.\n
163show environment DISPLAY 171show environment DISPLAY
164set args -q -geometry +0+0 172set args -q -geometry 80x40+0+0
165 173
166# Don't let abort actually run, as it will make 174# Don't let abort actually run, as it will make
167# stdio stop working and therefore the `pr' command above as well. 175# stdio stop working and therefore the `pr' command above as well.