rpms/gdb/devel gdb-6.8-upstream.patch, NONE, 1.1 gdb-6.3-ia64-sigtramp-fp-20050926.patch, 1.4, 1.5 gdb-6.3-ia64-sigtramp-frame-20050708.patch, 1.1, 1.2 gdb-6.3-watchpoint-cond-gone-test.patch, 1.1, 1.2 gdb-6.6-buildid-locate.patch, 1.10, 1.11 gdb.spec, 1.280, 1.281

Jan Kratochvil (jkratoch) fedora-extras-commits at redhat.com
Wed Apr 16 15:00:36 UTC 2008


Author: jkratoch

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

Modified Files:
	gdb-6.3-ia64-sigtramp-fp-20050926.patch 
	gdb-6.3-ia64-sigtramp-frame-20050708.patch 
	gdb-6.3-watchpoint-cond-gone-test.patch 
	gdb-6.6-buildid-locate.patch gdb.spec 
Added Files:
	gdb-6.8-upstream.patch 
Log Message:
* Wed Apr 16 2008 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.8-3
- Fix ia64 compilation errors (Yi Zhan, BZ 442684).
- Fix build on non-standard rpm-devel includes (Robert Scheck, BZ 442449).
- Do not run the PIE mode for the testsuite during `--with upstream'.
- Fix test of the crash on a sw watchpoint condition getting out of the scope.


gdb-6.8-upstream.patch:

--- NEW FILE gdb-6.8-upstream.patch ---
2008-03-30  Daniel Jacobowitz  <dan at codesourcery.com>

	* ia64-tdep.c (examine_prologue): Correct array access.

===================================================================
RCS file: /cvs/src/src/gdb/ia64-tdep.c,v
retrieving revision 1.172
retrieving revision 1.173
diff -u -r1.172 -r1.173
--- src/gdb/ia64-tdep.c	2008/02/20 14:31:40	1.172
+++ src/gdb/ia64-tdep.c	2008/03/31 03:38:48	1.173
@@ -1234,7 +1234,7 @@
 	      spill_reg   = rN;
 	      last_prologue_pc = next_pc;
 	    }
-	  else if (qp == 0 && rM >= 32 && rM < 40 && !instores[rM] && 
+	  else if (qp == 0 && rM >= 32 && rM < 40 && !instores[rM-32] && 
 		   rN < 256 && imm == 0)
 	    {
 	      /* mov rN, rM where rM is an input register */

gdb-6.3-ia64-sigtramp-fp-20050926.patch:

Index: gdb-6.3-ia64-sigtramp-fp-20050926.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb-6.3-ia64-sigtramp-fp-20050926.patch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- gdb-6.3-ia64-sigtramp-fp-20050926.patch	3 Mar 2008 16:13:47 -0000	1.4
+++ gdb-6.3-ia64-sigtramp-fp-20050926.patch	16 Apr 2008 15:00:25 -0000	1.5
@@ -20,6 +20,10 @@
 
 	Port to GDB-6.8pre.
 
+2008-04-16  Yi Zhan  <yi.zhan at intel.com>
+
+	Fix a compilation error on a typo.
+
 Index: gdb-6.8cvs20080219/gdb/libunwind-frame.c
 ===================================================================
 --- gdb-6.8cvs20080219.orig/gdb/libunwind-frame.c	2008-01-02 00:04:03.000000000 +0100
@@ -36,7 +40,7 @@
    unw_accessors_t *acc;
    unw_addr_space_t as;
    unw_word_t fp;
-+  unw_word_t fp, sp;
++  unw_word_t sp;
    unw_regnum_t uw_sp_regnum;
    struct libunwind_frame_cache *cache;
    struct libunwind_descr *descr;

gdb-6.3-ia64-sigtramp-frame-20050708.patch:

Index: gdb-6.3-ia64-sigtramp-frame-20050708.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb-6.3-ia64-sigtramp-frame-20050708.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gdb-6.3-ia64-sigtramp-frame-20050708.patch	9 Jul 2005 02:16:29 -0000	1.1
+++ gdb-6.3-ia64-sigtramp-frame-20050708.patch	16 Apr 2008 15:00:25 -0000	1.2
@@ -3,6 +3,11 @@
 	* ia64-tdep.c (ia64_sigtramp_frame_prev_register): Build
 	pseudo-registers the same as ia64_pseudo_register_read.
 
+2008-04-16  Yi Zhan  <yi.zhan at intel.com>
+
+	* ia64-tdep.c (ia64_sigtramp_frame_prev_register): Fix an
+	ISO C compliance compilation error.
+
 --- gdb-6.3/gdb/ia64-tdep.c.fix	2005-07-08 20:26:37.000000000 -0400
 +++ gdb-6.3/gdb/ia64-tdep.c	2005-07-08 20:27:41.000000000 -0400
 @@ -2037,7 +2037,100 @@ ia64_sigtramp_frame_prev_register (struc
@@ -52,8 +57,8 @@
 +	{
 +	  /* Compute address of nat collection bits */
 +	  CORE_ADDR nat_collection;
-+	  nat_addr = gr_addr | 0x1f8;
 +	  int nat_bit;
++	  nat_addr = gr_addr | 0x1f8;
 +	  /* If our nat collection address is bigger than bsp, we have to get
 +	     the nat collection from rnat.  Otherwise, we fetch the nat
 +	     collection from the computed address. FIXME: Do not know if

gdb-6.3-watchpoint-cond-gone-test.patch:

Index: gdb-6.3-watchpoint-cond-gone-test.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb-6.3-watchpoint-cond-gone-test.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gdb-6.3-watchpoint-cond-gone-test.patch	6 Apr 2008 01:40:10 -0000	1.1
+++ gdb-6.3-watchpoint-cond-gone-test.patch	16 Apr 2008 15:00:25 -0000	1.2
@@ -124,5 +124,5 @@
 +gdb_test "backtrace"
 +
 +gdb_test "finish" \
-+         "Watchpoint .* deleted because the program has left the block in.*which its expression is valid..*in jumper.*" \
++         "Watchpoint .* deleted because the program has left the block in.*which its expression is valid..*in (jumper|func).*" \
 +         "Catch the no longer valid watchpoint"

gdb-6.6-buildid-locate.patch:

Index: gdb-6.6-buildid-locate.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb-6.6-buildid-locate.patch,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- gdb-6.6-buildid-locate.patch	10 Mar 2008 10:05:44 -0000	1.10
+++ gdb-6.6-buildid-locate.patch	16 Apr 2008 15:00:25 -0000	1.11
@@ -28,10 +28,23 @@
 	Implement the `debuginfo-install' rpm/yum integration.
 	Resolve the RH Bug 435581.
 
+2008-04-16  Robert Scheck  <redhat-bugzilla at linuxnetz.de>
+
+	Fix -I for non-standard rpm includes in `$(includedir)/rpm'.
+
 Index: gdb-6.7.50.20080227/gdb/Makefile.in
 ===================================================================
 --- gdb-6.7.50.20080227.orig/gdb/Makefile.in	2008-03-10 00:48:52.000000000 +0100
 +++ gdb-6.7.50.20080227/gdb/Makefile.in	2008-03-10 00:48:53.000000000 +0100
+@@ -340,7 +340,7 @@
+ # your system doesn't have fcntl.h in /usr/include (which is where it
+ # should be according to Posix).
+ DEFS = @DEFS@
+-GDB_CFLAGS = -I. -I$(srcdir) -I$(srcdir)/config -DLOCALEDIR="\"$(localedir)\"" $(DEFS)
++GDB_CFLAGS = -I. -I$(srcdir) -I$(srcdir)/config -I$(includedir)/rpm -DLOCALEDIR="\"$(localedir)\"" $(DEFS)
+ 
+ # MH_CFLAGS, if defined, has host-dependent CFLAGS from the config directory.
+ GLOBAL_CFLAGS = $(MH_CFLAGS)
 @@ -392,7 +392,7 @@ INSTALLED_LIBS=-lbfd -lreadline -lopcode
  CLIBS = $(SIM) $(READLINE) $(OPCODES) $(BFD) $(INTL) $(LIBIBERTY) $(LIBDECNUMBER) \
  	$(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \


Index: gdb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb.spec,v
retrieving revision 1.280
retrieving revision 1.281
diff -u -r1.280 -r1.281
--- gdb.spec	13 Apr 2008 23:51:48 -0000	1.280
+++ gdb.spec	16 Apr 2008 15:00:25 -0000	1.281
@@ -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: 2%{?_with_upstream:.upstream}%{?dist}
+Release: 3%{?_with_upstream:.upstream}%{?dist}
 
 License: GPL
 Group: Development/Debuggers
@@ -42,7 +42,7 @@
 # The last Rawhide release was (no dist tag) pstack-1.2-7.2.2
 Obsoletes: pstack < 1.2-7.2.2.1
 Provides: pstack = 1.2-7.2.2.1
-%endif	# 1%{?_with_upstream:0}
+%endif	# 0%{!?_with_upstream:1}
 
 # GDB patches have the format `gdb-<version>-bz<red-hat-bz-#>-<desc>.patch'.
 # They should be created using patch level 1: diff -up ./gdb (or gdb-6.3/gdb).
@@ -244,7 +244,7 @@
 Patch231: gdb-6.3-bz202689-exec-from-pthread-test.patch
 
 # Backported post gdb-6.8 release fixups.
-#Patch232: gdb-6.8-upstream.patch
+Patch232: gdb-6.8-upstream.patch
 
 # Testcase for PPC Power6/DFP instructions disassembly (BZ 230000).
 Patch234: gdb-6.6-bz230000-power6-disassembly-test.patch
@@ -419,7 +419,7 @@
 
 %if 0%{!?_with_upstream:1}
 
-#%patch232 -p1
+%patch232 -p1
 %patch1 -p1
 %patch3 -p1
 %patch4 -p1
@@ -523,7 +523,7 @@
 find -name "*.orig" | xargs rm -f
 ! find -name "*.rej"	# Should not happen.
 
-%endif	# 1%{?_with_upstream:0}
+%endif	# 0%{!?_with_upstream:1}
 
 # Change the version that gets printed at GDB startup, so it is Fedora
 # specific.
@@ -652,8 +652,11 @@
     mv -f ../../gdb/testsuite/$test ../gdb/testsuite/$test-DISABLED || :
   done
 
+%if 0%{!?_with_upstream:1}
   # Run all the scheduled testsuite runs also in the PIE mode.
+  # Upstream GDB would lock up the testsuite run for too long on its failures.
   CHECK="$(echo $CHECK|sed 's#check//unix/[^ ]*#& &/-fPIE/-pie#g')"
+%endif	# 0%{!?_with_upstream:1}
 
   for CURRENT in $CHECK
   do
@@ -710,7 +713,7 @@
 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/man1/gstack.1
 ln -s gstack.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/pstack.1.gz
 ln -s gstack $RPM_BUILD_ROOT%{_bindir}/pstack
-%endif	# 1%{?_with_upstream:0}
+%endif	# 0%{!?_with_upstream:1}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -745,7 +748,7 @@
 %{_bindir}/pstack
 %{_mandir}/*/gstack.1*
 %{_mandir}/*/pstack.1*
-%endif	# 1%{?_with_upstream:0}
+%endif	# 0%{!?_with_upstream:1}
 %{_infodir}/annotate.info*
 %{_infodir}/gdb.info*
 %{_infodir}/gdbint.info*
@@ -758,6 +761,12 @@
 %{_mandir}/*/gdbserver.1*
 
 %changelog
+* Wed Apr 16 2008 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.8-3
+- Fix ia64 compilation errors (Yi Zhan, BZ 442684).
+- Fix build on non-standard rpm-devel includes (Robert Scheck, BZ 442449).
+- Do not run the PIE mode for the testsuite during `--with upstream'.
+- Fix test of the crash on a sw watchpoint condition getting out of the scope.
+
 * Fri Apr 11 2008 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.8-2
 - Fix a regression due to PIE of reloading a changed exec file (BZ 433410).
 - Include also biarch libgcc on %%{multilib_64_archs} for the testsuite.
@@ -781,7 +790,7 @@
 - Drop the unused `ChangeLog.RedHat' file stubs.
 - New rpm option `--with upstream' to drop the Fedora patches for testing.
 - Drop some no longer valid .spec file comments.
-- Include the Fortran dynamic arrays entry for %%changlog of 6.7.50.20080227-1.
+- Include the Fortran dynamic arrays entry for changelog of 6.7.50.20080227-1.
 
 * Mon Mar  3 2008 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.7.50.20080227-1
 - Upgrade to the upstream gdb-6.8 prerelease.




More information about the fedora-extras-commits mailing list