rpms/gdb/devel gdb-6.3-pie-20050110.patch, 1.15, 1.16 gdb-6.3-test-pie-20050107.patch, 1.8, 1.9 gdb.spec, 1.356, 1.357
Jan Kratochvil
jkratoch at fedoraproject.org
Mon Jun 15 12:53:18 UTC 2009
- Previous message (by thread): rpms/libcap/F-11 libcap-2.16-headerfix.patch, 1.1, 1.2 libcap.spec, 1.43, 1.44
- Next message (by thread): rpms/gdb/F-10 gdb-6.3-pie-20050110.patch, 1.10, 1.11 gdb-6.3-test-pie-20050107.patch, 1.7, 1.8 gdb.spec, 1.314, 1.315
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jkratoch
Update of /cvs/pkgs/rpms/gdb/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11045
Modified Files:
gdb-6.3-pie-20050110.patch gdb-6.3-test-pie-20050107.patch
gdb.spec
Log Message:
* Mon Jun 15 2009 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.8.50.20090302-32
- Fix crash on pending breakpoints with PIE (position-indep.-exec.) (BZ 505943).
gdb-6.3-pie-20050110.patch:
Index: gdb-6.3-pie-20050110.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb-6.3-pie-20050110.patch,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -p -r1.15 -r1.16
--- gdb-6.3-pie-20050110.patch 10 Jun 2009 13:05:55 -0000 1.15
+++ gdb-6.3-pie-20050110.patch 15 Jun 2009 12:53:17 -0000 1.16
@@ -276,7 +276,7 @@ Index: gdb-6.8.50.20090302/gdb/breakpoin
+ if (((b->type == bp_breakpoint) ||
+ (b->type == bp_hardware_breakpoint)) &&
+ b->enable_state == bp_enabled &&
-+ !b->loc->duplicate)
++ b->loc != NULL && !b->loc->duplicate)
+ {
+ b->enable_state = bp_startup_disabled;
+ if (!silent)
gdb-6.3-test-pie-20050107.patch:
Index: gdb-6.3-test-pie-20050107.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb-6.3-test-pie-20050107.patch,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- gdb-6.3-test-pie-20050107.patch 14 Dec 2008 14:05:15 -0000 1.8
+++ gdb-6.3-test-pie-20050107.patch 15 Jun 2009 12:53:17 -0000 1.9
@@ -873,7 +873,7 @@ Index: gdb-6.8.50.20081128/gdb/testsuite
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ gdb-6.8.50.20081128/gdb/testsuite/gdb.pie/break.exp 2008-12-09 17:24:34.000000000 +0100
-@@ -0,0 +1,973 @@
+@@ -0,0 +1,977 @@
+# Copyright 1988, 1990, 1991, 1992, 1994, 1995, 1996, 1997, 1998, 1999,
+# 2000, 2002, 2003, 2004
+# Free Software Foundation, Inc.
@@ -1055,6 +1055,9 @@ Index: gdb-6.8.50.20081128/gdb/testsuite
+set bp_location8 [gdb_get_line_number "set breakpoint 8 here" $srcfile1]
+set bp_location9 [gdb_get_line_number "set breakpoint 9 here" $srcfile1]
+
++# Test a pending breakpoint in PIE executable does not crash later GDB.
++gdb_breakpoint "non_existent_function" allow-pending
++
+gdb_test "info break" \
+ "Num\[ \]+Type\[ \]+Disp Enb Address\[ \]+What.*
+\[0-9\]+\[\t \]+breakpoint keep y.* in main at .*$srcfile:$main_line.*
@@ -1064,7 +1067,8 @@ Index: gdb-6.8.50.20081128/gdb/testsuite
+\[0-9\]+\[\t \]+breakpoint keep y.* in main at .*$srcfile:$bp_location1.*
+\[0-9\]+\[\t \]+breakpoint keep y.* in main at .*$srcfile:$bp_location2.*
+\[0-9\]+\[\t \]+breakpoint keep y.* in multi_line_if_conditional at .*$srcfile:$bp_location3.*
-+\[0-9\]+\[\t \]+breakpoint keep y.* in multi_line_while_conditional at .*$srcfile:$bp_location4" \
++\[0-9\]+\[\t \]+breakpoint keep y.* in multi_line_while_conditional at .*$srcfile:$bp_location4.*
++\[0-9\]+\[\t \]+breakpoint keep y.* <PENDING> *non_existent_function" \
+ "breakpoint info"
+
+# FIXME: The rest of this test doesn't work with anything that can't
@@ -1490,7 +1494,7 @@ Index: gdb-6.8.50.20081128/gdb/testsuite
+}
+send_gdb "print marker2(99)\n"
+gdb_expect {
-+ -re "The program being debugged stopped while in a function called from GDB.\r\nWhen the function .marker2$proto. is done executing, GDB will silently\r\nstop .instead of continuing to evaluate the expression containing\r\nthe function call...*$gdb_prompt $"\
++ -re "The program being debugged stopped while in a function called from GDB.\r\nEvaluation of the expression containing the function\r\n.marker2$proto. will be abandoned.\r\nWhen the function is done executing, GDB will silently stop.\r\n$gdb_prompt $"\
+ {pass "hit breakpoint on called function"}
+ -re "$gdb_prompt $"\
+ {fail "hit breakpoint on called function"}
Index: gdb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdb/devel/gdb.spec,v
retrieving revision 1.356
retrieving revision 1.357
diff -u -p -r1.356 -r1.357
--- gdb.spec 12 Jun 2009 21:57:38 -0000 1.356
+++ gdb.spec 15 Jun 2009 12:53:17 -0000 1.357
@@ -15,7 +15,7 @@ Version: 6.8.50.20090302
# 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: 31%{?_with_upstream:.upstream}%{?dist}
+Release: 32%{?_with_upstream:.upstream}%{?dist}
License: GPLv3+
Group: Development/Debuggers
@@ -891,6 +891,9 @@ fi
%endif
%changelog
+* Mon Jun 15 2009 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.8.50.20090302-32
+- Fix crash on pending breakpoints with PIE (position-indep.-exec.) (BZ 505943).
+
* Fri Jun 12 2009 Jan Kratochvil <jan.kratochvil at redhat.com> - 6.8.50.20090302-31
- Fix an occasional crash during printing of missing debuginfo rpms (BZ 505401).
- Previous message (by thread): rpms/libcap/F-11 libcap-2.16-headerfix.patch, 1.1, 1.2 libcap.spec, 1.43, 1.44
- Next message (by thread): rpms/gdb/F-10 gdb-6.3-pie-20050110.patch, 1.10, 1.11 gdb-6.3-test-pie-20050107.patch, 1.7, 1.8 gdb.spec, 1.314, 1.315
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list