+2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
+
+ * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
+ "ra" registers.
+ * features/nios2-linux.c: Regenerated.
+ * features/nios2.c: Regenerated.
+
2014-03-25 Pedro Alves <palves@redhat.com>
* cli/cli-script.c (script_from_file): Force the interpreter to
<reg name="r23" bitsize="32" type="uint32"/>
<reg name="et" bitsize="32" type="uint32"/>
<reg name="bt" bitsize="32" type="uint32"/>
- <reg name="gp" bitsize="32" type="uint32"/>
+ <reg name="gp" bitsize="32" type="data_ptr"/>
<reg name="sp" bitsize="32" type="data_ptr"/>
- <reg name="fp" bitsize="32" type="uint32"/>
- <reg name="ea" bitsize="32" type="uint32"/>
+ <reg name="fp" bitsize="32" type="data_ptr"/>
+ <reg name="ea" bitsize="32" type="code_ptr"/>
<reg name="sstatus" bitsize="32" type="uint32"/>
- <reg name="ra" bitsize="32" type="uint32"/>
+ <reg name="ra" bitsize="32" type="code_ptr"/>
<reg name="pc" bitsize="32" type="code_ptr"/>
<reg name="status" bitsize="32" type="uint32"/>
<reg name="estatus" bitsize="32" type="uint32"/>
tdesc_create_reg (feature, "r23", 23, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "et", 24, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "bt", 25, 1, NULL, 32, "uint32");
- tdesc_create_reg (feature, "gp", 26, 1, NULL, 32, "uint32");
+ tdesc_create_reg (feature, "gp", 26, 1, NULL, 32, "data_ptr");
tdesc_create_reg (feature, "sp", 27, 1, NULL, 32, "data_ptr");
- tdesc_create_reg (feature, "fp", 28, 1, NULL, 32, "uint32");
- tdesc_create_reg (feature, "ea", 29, 1, NULL, 32, "uint32");
+ tdesc_create_reg (feature, "fp", 28, 1, NULL, 32, "data_ptr");
+ tdesc_create_reg (feature, "ea", 29, 1, NULL, 32, "code_ptr");
tdesc_create_reg (feature, "sstatus", 30, 1, NULL, 32, "uint32");
- tdesc_create_reg (feature, "ra", 31, 1, NULL, 32, "uint32");
+ tdesc_create_reg (feature, "ra", 31, 1, NULL, 32, "code_ptr");
tdesc_create_reg (feature, "pc", 32, 1, NULL, 32, "code_ptr");
tdesc_create_reg (feature, "status", 33, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "estatus", 34, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "r23", 23, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "et", 24, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "bt", 25, 1, NULL, 32, "uint32");
- tdesc_create_reg (feature, "gp", 26, 1, NULL, 32, "uint32");
+ tdesc_create_reg (feature, "gp", 26, 1, NULL, 32, "data_ptr");
tdesc_create_reg (feature, "sp", 27, 1, NULL, 32, "data_ptr");
- tdesc_create_reg (feature, "fp", 28, 1, NULL, 32, "uint32");
- tdesc_create_reg (feature, "ea", 29, 1, NULL, 32, "uint32");
+ tdesc_create_reg (feature, "fp", 28, 1, NULL, 32, "data_ptr");
+ tdesc_create_reg (feature, "ea", 29, 1, NULL, 32, "code_ptr");
tdesc_create_reg (feature, "sstatus", 30, 1, NULL, 32, "uint32");
- tdesc_create_reg (feature, "ra", 31, 1, NULL, 32, "uint32");
+ tdesc_create_reg (feature, "ra", 31, 1, NULL, 32, "code_ptr");
tdesc_create_reg (feature, "pc", 32, 1, NULL, 32, "code_ptr");
tdesc_create_reg (feature, "status", 33, 1, NULL, 32, "uint32");
tdesc_create_reg (feature, "estatus", 34, 1, NULL, 32, "uint32");