1 2004-10-22 Andrew Cagney <cagney@gnu.org>
3 * solib-svr4.c (enable_break): Convert a symbol descriptor into
4 the corresponding function entry point.
5 (solib_break_names): Delete "._dl_debug_state", no longer needed.
7 2007-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
11 Index: gdb-6.8.50.20090802/gdb/solib-svr4.c
12 ===================================================================
13 --- gdb-6.8.50.20090802.orig/gdb/solib-svr4.c 2009-08-03 10:03:36.000000000 +0200
14 +++ gdb-6.8.50.20090802/gdb/solib-svr4.c 2009-08-03 10:51:15.000000000 +0200
15 @@ -1431,7 +1431,15 @@ enable_break (struct svr4_info *info)
17 sym_addr = bfd_lookup_symbol (tmp_bfd, *bkpt_namep);
21 + /* The symbol might be a descriptor, convert to into the
22 + corresponding code address. */
23 + sym_addr = gdbarch_convert_from_func_ptr_addr (target_gdbarch,