rpms/gdb/F-13 gdb-bz539590-gnu-ifunc-fix-cond.patch, NONE, 1.1 gdb.spec, 1.432, 1.433

Jan Kratochvil jkratoch at fedoraproject.org
Mon Apr 26 07:14:20 UTC 2010


Author: jkratoch

Update of /cvs/pkgs/rpms/gdb/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv8419

Modified Files:
	gdb.spec 
Added Files:
	gdb-bz539590-gnu-ifunc-fix-cond.patch 
Log Message:
* Mon Apr 26 2010 Jan Kratochvil <jan.kratochvil at redhat.com> - 7.1-15.fc13
- Fix crash when using GNU IFUNC call from breakpoint condition.
- Avoid internal error by disabling the previous BZ 575292 fix (BZ 585445).


gdb-bz539590-gnu-ifunc-fix-cond.patch:
 breakpoint.c |    5 +++++
 1 file changed, 5 insertions(+)

--- NEW FILE gdb-bz539590-gnu-ifunc-fix-cond.patch ---
--- ./gdb/breakpoint.c	2010-04-26 02:35:53.000000000 +0200
+++ ./gdb/breakpoint.c	2010-04-26 02:33:26.000000000 +0200
@@ -8499,6 +8499,11 @@ update_breakpoint_locations (struct brea
 	{
 	  struct gdb_exception e;
 
+	  /* Temporary workaround before the non-intrusive ifunc patch gets in.
+	     exp parsing can now call inferior function invalidating
+	     EXISTING_LOCATIONS.  */
+	  existing_locations = NULL;
+
 	  s = b->cond_string;
 	  TRY_CATCH (e, RETURN_MASK_ERROR)
 	    {


Index: gdb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/F-13/gdb.spec,v
retrieving revision 1.432
retrieving revision 1.433
diff -u -p -r1.432 -r1.433
--- gdb.spec	22 Apr 2010 17:30:03 -0000	1.432
+++ gdb.spec	26 Apr 2010 07:14:18 -0000	1.433
@@ -36,7 +36,7 @@ Version: 7.1
 
 # 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: 14%{?_with_upstream:.upstream}%{dist}
+Release: 15%{?_with_upstream:.upstream}%{dist}
 
 License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and GFDL and BSD and Public Domain
 Group: Development/Debuggers
@@ -460,6 +460,9 @@ Patch451: gdb-bz575292-delayed-physname.
 Patch452: gdb-bz570635-prettyprint-doc1.patch
 Patch453: gdb-bz570635-prettyprint-doc2.patch
 
+# Fix crash when using GNU IFUNC call from breakpoint condition.
+Patch454: gdb-bz539590-gnu-ifunc-fix-cond.patch
+
 BuildRequires: ncurses-devel%{?_isa} texinfo gettext flex bison expat-devel%{?_isa}
 Requires: readline%{?_isa}
 BuildRequires: readline-devel%{?_isa}
@@ -725,9 +728,11 @@ rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc
 %patch447 -p1
 %patch448 -p1
 %patch449 -p1
-%patch451 -p1
+# Avoid internal error by disabling the previous BZ 575292 fix (BZ 585445).
+#patch451 -p1
 %patch452 -p1
 %patch453 -p1
+%patch454 -p1
 
 %patch415 -p1
 %patch393 -p1
@@ -1060,6 +1065,10 @@ fi
 %endif
 
 %changelog
+* Mon Apr 26 2010 Jan Kratochvil <jan.kratochvil at redhat.com> - 7.1-15.fc13
+- Fix crash when using GNU IFUNC call from breakpoint condition.
+- Avoid internal error by disabling the previous BZ 575292 fix (BZ 585445).
+
 * Thu Apr 22 2010 Jan Kratochvil <jan.kratochvil at redhat.com> - 7.1-14.fc13
 - Fix crash on C++ types in some debug info files (BZ 575292, Keith Seitz).
 - Pretty printers not well documented (BZ 570635, Tom Tromey, Jan Kratochvil).



More information about the scm-commits mailing list