Fix type of "fp" and other registers for Nios II.

2014-03-25  Sandra Loosemore  <sandra@codesourcery.com>

	gdb/
	* features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
	"ra" registers.
	* features/nios2-linux.c: Regenerated.
	* features/nios2.c: Regenerated.
This commit is contained in:
Sandra Loosemore 2014-03-25 21:00:17 -07:00
parent f688ea36df
commit 1e54db15c3
4 changed files with 19 additions and 12 deletions

View File

@ -1,3 +1,10 @@
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

View File

@ -33,12 +33,12 @@
<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"/>

View File

@ -43,12 +43,12 @@ initialize_tdesc_nios2_linux (void)
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");

View File

@ -41,12 +41,12 @@ initialize_tdesc_nios2 (void)
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");