diff options
| author | Karl Heuer | 1995-01-19 21:57:20 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-01-19 21:57:20 +0000 |
| commit | a6a3acf0547ea14bdd57230ba9d98e59f030b8c7 (patch) | |
| tree | 59ceae68de6c5924cd89839cbff07bdbc498d5c4 | |
| parent | 00d76abc821d050efa5bf10483460611f51fd504 (diff) | |
| download | emacs-a6a3acf0547ea14bdd57230ba9d98e59f030b8c7.tar.gz emacs-a6a3acf0547ea14bdd57230ba9d98e59f030b8c7.zip | |
(xboolfwd, xbuffer_local_value, xbuffer_objfwd, xcompiled, xintfwd, xmiscfree,
xobjfwd, xoverlay, xwindow_configuration): New macros.
| -rw-r--r-- | src/.gdbinit | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/src/.gdbinit b/src/.gdbinit index 129e0f38ce3..2b5d9bade63 100644 --- a/src/.gdbinit +++ b/src/.gdbinit | |||
| @@ -80,6 +80,55 @@ document xmarker | |||
| 80 | Print $ as a marker pointer, assuming it is an Emacs Lisp marker value. | 80 | Print $ as a marker pointer, assuming it is an Emacs Lisp marker value. |
| 81 | end | 81 | end |
| 82 | 82 | ||
| 83 | define xoverlay | ||
| 84 | print (struct Lisp_Overlay *) (($ & 0x0fffffff) | $data_seg_bits) | ||
| 85 | end | ||
| 86 | document xoverlay | ||
| 87 | Print $ as a overlay pointer, assuming it is an Emacs Lisp overlay value. | ||
| 88 | end | ||
| 89 | |||
| 90 | define xmiscfree | ||
| 91 | print (struct Lisp_Free *) (($ & 0x0fffffff) | $data_seg_bits) | ||
| 92 | end | ||
| 93 | document xmiscfree | ||
| 94 | Print $ as a misc free-cell pointer, assuming it is an Emacs Lisp Misc value. | ||
| 95 | end | ||
| 96 | |||
| 97 | define xintfwd | ||
| 98 | print (struct Lisp_Intfwd *) (($ & 0x0fffffff) | $data_seg_bits) | ||
| 99 | end | ||
| 100 | document xintfwd | ||
| 101 | Print $ as an integer forwarding pointer, assuming it is an Emacs Lisp Misc value. | ||
| 102 | end | ||
| 103 | |||
| 104 | define xboolfwd | ||
| 105 | print (struct Lisp_Boolfwd *) (($ & 0x0fffffff) | $data_seg_bits) | ||
| 106 | end | ||
| 107 | document xboolfwd | ||
| 108 | Print $ as a boolean forwarding pointer, assuming it is an Emacs Lisp Misc value. | ||
| 109 | end | ||
| 110 | |||
| 111 | define xobjfwd | ||
| 112 | print (struct Lisp_Objfwd *) (($ & 0x0fffffff) | $data_seg_bits) | ||
| 113 | end | ||
| 114 | document xobjfwd | ||
| 115 | Print $ as an object forwarding pointer, assuming it is an Emacs Lisp Misc value. | ||
| 116 | end | ||
| 117 | |||
| 118 | define xbuffer_objfwd | ||
| 119 | print (struct Lisp_Buffer_Objfwd *) (($ & 0x0fffffff) | $data_seg_bits) | ||
| 120 | end | ||
| 121 | document xbuffer_objfwd | ||
| 122 | Print $ as a buffer-local object forwarding pointer, assuming it is an Emacs Lisp Misc value. | ||
| 123 | end | ||
| 124 | |||
| 125 | define xbuffer_local_value | ||
| 126 | print (struct Lisp_Buffer_Local_Value *) (($ & 0x0fffffff) | $data_seg_bits) | ||
| 127 | end | ||
| 128 | document xbuffer_local_value | ||
| 129 | Print $ as a buffer-local-value pointer, assuming it is an Emacs Lisp Misc value. | ||
| 130 | end | ||
| 131 | |||
| 83 | define xbuffer | 132 | define xbuffer |
| 84 | print (struct buffer *) (($ & 0x0fffffff) | $data_seg_bits) | 133 | print (struct buffer *) (($ & 0x0fffffff) | $data_seg_bits) |
| 85 | output &((struct Lisp_String *) ((($->name) & 0x0fffffff) | $data_seg_bits))->data | 134 | output &((struct Lisp_String *) ((($->name) & 0x0fffffff) | $data_seg_bits))->data |
| @@ -127,6 +176,21 @@ document xframe | |||
| 127 | Print $ as a frame pointer, assuming it is an Emacs Lisp frame value. | 176 | Print $ as a frame pointer, assuming it is an Emacs Lisp frame value. |
| 128 | end | 177 | end |
| 129 | 178 | ||
| 179 | define xwindow_configuration | ||
| 180 | print (struct save_window_data *) (($ & 0x0fffffff) | $data_seg_bits) | ||
| 181 | end | ||
| 182 | document xwindow_configuration | ||
| 183 | Print $ as a window configuration pointer, assuming it is an Emacs Lisp window configuration value. | ||
| 184 | end | ||
| 185 | |||
| 186 | define xcompiled | ||
| 187 | print (struct Lisp_Vector *) (($ & 0x0fffffff) | $data_seg_bits) | ||
| 188 | output ($->contents[0])@($->size & 0xff) | ||
| 189 | end | ||
| 190 | document xcompiled | ||
| 191 | Print $ as a compiled function pointer, assuming it is an Emacs Lisp compiled value. | ||
| 192 | end | ||
| 193 | |||
| 130 | define xcons | 194 | define xcons |
| 131 | print (struct Lisp_Cons *) (($ & 0x0fffffff) | $data_seg_bits) | 195 | print (struct Lisp_Cons *) (($ & 0x0fffffff) | $data_seg_bits) |
| 132 | output *$ | 196 | output *$ |