annotate src/.gdbinit @ 10100:461530f66e34

(gettext): Make sure this is always defined, even #if emacs. (NULL): No need to #undef this anymore; Emacs uses NILP now.
author Karl Heuer <kwzh@gnu.org>
date Thu, 01 Dec 1994 22:59:35 +0000
parents def3ab3a6f01
children 0de933eb95a2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1 # Set up something to print out s-expressions.
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
2 define pr
6534
19aacadabdc0 (pr): Use debug_print.
Richard M. Stallman <rms@gnu.org>
parents: 5403
diff changeset
3 set debug_print ($)
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
4 echo \n
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
5 end
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
6 document pr
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
7 Print the emacs s-expression which is $.
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
8 Works only when an inferior emacs is executing.
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
9 end
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
10
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
11 # Set this to the same thing as the DATA_SEG_BITS macro in your
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
12 # machine-description files.
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
13 set $data_seg_bits = 0
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
14
1551
1f7d20c707c0 Added `mips' command.
Jim Blandy <jimb@redhat.com>
parents: 1113
diff changeset
15 define mips
1f7d20c707c0 Added `mips' command.
Jim Blandy <jimb@redhat.com>
parents: 1113
diff changeset
16 set $data_seg_bits = 0x10000000
1f7d20c707c0 Added `mips' command.
Jim Blandy <jimb@redhat.com>
parents: 1113
diff changeset
17 end
1f7d20c707c0 Added `mips' command.
Jim Blandy <jimb@redhat.com>
parents: 1113
diff changeset
18 document mips
1f7d20c707c0 Added `mips' command.
Jim Blandy <jimb@redhat.com>
parents: 1113
diff changeset
19 Set up the xfoo macros to deal with the MIPS processor.
1f7d20c707c0 Added `mips' command.
Jim Blandy <jimb@redhat.com>
parents: 1113
diff changeset
20 Specifically, this sets $data_seg_bits to the right thing.
1f7d20c707c0 Added `mips' command.
Jim Blandy <jimb@redhat.com>
parents: 1113
diff changeset
21 end
1f7d20c707c0 Added `mips' command.
Jim Blandy <jimb@redhat.com>
parents: 1113
diff changeset
22
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
23 define xtype
999
d8d503897aa5 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 949
diff changeset
24 output (enum Lisp_Type) (($ >> 24) & 0x7f)
d8d503897aa5 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 949
diff changeset
25 echo \n
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
26 end
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
27 document xtype
7962
05260d3b988d Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 7961
diff changeset
28 Print the type of $, assuming it is an Emacs Lisp value.
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
29 end
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
30
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
31 define xint
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
32 print (($ & 0x00ffffff) << 8) >> 8
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
33 end
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
34 document xint
7962
05260d3b988d Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 7961
diff changeset
35 Print $, assuming it is an Emacs Lisp integer. This gets the sign right.
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
36 end
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
37
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
38 define xptr
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
39 print (void *) (($ & 0x00ffffff) | $data_seg_bits)
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
40 end
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
41 document xptr
7962
05260d3b988d Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 7961
diff changeset
42 Print the pointer portion of $, assuming it is an Emacs Lisp value.
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
43 end
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
44
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
45 define xwindow
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
46 print (struct window *) (($ & 0x00ffffff) | $data_seg_bits)
999
d8d503897aa5 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 949
diff changeset
47 printf "%dx%d+%d+%d\n", $->width, $->height, $->left, $->top
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
48 end
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
49 document xwindow
7962
05260d3b988d Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 7961
diff changeset
50 Print $ as a window pointer, assuming it is an Emacs Lisp window value.
999
d8d503897aa5 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 949
diff changeset
51 Print the window's position as "WIDTHxHEIGHT+LEFT+TOP".
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
52 end
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
53
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
54 define xmarker
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
55 print (struct Lisp_Marker *) (($ & 0x00ffffff) | $data_seg_bits)
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
56 end
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
57 document xmarker
7962
05260d3b988d Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 7961
diff changeset
58 Print $ as a marker pointer, assuming it is an Emacs Lisp marker value.
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
59 end
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
60
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
61 define xbuffer
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
62 print (struct buffer *) (($ & 0x00ffffff) | $data_seg_bits)
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
63 output &((struct Lisp_String *) ((($->name) & 0x00ffffff) | $data_seg_bits))->data
999
d8d503897aa5 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 949
diff changeset
64 echo \n
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
65 end
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
66 document xbuffer
7962
05260d3b988d Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 7961
diff changeset
67 Set $ as a buffer pointer, assuming it is an Emacs Lisp buffer value.
727
540b047ece4d *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 648
diff changeset
68 Print the name of the buffer.
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
69 end
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
70
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
71 define xsymbol
7961
f3e1a5c7bba1 (xsymbol): Cast $ to int.
Richard M. Stallman <rms@gnu.org>
parents: 6534
diff changeset
72 print (struct Lisp_Symbol *) ((((int) $) & 0x00ffffff) | $data_seg_bits)
999
d8d503897aa5 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 949
diff changeset
73 output &$->name->data
d8d503897aa5 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 949
diff changeset
74 echo \n
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
75 end
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
76 document xsymbol
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
77 Print the name and address of the symbol $.
7962
05260d3b988d Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 7961
diff changeset
78 This command assumes that $ is an Emacs Lisp symbol value.
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
79 end
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
80
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
81 define xstring
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
82 print (struct Lisp_String *) (($ & 0x00ffffff) | $data_seg_bits)
7961
f3e1a5c7bba1 (xsymbol): Cast $ to int.
Richard M. Stallman <rms@gnu.org>
parents: 6534
diff changeset
83 output ($->size > 1000) ? 0 : ($->data[0])@($->size)
999
d8d503897aa5 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 949
diff changeset
84 echo \n
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
85 end
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
86 document xstring
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
87 Print the contents and address of the string $.
7962
05260d3b988d Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 7961
diff changeset
88 This command assumes that $ is an Emacs Lisp string value.
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
89 end
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
90
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
91 define xvector
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
92 print (struct Lisp_Vector *) (($ & 0x00ffffff) | $data_seg_bits)
7961
f3e1a5c7bba1 (xsymbol): Cast $ to int.
Richard M. Stallman <rms@gnu.org>
parents: 6534
diff changeset
93 output ($->size > 50) ? 0 : ($->contents[0])@($->size)
999
d8d503897aa5 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 949
diff changeset
94 echo \n
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
95 end
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
96 document xvector
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
97 Print the contents and address of the vector $.
7962
05260d3b988d Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 7961
diff changeset
98 This command assumes that $ is an Emacs Lisp vector value.
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
99 end
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
100
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
101 define xframe
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
102 print (struct frame *) (($ & 0x00ffffff) | $data_seg_bits)
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
103 end
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
104 document xframe
7962
05260d3b988d Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 7961
diff changeset
105 Print $ as a frame pointer, assuming it is an Emacs Lisp frame value.
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
106 end
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
107
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
108 define xcons
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
109 print (struct Lisp_Cons *) (($ & 0x00ffffff) | $data_seg_bits)
1069
ee559fe0f1ab *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 1039
diff changeset
110 output *$
999
d8d503897aa5 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 949
diff changeset
111 echo \n
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
112 end
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
113 document xcons
7962
05260d3b988d Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 7961
diff changeset
114 Print the contents of $, assuming it is an Emacs Lisp cons.
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
115 end
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
116
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
117 define xcar
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
118 print ((($ >> 24) & 0x7f) == Lisp_Cons ? ((struct Lisp_Cons *) (($ & 0x00ffffff) | $data_seg_bits))->car : 0)
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
119 end
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
120 document xcar
7962
05260d3b988d Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 7961
diff changeset
121 Print the car of $, assuming it is an Emacs Lisp pair.
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
122 end
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
123
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
124 define xcdr
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
125 print ((($ >> 24) & 0x7f) == Lisp_Cons ? ((struct Lisp_Cons *) (($ & 0x00ffffff) | $data_seg_bits))->cdr : 0)
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
126 end
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
127 document xcdr
7962
05260d3b988d Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 7961
diff changeset
128 Print the cdr of $, assuming it is an Emacs Lisp pair.
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
129 end
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
130
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
131 define xsubr
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
132 print (struct Lisp_Subr *) (($ & 0x00ffffff) | $data_seg_bits)
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
133 output *$
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
134 echo \n
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
135 end
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
136 document xsubr
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
137 Print the address of the subr which the Lisp_Object $ points to.
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
138 end
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
139
1943
80482f2d54bf * .gdbinit (xprocess): New command.
Jim Blandy <jimb@redhat.com>
parents: 1789
diff changeset
140 define xprocess
80482f2d54bf * .gdbinit (xprocess): New command.
Jim Blandy <jimb@redhat.com>
parents: 1789
diff changeset
141 print (struct Lisp_Process *) (($ & 0x00ffffff) | $data_seg_bits)
80482f2d54bf * .gdbinit (xprocess): New command.
Jim Blandy <jimb@redhat.com>
parents: 1789
diff changeset
142 output *$
80482f2d54bf * .gdbinit (xprocess): New command.
Jim Blandy <jimb@redhat.com>
parents: 1789
diff changeset
143 echo \n
80482f2d54bf * .gdbinit (xprocess): New command.
Jim Blandy <jimb@redhat.com>
parents: 1789
diff changeset
144 end
80482f2d54bf * .gdbinit (xprocess): New command.
Jim Blandy <jimb@redhat.com>
parents: 1789
diff changeset
145 document xprocess
80482f2d54bf * .gdbinit (xprocess): New command.
Jim Blandy <jimb@redhat.com>
parents: 1789
diff changeset
146 Print the address of the struct Lisp_process which the Lisp_Object $ points to.
80482f2d54bf * .gdbinit (xprocess): New command.
Jim Blandy <jimb@redhat.com>
parents: 1789
diff changeset
147 end
80482f2d54bf * .gdbinit (xprocess): New command.
Jim Blandy <jimb@redhat.com>
parents: 1789
diff changeset
148
4267
aabcab2eab73 Add size to geometry spec.
Jim Blandy <jimb@redhat.com>
parents: 2162
diff changeset
149 define xfloat
aabcab2eab73 Add size to geometry spec.
Jim Blandy <jimb@redhat.com>
parents: 2162
diff changeset
150 print ((struct Lisp_Float *) (($ & 0x00ffffff) | $data_seg_bits))->data
aabcab2eab73 Add size to geometry spec.
Jim Blandy <jimb@redhat.com>
parents: 2162
diff changeset
151 end
aabcab2eab73 Add size to geometry spec.
Jim Blandy <jimb@redhat.com>
parents: 2162
diff changeset
152 document xfloat
aabcab2eab73 Add size to geometry spec.
Jim Blandy <jimb@redhat.com>
parents: 2162
diff changeset
153 Print $ assuming it is a lisp floating-point number.
aabcab2eab73 Add size to geometry spec.
Jim Blandy <jimb@redhat.com>
parents: 2162
diff changeset
154 end
aabcab2eab73 Add size to geometry spec.
Jim Blandy <jimb@redhat.com>
parents: 2162
diff changeset
155
1789
2c65d1a8af09 * .gdbinit: Add "-geometry +0+0" to default args.
Jim Blandy <jimb@redhat.com>
parents: 1551
diff changeset
156 define xscrollbar
2c65d1a8af09 * .gdbinit: Add "-geometry +0+0" to default args.
Jim Blandy <jimb@redhat.com>
parents: 1551
diff changeset
157 print (struct scrollbar *) (($ & 0x00ffffff) | $data_seg_bits)
2c65d1a8af09 * .gdbinit: Add "-geometry +0+0" to default args.
Jim Blandy <jimb@redhat.com>
parents: 1551
diff changeset
158 output *$
2c65d1a8af09 * .gdbinit: Add "-geometry +0+0" to default args.
Jim Blandy <jimb@redhat.com>
parents: 1551
diff changeset
159 echo \n
2c65d1a8af09 * .gdbinit: Add "-geometry +0+0" to default args.
Jim Blandy <jimb@redhat.com>
parents: 1551
diff changeset
160 end
4268
0795ced6013f (xscrollbar): Fix typo specifying doc string.
Richard M. Stallman <rms@gnu.org>
parents: 4267
diff changeset
161 document xscrollbar
1789
2c65d1a8af09 * .gdbinit: Add "-geometry +0+0" to default args.
Jim Blandy <jimb@redhat.com>
parents: 1551
diff changeset
162 Print $ as a scrollbar pointer.
2c65d1a8af09 * .gdbinit: Add "-geometry +0+0" to default args.
Jim Blandy <jimb@redhat.com>
parents: 1551
diff changeset
163 end
2c65d1a8af09 * .gdbinit: Add "-geometry +0+0" to default args.
Jim Blandy <jimb@redhat.com>
parents: 1551
diff changeset
164
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
165 set print pretty on
4267
aabcab2eab73 Add size to geometry spec.
Jim Blandy <jimb@redhat.com>
parents: 2162
diff changeset
166 set print sevenbit-strings
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
167
732
a8d94735277e *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 727
diff changeset
168 show environment DISPLAY
4487
177aaa70734d Don't put -q in args.
Richard M. Stallman <rms@gnu.org>
parents: 4268
diff changeset
169 show environment TERM
177aaa70734d Don't put -q in args.
Richard M. Stallman <rms@gnu.org>
parents: 4268
diff changeset
170 set args -geometry 80x40+0+0
732
a8d94735277e *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 727
diff changeset
171
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
172 # Don't let abort actually run, as it will make
2162
1dcc4e12b8dd Doc fix.
Jim Blandy <jimb@redhat.com>
parents: 1943
diff changeset
173 # stdio stop working and therefore the `pr' command above as well.
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
174 break abort
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
175
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
176 # If we are running in synchronous mode, we want a chance to look around
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
177 # before Emacs exits. Perhaps we should put the break somewhere else
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
178 # instead...
8310
def3ab3a6f01 Set the breakpoint in x_error_quitter instead of _XPrintDefaultError.
Richard M. Stallman <rms@gnu.org>
parents: 7962
diff changeset
179 break x_error_quitter
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
180
8310
def3ab3a6f01 Set the breakpoint in x_error_quitter instead of _XPrintDefaultError.
Richard M. Stallman <rms@gnu.org>
parents: 7962
diff changeset
181