usrWdbBp.c
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* usrWdbBp.c - configuration file for WDB agent breakpoints */
  2. /* Copyright 1984-1998 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01a,21jul97,ms   taken from 01y of usrWdb.c
  7. */
  8. /*
  9. DESCRIPTION
  10. This library configures and initializes the WDB agents system
  11. breakpoint library.
  12. */
  13. /* locals */
  14. static struct brkpt wdbBreakPoints [WDB_BP_MAX];
  15. /* externals */
  16. extern VOIDFUNCPTR wdbBpSysEnterHook;
  17. extern VOIDFUNCPTR wdbBpSysExitHook;
  18. /******************************************************************************
  19. *
  20. * usrWdbBp - configure and initialize the WDB agents breakpoint library
  21. *
  22. */
  23. void usrWdbBp (void)
  24.     {
  25.     wdbSysBpLibInit (wdbBreakPoints, WDB_BP_MAX);
  26.     wdbBpSysEnterHook = wdbDbgBpRemoveAll;
  27.     wdbBpSysExitHook = wdbBpInstall;
  28.     }