I built gdb for arm-elf and tried it on a program I built with GCC. I'm not sure I configured things right or if the target program was built correctly, but the gdb code looks suspicious enough that it's worth reporting anyway. I used the commands: gdb hello (gdb) target sim (gdb) load (gdb) r Starting program... .../gdb/remote-sim.c:531: internal-error: Register 25 not updated In sim/arm/wrapper.c, sim_store_register() appears to return -1 if the register is any general register, floating-point register, or PS. In gdb/remote-sim.c, gdbsim_store_register() calls sim_store_register() and then displays the above-mentioned internal error if that function returns a negative value. "What we've got here is a failure to communicate..."
Hi Nick, are you still planning to address this?
(In reply to Luis Machado from comment #1) > Hi Nick, are you still planning to address this? Sorry - I had forgotten that I am still listed as a maintainer for the arm sim. I will have a go, although it has been a long time.
(In reply to adam from comment #0) Hi Adam, Please could you upload the hello binary that triggers this problem. I tried to reproduce the failure using an executable that I had created myself, but it worked. Cheers Nick