Microblaze: Replace microblaze-expedite from pc to rpc
authorAjit Kumar Agarwal <Agarwalajitkum@xilinx.com>
Mon, 13 Oct 2014 08:58:22 +0000 (14:28 +0530)
committerPedro Alves <palves@redhat.com>
Wed, 15 Oct 2014 14:21:39 +0000 (15:21 +0100)
The Microblaze PC register is called "rpc", not "pc", as can be seen
in microblaze-core.xml.  Fix this, so GDBserver can find the register in
the regcache.

gdb/
2014-10-15  Ajit Agarwal  <ajitkum@xilinx.com>

* features/Makefile (microblaze-expedite): Replace pc with rpc.
* regformats/microblaze-with-stack-protect.dat: Regenerate.

gdb/ChangeLog
gdb/features/Makefile
gdb/regformats/microblaze-with-stack-protect.dat

index c4f0437606c28a13c1b8388e5a2ea0021c4349bf..0d22b51ddb3a92da606eacad4245b2936537c5ca 100644 (file)
@@ -1,3 +1,8 @@
+2014-10-15  Ajit Agarwal  <ajitkum@xilinx.com>
+
+       * features/Makefile (microblaze-expedite): Replace pc with rpc.
+       * regformats/microblaze-with-stack-protect.dat: Regenerate.
+
 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
 
        * gnu-v3-abi.c (gnuv3_pass_by_reference): Treat dynamic classes
index c17157b551a6f25a9be76c2ff31e23ac406f4c2e..7708f5b980d8a007617304425e99a250e59b055c 100644 (file)
@@ -103,7 +103,7 @@ mips-expedite = r29,pc
 mips-dsp-expedite = r29,pc
 mips64-expedite = r29,pc
 mips64-dsp-expedite = r29,pc
-microblaze-expedite = r1,pc
+microblaze-expedite = r1,rpc
 nios2-linux-expedite = sp,pc
 powerpc-expedite = r1,pc
 rs6000/powerpc-cell32l-expedite = r1,pc,r0,orig_r3,r4
index 5ce0c240c9e882f04019dad35d42e1073a3f68d9..8040a7b3fd0261b4ef6e43837a44a197dc251c49 100644 (file)
@@ -2,7 +2,7 @@
 # Generated from: microblaze-with-stack-protect.xml
 name:microblaze_with_stack_protect
 xmltarget:microblaze-with-stack-protect.xml
-expedite:r1,pc
+expedite:r1,rpc
 32:r0
 32:r1
 32:r2
This page took 0.034823 seconds and 4 git commands to generate.