events.h 836 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #ifndef events_h
  2. #define events_h
  3. typedef struct Event *Event;
  4. typedef struct Breakpoint *Breakpoint;
  5. Boolean inst_tracing;
  6. Boolean single_stepping;
  7. Boolean isstopped;
  8. #include "symbols.h"
  9. Symbol linesym;
  10. Symbol procsym;
  11. Symbol pcsym;
  12. Symbol retaddrsym;
  13. #define addevent(cond, cmdlist) event_alloc(false, cond, cmdlist)
  14. #define event_once(cond, cmdlist) event_alloc(true, cond, cmdlist)
  15. bpinit(/* */);
  16. Event event_alloc(/* istmp, econd, cmdlist */);
  17. delevent(/* id */);
  18. Symbol tcontainer(/* exp */);
  19. Boolean canskip(/* f */);
  20. status(/* */);
  21. printevent(/* e */);
  22. bpfree(/* */);
  23. Boolean bpact(/* */);
  24. traceon(/* inst, event, cmdlist */);
  25. traceoff(/* id */);
  26. printnews(/* */);
  27. callnews(/* iscall */);
  28. printifchanged(/* p */);
  29. stopifchanged(/* p */);
  30. trfree(/* */);
  31. fixbps(/* */);
  32. setallbps(/* */);
  33. unsetallbps(/* */);
  34. #endif