This should now copy the value properly, but doesn't.

(It doesn't help that GDB refuses to debug for me)