]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blobdiff - gdb/patches/gdb-6.3-ppcdotsolib-20041022.patch
gdb: Update to version 7.12
[people/pmueller/ipfire-3.x.git] / gdb / patches / gdb-6.3-ppcdotsolib-20041022.patch
diff --git a/gdb/patches/gdb-6.3-ppcdotsolib-20041022.patch b/gdb/patches/gdb-6.3-ppcdotsolib-20041022.patch
deleted file mode 100644 (file)
index 7226c0d..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-2004-10-22  Andrew Cagney  <cagney@gnu.org>
-       * 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  <jan.kratochvil@redhat.com>
-
-       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)