]> git.pld-linux.org Git - packages/gdb.git/blobdiff - gdb-6.3-ia64-gcore-page0-20050421.patch
- update to 6.8.91.20090930-1 from fedora
[packages/gdb.git] / gdb-6.3-ia64-gcore-page0-20050421.patch
index 093d6415ffe1b6faceb368f1535c5693d1ba3f8d..0c4245cc8c61887276138233a7bbf306af517b60 100644 (file)
@@ -1,8 +1,8 @@
-Index: gdb-6.8.50.20081128/gdb/gcore.c
+Index: gdb-6.8.50.20090802/gdb/gcore.c
 ===================================================================
---- gdb-6.8.50.20081128.orig/gdb/gcore.c       2008-09-11 16:27:34.000000000 +0200
-+++ gdb-6.8.50.20081128/gdb/gcore.c    2008-12-01 16:39:04.000000000 +0100
-@@ -475,8 +475,14 @@ gcore_copy_callback (bfd *obfd, asection
+--- gdb-6.8.50.20090802.orig/gdb/gcore.c       2009-08-03 12:27:55.000000000 +0200
++++ gdb-6.8.50.20090802/gdb/gcore.c    2009-08-03 12:28:56.000000000 +0200
+@@ -479,8 +479,14 @@ gcore_copy_callback (bfd *obfd, asection
        if (size > total_size)
        size = total_size;
  
@@ -12,9 +12,9 @@ Index: gdb-6.8.50.20081128/gdb/gcore.c
        if (target_read_memory (bfd_section_vma (obfd, osec) + offset,
 -                            memhunk, size) != 0)
 +                            memhunk, size) != 0
-+        && (strcmp (gdbarch_bfd_arch_info (current_gdbarch)->arch_name,
++        && (strcmp (gdbarch_bfd_arch_info (target_gdbarch)->arch_name,
 +                    "ia64")
 +            || bfd_section_vma (obfd, osec) != 0))
        {
-         warning (_("Memory read failed for corefile section, %s bytes at 0x%s."),
-                  plongest (size), paddr (bfd_section_vma (obfd, osec)));
+         warning (_("Memory read failed for corefile section, %s bytes at %s."),
+                  plongest (size),
This page took 0.033756 seconds and 4 git commands to generate.