Hello, The macro NUM_PSEUDO_REGS refers to ``current_gdbarch'' and not ``gdbarch''. Hence the equation in the patch was picking up the number of pseudo-registers from the previously selected architecture (which may not even be ARM), outch! No wonder macro's are bad :-) The attached calls gdbarch_num_pseudo_regs() directly with the correct architecture. (It also fixes a core dump that my next patch will cause ...) Committed as fairly obvious. Andrew