changeset 1789:2c65d1a8af09

* .gdbinit: Add "-geometry +0+0" to default args. (xscrollbar): New command.
author Jim Blandy <jimb@redhat.com>
date Thu, 14 Jan 1993 15:36:25 +0000
parents aaccd635fb71
children 1be021d4d816
files src/.gdbinit
diffstat 1 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/.gdbinit	Thu Jan 14 15:34:59 1993 +0000
+++ b/src/.gdbinit	Thu Jan 14 15:36:25 1993 +0000
@@ -137,13 +137,22 @@
 Print the address of the subr which the Lisp_Object $ points to.
 end
 
+define xscrollbar
+print (struct scrollbar *) (($ & 0x00ffffff) | $data_seg_bits)
+output *$
+echo \n
+end
+document xsubr
+Print $ as a scrollbar pointer.
+end
+
 set print pretty on
 
 unset environment TERMCAP
 unset environment TERM
 echo TERMCAP and TERM environment variables unset.\n
 show environment DISPLAY
-set args -q
+set args -q -geometry +0+0
 
 # Don't let abort actually run, as it will make
 # stdio stop working and therefore the `pr' command below as well.