summaryrefslogtreecommitdiff
path: root/src/.gdbinit
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-06-24 05:09:26 +0000
committerJim Blandy <jimb@redhat.com>1992-06-24 05:09:26 +0000
commitdaa3760289bd389e8c174c8d24b375cd875cd911 (patch)
tree0abe3e6108e0e5a7c98f4c4aa68a495b0ecef09a /src/.gdbinit
parenta4275ad1c8f60239b0bad43cef97ca86d35a51a3 (diff)
downloademacs-daa3760289bd389e8c174c8d24b375cd875cd911.tar.gz
*** empty log message ***
Diffstat (limited to 'src/.gdbinit')
-rw-r--r--src/.gdbinit8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/.gdbinit b/src/.gdbinit
index 91a921119e8..fd470e31384 100644
--- a/src/.gdbinit
+++ b/src/.gdbinit
@@ -32,9 +32,12 @@ end
define xwindow
print (struct window *) ($ & 0x00ffffff)
+print ($->left)@4
+print $$
end
document xwindow
Print $ as a window pointer, assuming it is an Elisp window value.
+Print the window's position as { left, top, height, width }.
end
define xmarker
@@ -46,9 +49,12 @@ end
define xbuffer
print (struct buffer *) ($ & 0x00ffffff)
+print &((struct Lisp_String *) (($->name) & 0x00ffffff))->data
+print $$
end
document xbuffer
-Print $ as a buffer pointer, assuming it is an Elisp buffer value.
+Set $ as a buffer pointer, assuming it is an Elisp buffer value.
+Print the name of the buffer.
end
define xsymbol