aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/vi/docs/internals/gdb.script
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/vi/docs/internals/gdb.script')
-rw-r--r--usr.bin/vi/docs/internals/gdb.script13
1 files changed, 11 insertions, 2 deletions
diff --git a/usr.bin/vi/docs/internals/gdb.script b/usr.bin/vi/docs/internals/gdb.script
index 5f180edcd642..c875bf73a018 100644
--- a/usr.bin/vi/docs/internals/gdb.script
+++ b/usr.bin/vi/docs/internals/gdb.script
@@ -1,4 +1,4 @@
-# @(#)gdb.script 8.2 (Berkeley) 9/29/93
+# @(#)gdb.script 8.3 (Berkeley) 8/16/94
# display the SVI screen map
# usage dmap(sp)
@@ -39,10 +39,19 @@ define tmap
end
end
-# display the SVI private structure
+# display the private structures
+define vip
+ print *((VI_PRIVATE *)sp->vi_private)
+end
define svp
print *((SVI_PRIVATE *)sp->svi_private)
end
+define exp
+ print *((EX_PRIVATE *)sp->ex_private)
+end
+define sxp
+ print *((SEX_PRIVATE *)sp->sex_private)
+end
# display the marks
define markp