annotate src/.gdbinit @ 13359:4c60f92bdaa6

Do `set main' to make gdb_valbits etc. available.
author Richard M. Stallman <rms@gnu.org>
date Tue, 31 Oct 1995 00:55:50 +0000
parents 6882fe187fa9
children efe2270f061c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
1 # Set up a mask to use.
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
2
13359
4c60f92bdaa6 Do `set main' to make gdb_valbits etc. available.
Richard M. Stallman <rms@gnu.org>
parents: 12278
diff changeset
3 # Force loading of symbols, enough to give us gdb_valbits etc.
4c60f92bdaa6 Do `set main' to make gdb_valbits etc. available.
Richard M. Stallman <rms@gnu.org>
parents: 12278
diff changeset
4 set main
4c60f92bdaa6 Do `set main' to make gdb_valbits etc. available.
Richard M. Stallman <rms@gnu.org>
parents: 12278
diff changeset
5
12278
6882fe187fa9 Use long, not EMACS_INT.
Richard M. Stallman <rms@gnu.org>
parents: 12248
diff changeset
6 # This should be EMACS_INT, but in some cases that is a macro.
6882fe187fa9 Use long, not EMACS_INT.
Richard M. Stallman <rms@gnu.org>
parents: 12248
diff changeset
7 # long ought to work in all cases right now.
6882fe187fa9 Use long, not EMACS_INT.
Richard M. Stallman <rms@gnu.org>
parents: 12248
diff changeset
8 set $valmask = ((long)1 << gdb_valbits) - 1
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
9 set $nonvalbits = gdb_emacs_intbits - gdb_valbits
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
10
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
11 # Set up something to print out s-expressions.
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
12 define pr
6534
19aacadabdc0 (pr): Use debug_print.
Richard M. Stallman <rms@gnu.org>
parents: 5403
diff changeset
13 set debug_print ($)
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
14 echo \n
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
15 end
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
16 document pr
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
17 Print the emacs s-expression which is $.
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
18 Works only when an inferior emacs is executing.
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
19 end
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
20
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
21 define xtype
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
22 output (enum Lisp_Type) (($ >> gdb_valbits) & 0x7)
10299
0de933eb95a2 Adapt to new Lisp_Object format.
Richard M. Stallman <rms@gnu.org>
parents: 8310
diff changeset
23 echo \n
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
24 output ((($ >> gdb_valbits) & 0x7) == Lisp_Misc ? (enum Lisp_Misc_Type) (((struct Lisp_Free *) (($ & $valmask) | gdb_data_seg_bits))->type) : (($ >> gdb_valbits) & 0x7) == Lisp_Vectorlike ? ($size = ((struct Lisp_Vector *) (($ & $valmask) | gdb_data_seg_bits))->size, (enum pvec_type) (($size & PVEC_FLAG) ? $size & PVEC_TYPE_MASK : 0)) : 0)
999
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.
10299
0de933eb95a2 Adapt to new Lisp_Object format.
Richard M. Stallman <rms@gnu.org>
parents: 8310
diff changeset
29 If the first type printed is Lisp_Vector or Lisp_Misc,
0de933eb95a2 Adapt to new Lisp_Object format.
Richard M. Stallman <rms@gnu.org>
parents: 8310
diff changeset
30 the second line gives the more precise type.
0de933eb95a2 Adapt to new Lisp_Object format.
Richard M. Stallman <rms@gnu.org>
parents: 8310
diff changeset
31 Otherwise the second line doesn't mean anything.
0de933eb95a2 Adapt to new Lisp_Object format.
Richard M. Stallman <rms@gnu.org>
parents: 8310
diff changeset
32 end
0de933eb95a2 Adapt to new Lisp_Object format.
Richard M. Stallman <rms@gnu.org>
parents: 8310
diff changeset
33
0de933eb95a2 Adapt to new Lisp_Object format.
Richard M. Stallman <rms@gnu.org>
parents: 8310
diff changeset
34 define xvectype
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
35 set $size = ((struct Lisp_Vector *) (($ & $valmask) | gdb_data_seg_bits))->size
10299
0de933eb95a2 Adapt to new Lisp_Object format.
Richard M. Stallman <rms@gnu.org>
parents: 8310
diff changeset
36 output (enum pvec_type) (($size & PVEC_FLAG) ? $size & PVEC_TYPE_MASK : 0)
0de933eb95a2 Adapt to new Lisp_Object format.
Richard M. Stallman <rms@gnu.org>
parents: 8310
diff changeset
37 echo \n
0de933eb95a2 Adapt to new Lisp_Object format.
Richard M. Stallman <rms@gnu.org>
parents: 8310
diff changeset
38 end
0de933eb95a2 Adapt to new Lisp_Object format.
Richard M. Stallman <rms@gnu.org>
parents: 8310
diff changeset
39 document xvectype
0de933eb95a2 Adapt to new Lisp_Object format.
Richard M. Stallman <rms@gnu.org>
parents: 8310
diff changeset
40 Print the vector subtype of $, assuming it is a vector or pseudovector.
0de933eb95a2 Adapt to new Lisp_Object format.
Richard M. Stallman <rms@gnu.org>
parents: 8310
diff changeset
41 end
0de933eb95a2 Adapt to new Lisp_Object format.
Richard M. Stallman <rms@gnu.org>
parents: 8310
diff changeset
42
0de933eb95a2 Adapt to new Lisp_Object format.
Richard M. Stallman <rms@gnu.org>
parents: 8310
diff changeset
43 define xmisctype
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
44 output (enum Lisp_Misc_Type) (((struct Lisp_Free *) (($ & $valmask) | gdb_data_seg_bits))->type)
10299
0de933eb95a2 Adapt to new Lisp_Object format.
Richard M. Stallman <rms@gnu.org>
parents: 8310
diff changeset
45 echo \n
0de933eb95a2 Adapt to new Lisp_Object format.
Richard M. Stallman <rms@gnu.org>
parents: 8310
diff changeset
46 end
0de933eb95a2 Adapt to new Lisp_Object format.
Richard M. Stallman <rms@gnu.org>
parents: 8310
diff changeset
47 document xmisctype
0de933eb95a2 Adapt to new Lisp_Object format.
Richard M. Stallman <rms@gnu.org>
parents: 8310
diff changeset
48 Print the specific type of $, assuming it is some misc type.
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
49 end
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
50
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
51 define xint
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
52 print (($ & $valmask) << $nonvalbits) >> $nonvalbits
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
53 end
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
54 document xint
7962
05260d3b988d Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 7961
diff changeset
55 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
56 end
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
57
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
58 define xptr
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
59 print (void *) (($ & $valmask) | gdb_data_seg_bits)
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
60 end
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
61 document xptr
7962
05260d3b988d Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 7961
diff changeset
62 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
63 end
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
64
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
65 define xwindow
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
66 print (struct window *) (($ & $valmask) | gdb_data_seg_bits)
999
d8d503897aa5 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 949
diff changeset
67 printf "%dx%d+%d+%d\n", $->width, $->height, $->left, $->top
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
68 end
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
69 document xwindow
7962
05260d3b988d Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 7961
diff changeset
70 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
71 Print the window's position as "WIDTHxHEIGHT+LEFT+TOP".
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
72 end
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
73
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
74 define xmarker
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
75 print (struct Lisp_Marker *) (($ & $valmask) | gdb_data_seg_bits)
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
76 end
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
77 document xmarker
7962
05260d3b988d Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 7961
diff changeset
78 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
79 end
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
80
10483
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
81 define xoverlay
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
82 print (struct Lisp_Overlay *) (($ & $valmask) | gdb_data_seg_bits)
10483
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
83 end
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
84 document xoverlay
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
85 Print $ as a overlay pointer, assuming it is an Emacs Lisp overlay value.
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
86 end
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
87
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
88 define xmiscfree
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
89 print (struct Lisp_Free *) (($ & $valmask) | gdb_data_seg_bits)
10483
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
90 end
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
91 document xmiscfree
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
92 Print $ as a misc free-cell pointer, assuming it is an Emacs Lisp Misc value.
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
93 end
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
94
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
95 define xintfwd
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
96 print (struct Lisp_Intfwd *) (($ & $valmask) | gdb_data_seg_bits)
10483
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
97 end
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
98 document xintfwd
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
99 Print $ as an integer forwarding pointer, assuming it is an Emacs Lisp Misc value.
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
100 end
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
101
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
102 define xboolfwd
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
103 print (struct Lisp_Boolfwd *) (($ & $valmask) | gdb_data_seg_bits)
10483
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
104 end
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
105 document xboolfwd
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
106 Print $ as a boolean forwarding pointer, assuming it is an Emacs Lisp Misc value.
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
107 end
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
108
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
109 define xobjfwd
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
110 print (struct Lisp_Objfwd *) (($ & $valmask) | gdb_data_seg_bits)
10483
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
111 end
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
112 document xobjfwd
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
113 Print $ as an object forwarding pointer, assuming it is an Emacs Lisp Misc value.
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
114 end
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
115
10495
70bd087c47a9 (xbufobjfwd, xbuflocal, xwinconfig):
Karl Heuer <kwzh@gnu.org>
parents: 10483
diff changeset
116 define xbufobjfwd
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
117 print (struct Lisp_Buffer_Objfwd *) (($ & $valmask) | gdb_data_seg_bits)
10483
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
118 end
10495
70bd087c47a9 (xbufobjfwd, xbuflocal, xwinconfig):
Karl Heuer <kwzh@gnu.org>
parents: 10483
diff changeset
119 document xbufobjfwd
10483
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
120 Print $ as a buffer-local object forwarding pointer, assuming it is an Emacs Lisp Misc value.
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
121 end
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
122
11006
2aa4135eee50 (xkbobjfwd): Renamed from xdispobjfwd.
Karl Heuer <kwzh@gnu.org>
parents: 10582
diff changeset
123 define xkbobjfwd
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
124 print (struct Lisp_Kboard_Objfwd *) (($ & $valmask) | gdb_data_seg_bits)
10582
6063c1f07723 (xdispobjfwd): New macro.
Karl Heuer <kwzh@gnu.org>
parents: 10495
diff changeset
125 end
11006
2aa4135eee50 (xkbobjfwd): Renamed from xdispobjfwd.
Karl Heuer <kwzh@gnu.org>
parents: 10582
diff changeset
126 document xkbobjfwd
2aa4135eee50 (xkbobjfwd): Renamed from xdispobjfwd.
Karl Heuer <kwzh@gnu.org>
parents: 10582
diff changeset
127 Print $ as a kboard-local object forwarding pointer, assuming it is an Emacs Lisp Misc value.
10582
6063c1f07723 (xdispobjfwd): New macro.
Karl Heuer <kwzh@gnu.org>
parents: 10495
diff changeset
128 end
6063c1f07723 (xdispobjfwd): New macro.
Karl Heuer <kwzh@gnu.org>
parents: 10495
diff changeset
129
10495
70bd087c47a9 (xbufobjfwd, xbuflocal, xwinconfig):
Karl Heuer <kwzh@gnu.org>
parents: 10483
diff changeset
130 define xbuflocal
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
131 print (struct Lisp_Buffer_Local_Value *) (($ & $valmask) | gdb_data_seg_bits)
10483
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
132 end
10495
70bd087c47a9 (xbufobjfwd, xbuflocal, xwinconfig):
Karl Heuer <kwzh@gnu.org>
parents: 10483
diff changeset
133 document xbuflocal
10483
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
134 Print $ as a buffer-local-value pointer, assuming it is an Emacs Lisp Misc value.
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
135 end
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
136
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
137 define xbuffer
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
138 print (struct buffer *) (($ & $valmask) | gdb_data_seg_bits)
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
139 output &((struct Lisp_String *) ((($->name) & $valmask) | gdb_data_seg_bits))->data
999
d8d503897aa5 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 949
diff changeset
140 echo \n
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
141 end
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
142 document xbuffer
7962
05260d3b988d Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 7961
diff changeset
143 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
144 Print the name of the buffer.
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
145 end
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
146
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
147 define xsymbol
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
148 print (struct Lisp_Symbol *) ((((int) $) & $valmask) | gdb_data_seg_bits)
999
d8d503897aa5 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 949
diff changeset
149 output &$->name->data
d8d503897aa5 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 949
diff changeset
150 echo \n
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
151 end
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
152 document xsymbol
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
153 Print the name and address of the symbol $.
7962
05260d3b988d Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 7961
diff changeset
154 This command assumes that $ is an Emacs Lisp symbol value.
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
155 end
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
156
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
157 define xstring
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
158 print (struct Lisp_String *) (($ & $valmask) | gdb_data_seg_bits)
7961
f3e1a5c7bba1 (xsymbol): Cast $ to int.
Richard M. Stallman <rms@gnu.org>
parents: 6534
diff changeset
159 output ($->size > 1000) ? 0 : ($->data[0])@($->size)
999
d8d503897aa5 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 949
diff changeset
160 echo \n
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
161 end
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
162 document xstring
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
163 Print the contents and address of the string $.
7962
05260d3b988d Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 7961
diff changeset
164 This command assumes that $ is an Emacs Lisp string value.
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
165 end
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
166
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
167 define xvector
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
168 print (struct Lisp_Vector *) (($ & $valmask) | gdb_data_seg_bits)
7961
f3e1a5c7bba1 (xsymbol): Cast $ to int.
Richard M. Stallman <rms@gnu.org>
parents: 6534
diff changeset
169 output ($->size > 50) ? 0 : ($->contents[0])@($->size)
999
d8d503897aa5 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 949
diff changeset
170 echo \n
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
171 end
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
172 document xvector
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
173 Print the contents and address of the vector $.
7962
05260d3b988d Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 7961
diff changeset
174 This command assumes that $ is an Emacs Lisp vector value.
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
175 end
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
176
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
177 define xframe
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
178 print (struct frame *) (($ & $valmask) | gdb_data_seg_bits)
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
179 end
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
180 document xframe
7962
05260d3b988d Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 7961
diff changeset
181 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
182 end
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
183
10495
70bd087c47a9 (xbufobjfwd, xbuflocal, xwinconfig):
Karl Heuer <kwzh@gnu.org>
parents: 10483
diff changeset
184 define xwinconfig
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
185 print (struct save_window_data *) (($ & $valmask) | gdb_data_seg_bits)
10483
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
186 end
10495
70bd087c47a9 (xbufobjfwd, xbuflocal, xwinconfig):
Karl Heuer <kwzh@gnu.org>
parents: 10483
diff changeset
187 document xwinconfig
10483
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
188 Print $ as a window configuration pointer, assuming it is an Emacs Lisp window configuration value.
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
189 end
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
190
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
191 define xcompiled
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
192 print (struct Lisp_Vector *) (($ & $valmask) | gdb_data_seg_bits)
10483
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
193 output ($->contents[0])@($->size & 0xff)
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
194 end
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
195 document xcompiled
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
196 Print $ as a compiled function pointer, assuming it is an Emacs Lisp compiled value.
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
197 end
727cd2061e2a (xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
Karl Heuer <kwzh@gnu.org>
parents: 10337
diff changeset
198
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
199 define xcons
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
200 print (struct Lisp_Cons *) (($ & $valmask) | gdb_data_seg_bits)
1069
ee559fe0f1ab *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 1039
diff changeset
201 output *$
999
d8d503897aa5 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 949
diff changeset
202 echo \n
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
203 end
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
204 document xcons
7962
05260d3b988d Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 7961
diff changeset
205 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
206 end
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
207
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
208 define xcar
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
209 print ((($ >> gdb_valbits) & 0xf) == Lisp_Cons ? ((struct Lisp_Cons *) (($ & $valmask) | gdb_data_seg_bits))->car : 0)
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
210 end
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
211 document xcar
7962
05260d3b988d Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 7961
diff changeset
212 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
213 end
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
214
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
215 define xcdr
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
216 print ((($ >> gdb_valbits) & 0xf) == Lisp_Cons ? ((struct Lisp_Cons *) (($ & $valmask) | gdb_data_seg_bits))->cdr : 0)
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
217 end
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
218 document xcdr
7962
05260d3b988d Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 7961
diff changeset
219 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
220 end
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
221
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
222 define xsubr
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
223 print (struct Lisp_Subr *) (($ & $valmask) | gdb_data_seg_bits)
1113
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
224 output *$
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
225 echo \n
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
226 end
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
227 document xsubr
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
228 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
229 end
0ffcf74fb8ad entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1069
diff changeset
230
1943
80482f2d54bf * .gdbinit (xprocess): New command.
Jim Blandy <jimb@redhat.com>
parents: 1789
diff changeset
231 define xprocess
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
232 print (struct Lisp_Process *) (($ & $valmask) | gdb_data_seg_bits)
1943
80482f2d54bf * .gdbinit (xprocess): New command.
Jim Blandy <jimb@redhat.com>
parents: 1789
diff changeset
233 output *$
80482f2d54bf * .gdbinit (xprocess): New command.
Jim Blandy <jimb@redhat.com>
parents: 1789
diff changeset
234 echo \n
80482f2d54bf * .gdbinit (xprocess): New command.
Jim Blandy <jimb@redhat.com>
parents: 1789
diff changeset
235 end
80482f2d54bf * .gdbinit (xprocess): New command.
Jim Blandy <jimb@redhat.com>
parents: 1789
diff changeset
236 document xprocess
80482f2d54bf * .gdbinit (xprocess): New command.
Jim Blandy <jimb@redhat.com>
parents: 1789
diff changeset
237 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
238 end
80482f2d54bf * .gdbinit (xprocess): New command.
Jim Blandy <jimb@redhat.com>
parents: 1789
diff changeset
239
4267
aabcab2eab73 Add size to geometry spec.
Jim Blandy <jimb@redhat.com>
parents: 2162
diff changeset
240 define xfloat
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
241 print ((struct Lisp_Float *) (($ & $valmask) | gdb_data_seg_bits))->data
4267
aabcab2eab73 Add size to geometry spec.
Jim Blandy <jimb@redhat.com>
parents: 2162
diff changeset
242 end
aabcab2eab73 Add size to geometry spec.
Jim Blandy <jimb@redhat.com>
parents: 2162
diff changeset
243 document xfloat
aabcab2eab73 Add size to geometry spec.
Jim Blandy <jimb@redhat.com>
parents: 2162
diff changeset
244 Print $ assuming it is a lisp floating-point number.
aabcab2eab73 Add size to geometry spec.
Jim Blandy <jimb@redhat.com>
parents: 2162
diff changeset
245 end
aabcab2eab73 Add size to geometry spec.
Jim Blandy <jimb@redhat.com>
parents: 2162
diff changeset
246
1789
2c65d1a8af09 * .gdbinit: Add "-geometry +0+0" to default args.
Jim Blandy <jimb@redhat.com>
parents: 1551
diff changeset
247 define xscrollbar
11872
a28bd38b2ff3 gdb_lisp_params to get storage layout info.
Karl Heuer <kwzh@gnu.org>
parents: 11006
diff changeset
248 print (struct scrollbar *) (($ & $valmask) | gdb_data_seg_bits)
1789
2c65d1a8af09 * .gdbinit: Add "-geometry +0+0" to default args.
Jim Blandy <jimb@redhat.com>
parents: 1551
diff changeset
249 output *$
2c65d1a8af09 * .gdbinit: Add "-geometry +0+0" to default args.
Jim Blandy <jimb@redhat.com>
parents: 1551
diff changeset
250 echo \n
2c65d1a8af09 * .gdbinit: Add "-geometry +0+0" to default args.
Jim Blandy <jimb@redhat.com>
parents: 1551
diff changeset
251 end
4268
0795ced6013f (xscrollbar): Fix typo specifying doc string.
Richard M. Stallman <rms@gnu.org>
parents: 4267
diff changeset
252 document xscrollbar
1789
2c65d1a8af09 * .gdbinit: Add "-geometry +0+0" to default args.
Jim Blandy <jimb@redhat.com>
parents: 1551
diff changeset
253 Print $ as a scrollbar pointer.
2c65d1a8af09 * .gdbinit: Add "-geometry +0+0" to default args.
Jim Blandy <jimb@redhat.com>
parents: 1551
diff changeset
254 end
2c65d1a8af09 * .gdbinit: Add "-geometry +0+0" to default args.
Jim Blandy <jimb@redhat.com>
parents: 1551
diff changeset
255
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 567
diff changeset
256 set print pretty on
4267
aabcab2eab73 Add size to geometry spec.
Jim Blandy <jimb@redhat.com>
parents: 2162
diff changeset
257 set print sevenbit-strings
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
258
732
a8d94735277e *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 727
diff changeset
259 show environment DISPLAY
4487
177aaa70734d Don't put -q in args.
Richard M. Stallman <rms@gnu.org>
parents: 4268
diff changeset
260 show environment TERM
177aaa70734d Don't put -q in args.
Richard M. Stallman <rms@gnu.org>
parents: 4268
diff changeset
261 set args -geometry 80x40+0+0
732
a8d94735277e *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 727
diff changeset
262
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
263 # Don't let abort actually run, as it will make
2162
1dcc4e12b8dd Doc fix.
Jim Blandy <jimb@redhat.com>
parents: 1943
diff changeset
264 # stdio stop working and therefore the `pr' command above as well.
567
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
265 break abort
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
266
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
267 # 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
268 # before Emacs exits. Perhaps we should put the break somewhere else
696d82e36360 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
269 # instead...
8310
def3ab3a6f01 Set the breakpoint in x_error_quitter instead of _XPrintDefaultError.
Richard M. Stallman <rms@gnu.org>
parents: 7962
diff changeset
270 break x_error_quitter