]> git.pld-linux.org Git - packages/gdb.git/blame - 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
CommitLineData
7566401a 1Index: gdb-6.8.50.20090802/gdb/gcore.c
3a58abaf 2===================================================================
7566401a
ER
3--- gdb-6.8.50.20090802.orig/gdb/gcore.c 2009-08-03 12:27:55.000000000 +0200
4+++ gdb-6.8.50.20090802/gdb/gcore.c 2009-08-03 12:28:56.000000000 +0200
5@@ -479,8 +479,14 @@ gcore_copy_callback (bfd *obfd, asection
3a58abaf
AM
6 if (size > total_size)
7 size = total_size;
8
9+ /* Warn if read error occurs except if we were trying to read the
10+ first page for ia64. The first page is marked readable, but it cannot
11+ be read. */
12 if (target_read_memory (bfd_section_vma (obfd, osec) + offset,
13- memhunk, size) != 0)
14+ memhunk, size) != 0
7566401a 15+ && (strcmp (gdbarch_bfd_arch_info (target_gdbarch)->arch_name,
3a58abaf
AM
16+ "ia64")
17+ || bfd_section_vma (obfd, osec) != 0))
18 {
7566401a
ER
19 warning (_("Memory read failed for corefile section, %s bytes at %s."),
20 plongest (size),
This page took 0.057481 seconds and 4 git commands to generate.