home *** CD-ROM | disk | FTP | other *** search
-
- #
- # A sample .gdbinit
- #
-
- #
- # turns on an ascii tracing of PostScript output in gdb
- #
- define showps
- print DPSTraceContext( -1, 1 )
- end
-
- #
- # turns off an ascii tracing of PostScript output
- #
- define shownops
- print DPSTraceContext( -1, 0 )
- end
-
- #
- # flushes all PostScript generated by application to the PostScript server
- #
- define flush
- print (*((DPSContextRec *)(DPSGetCurrentContext()))->procs->FlushContext)(DPSGetCurrentContext())
- end
-
- #
- # turns on event tracing
- #
- define traceevents
- print DPSTraceEvents( -1, 1 )
- end
-
- #
- # turns off event tracing
- #
- define tracenoevents
- print DPSTraceEvents( -1, 0 )
- end
-
-