Port to GDB-6.7.
-Index: gdb-6.7/gdb/solib-svr4.c
+Index: gdb-6.8.50.20090802/gdb/solib-svr4.c
===================================================================
---- gdb-6.7.orig/gdb/solib-svr4.c 2007-10-09 20:03:30.000000000 +0200
-+++ gdb-6.7/gdb/solib-svr4.c 2007-10-12 22:34:03.000000000 +0200
-@@ -1089,7 +1089,15 @@ enable_break (void)
+--- 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)
+ {
+ /* The symbol might be a descriptor, convert to into the
+ corresponding code address. */
-+ sym_addr = gdbarch_convert_from_func_ptr_addr (current_gdbarch,
++ sym_addr = gdbarch_convert_from_func_ptr_addr (target_gdbarch,
+ sym_addr,
+ tmp_bfd_target);
+ if (sym_addr != 0)