rpms/gdb/F-12 gdb-bz539590-gnu-ifunc-fix-cond.patch, NONE, 1.1 gdb.spec, 1.438, 1.439

Jan Kratochvil jkratoch at fedoraproject.org
Mon Apr 26 00:55:14 UTC 2010


Author: jkratoch

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

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.0.1-45.fc12
- Fix crash when using GNU IFUNC call from breakpoint condition.


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-12/gdb.spec,v
retrieving revision 1.438
retrieving revision 1.439
diff -u -p -r1.438 -r1.439
--- gdb.spec	14 Apr 2010 10:41:48 -0000	1.438
+++ gdb.spec	26 Apr 2010 00:55:13 -0000	1.439
@@ -36,7 +36,7 @@ Version: 7.0.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: 44%{?_with_upstream:.upstream}%{dist}
+Release: 45%{?_with_upstream:.upstream}%{dist}
 
 License: GPLv3+
 Group: Development/Debuggers
@@ -494,6 +494,9 @@ Patch438: gdb-bz574483-display-sepdebug.
 # Fix pretty printers regression in 7.0.1-40.fc12 (Phil Muldoon, BZ 582052).
 Patch450: gdb-bz582052-libstdc++-compat.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}
@@ -763,6 +766,7 @@ rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc
 %patch437 -p1
 %patch438 -p1
 %patch450 -p1
+%patch454 -p1
 # Always verify their applicability.
 %patch393 -p1
 %patch335 -p1
@@ -1088,6 +1092,9 @@ fi
 %endif
 
 %changelog
+* Mon Apr 26 2010 Jan Kratochvil <jan.kratochvil at redhat.com> - 7.0.1-45.fc12
+- Fix crash when using GNU IFUNC call from breakpoint condition.
+
 * Wed Apr 14 2010 Jan Kratochvil <jan.kratochvil at redhat.com> - 7.0.1-44.fc12
 - Fix pretty printers regression in 7.0.1-40.fc12 (Phil Muldoon, BZ 582052).
 



More information about the scm-commits mailing list