Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37751748
en ru br
ALT Linux repositórios
S:13.2.0.43.854f46b6377-alt2
5.0: 6.6-alt3
4.1: 6.6-alt3
4.0: 6.6-alt2
3.0: 6.3-alt2

Group :: Desenvolvimento/Debuggers
RPM: gdb

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: gdb-6.3-ia64-gcore-page0-20050421.patch
Download


Index: gdb-6.8.50.20090802/gdb/gcore.c
===================================================================
--- 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;
 
+      /* Warn if read error occurs except if we were trying to read the
+	 first page for ia64.  The first page is marked readable, but it cannot
+	 be read.  */
       if (target_read_memory (bfd_section_vma (obfd, osec) + offset,
-			      memhunk, size) != 0)
+			      memhunk, size) != 0
+	  && (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 %s."),
 		   plongest (size),
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009