registers-msp430.h
Go to the documentation of this file.
1 #pragma once
2 #include "../../GDBServerFoundation/GDBRegisters.h"
3 
4 namespace GDBServerFoundation
5 {
6  namespace MSP430
7  {
9  typedef int RegisterIndex;
10 
11  static RegisterEntry _RawRegisterList[] = {
12  {0, "r0", 16},
13  {1, "r1", 16},
14  {2, "r2", 16},
15  {3, "r3", 16},
16  {4, "r4", 16},
17  {5, "r5", 16},
18  {6, "r6", 16},
19  {7, "r7", 16},
20  {8, "r8", 16},
21  {9, "r9", 16},
22  {10, "r10", 16},
23  {11, "r11", 16},
24  {12, "r12", 16},
25  {13, "r13", 16},
26  {14, "r14", 16},
27  {15, "r15", 16},
28  };
29 
30  static PlatformRegisterList RegisterList =
31  {
32  sizeof(_RawRegisterList) / sizeof(_RawRegisterList[0]),
34  };
35 
36  }
37 }