rpms/gdb/devel gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch, 1.5, 1.6 gdb.spec, 1.299, 1.300

Jan Kratochvil (jkratoch) fedora-extras-commits at redhat.com
Mon Aug 4 04:43:27 UTC 2008


Author: jkratoch

Update of /cvs/pkgs/rpms/gdb/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18707

Modified Files:
	gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch 
	gdb.spec 
Log Message:
* Mon Aug  4 2008 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.8-19
- Fix `errno' printing on nonthreaded non-g3 inferiors (TLS minsym is absolute).


gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch:

Index: gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch	3 Mar 2008 16:13:47 -0000	1.5
+++ gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch	4 Aug 2008 04:42:57 -0000	1.6
@@ -196,6 +196,18 @@
  
    return addr;
  }
+--- ./gdb/elfread.c	2008-08-03 11:02:10.000000000 +0200
++++ ./gdb/elfread.c	2008-08-03 11:01:21.000000000 +0200
+@@ -318,7 +318,8 @@ elf_symtab_read (struct objfile *objfile
+ 	  /* Bfd symbols are section relative. */
+ 	  symaddr = sym->value + sym->section->vma;
+ 	  /* Relocate all non-absolute symbols by the section offset.  */
+-	  if (sym->section != &bfd_abs_section)
++	  if (sym->section != &bfd_abs_section
++	    && (sym->section->flags & SEC_THREAD_LOCAL) == 0)
+ 	    {
+ 	      symaddr += offset;
+ 	    }
 Index: gdb-6.8cvs20080219/gdb/testsuite/gdb.dwarf2/dw2-errno.c
 ===================================================================
 --- /dev/null	1970-01-01 00:00:00.000000000 +0000


Index: gdb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb.spec,v
retrieving revision 1.299
retrieving revision 1.300
diff -u -r1.299 -r1.300
--- gdb.spec	1 Aug 2008 06:36:43 -0000	1.299
+++ gdb.spec	4 Aug 2008 04:42:57 -0000	1.300
@@ -13,7 +13,7 @@
 
 # The release always contains a leading reserved number, start it at 1.
 # `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
-Release: 18%{?_with_upstream:.upstream}%{?dist}
+Release: 19%{?_with_upstream:.upstream}%{?dist}
 
 License: GPLv3+
 Group: Development/Debuggers
@@ -843,6 +843,9 @@
 %endif
 
 %changelog
+* Mon Aug  4 2008 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.8-19
+- Fix `errno' printing on nonthreaded non-g3 inferiors (TLS minsym is absolute).
+
 * Fri Aug  1 2008 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.8-18
 - Fix powerpc recent secure PLTs handling (shared library calls) (BZ 452960).
 - Fix the testsuite .spec runner to run biarch also on ppc.




More information about the fedora-extras-commits mailing list