summaryrefslogtreecommitdiff
path: root/src/.gdbinit
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-01-14 15:36:25 +0000
committerJim Blandy <jimb@redhat.com>1993-01-14 15:36:25 +0000
commit3b44de735f0bb36300847e8b0fe37720049b4e2f (patch)
tree811fc996613c79a354aa3d239f16c7bf2cd6ef81 /src/.gdbinit
parented5c3a194d76fd004dad1cfc841ced58f40db0e4 (diff)
downloademacs-3b44de735f0bb36300847e8b0fe37720049b4e2f.tar.gz
* .gdbinit: Add "-geometry +0+0" to default args.
(xscrollbar): New command.
Diffstat (limited to 'src/.gdbinit')
-rw-r--r--src/.gdbinit11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/.gdbinit b/src/.gdbinit
index f773ec244cc..61d56af59f6 100644
--- a/src/.gdbinit
+++ b/src/.gdbinit
@@ -137,13 +137,22 @@ document xsubr
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.