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

VxWorks

开发平台:

C/C++

  1. /* dbgArmLib.h - header file for ARM-dependent part of debugger */
  2. /* Copyright 1996-1998 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01d,12nov98,cdp  added support for ARM generic Thumb library.
  7. 01c,20apr98,dbt  modified for new breakpoint scheme
  8. 01b,24apr97,cdp  added Thumb (ARM7TDMI_T) support;
  9.  changed DBG_BREAK_INST for non-Thumb processors.
  10. 01a,09may96,cdp  created
  11. */
  12. #ifndef __INCdbgArmLibh
  13. #define __INCdbgArmLibh
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. #include "esf.h"
  18. #define BREAK_ESF ESF
  19. #define TRACE_ESF ESF
  20. #if ARM_THUMB
  21. #define DBG_BREAK_INST 0xDEFE /* The undefined instruction used as a
  22.  * a breakpoint for Thumb-state */
  23. #define DBG_INST_ALIGN 2
  24. #else
  25. #define DBG_BREAK_INST 0xE7FDDEFE /* The undefined instruction used as a
  26.  * a breakpoint for ARM-state */
  27. #define DBG_INST_ALIGN 4
  28. #endif /* ARM_THUMB */
  29. #define DBG_NO_SINGLE_STEP 1 /* no hardware trace support */
  30. #ifdef __cplusplus
  31. }
  32. #endif
  33. #endif /* __INCdbgArmLibh */