I have to re-post the patch afterall. In recoding it from my internal repository to current HEAD, I replaced hard coded pointer size with the wrong function: gdbarch_ptr_bit, but what I really wanted is simply target pointer size: + const unsigned ptrsz + = builtin_type (target_gdbarch)->builtin_func_ptr->length; Thanks, Aleksandar Change log is still the same: Aleksandar Ristovski * solib-svr4.c (svr4_fetch_solib_break_from_r_debug): New. (enable_break): Use new function.