The second version of my patches to fix infcall related failures on a rv64gc linux system, updated as per Andrew's review. This was tested on a riscv64-linux system with the gdb testsuite, and it fixes 2 failures without causing any regressions. Jim