2004-10-22 Andrew Cagney * solib-svr4.c (enable_break): Convert a symbol descriptor into the corresponding function entry point. (solib_break_names): Delete "._dl_debug_state", no longer needed. 2007-10-12 Jan Kratochvil Port to GDB-6.7. Index: gdb-6.8.50.20090802/gdb/solib-svr4.c =================================================================== --- gdb-6.8.50.20090802.orig/gdb/solib-svr4.c 2009-08-03 10:03:36.000000000 +0200 +++ gdb-6.8.50.20090802/gdb/solib-svr4.c 2009-08-03 10:51:15.000000000 +0200 @@ -1431,7 +1431,15 @@ enable_break (struct svr4_info *info) { sym_addr = bfd_lookup_symbol (tmp_bfd, *bkpt_namep); if (sym_addr != 0) - break; + { + /* The symbol might be a descriptor, convert to into the + corresponding code address. */ + sym_addr = gdbarch_convert_from_func_ptr_addr (target_gdbarch, + sym_addr, + tmp_bfd_target); + if (sym_addr != 0) + break; + } } if (sym_addr != 0)