home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.2 (Developer) / NS_dev_3.2.iso / usr / lib / .gdbinit next >
Text File  |  1990-08-13  |  612b  |  41 lines

  1.  
  2. #
  3. # A sample .gdbinit
  4. #
  5.  
  6. #
  7. # turns on an ascii tracing of PostScript output in gdb
  8. #
  9. define showps
  10.  print DPSTraceContext( -1, 1 )
  11. end
  12.  
  13. #
  14. # turns off an ascii tracing of PostScript output 
  15. #
  16. define shownops
  17.  print DPSTraceContext( -1, 0 )
  18. end
  19.  
  20. #
  21. # flushes all PostScript generated by application to the PostScript server
  22. #
  23. define flush
  24.  print (*((DPSContextRec *)(DPSGetCurrentContext()))->procs->FlushContext)(DPSGetCurrentContext())
  25. end
  26.  
  27. #
  28. # turns on event tracing
  29. #
  30. define traceevents
  31.  print DPSTraceEvents( -1, 1 )
  32. end
  33.  
  34. #
  35. # turns off event tracing
  36. #
  37. define tracenoevents
  38.  print DPSTraceEvents( -1, 0 )
  39. end
  40.  
  41.