Following Pedro's suggestion, here is a new revised version of this patch that defines a new TARGET_OBJECT_HPUX_UREGS target object to get to the __reason pseudo-register... Thanks again, Pedro. -- Joel