[gdb/f13/master] * Fri Aug 6 2010 Jan Kratochvil <jan.kratochvil at redhat.com> - 7.1-32.fc13 - Fix GDB regression for
Jan Kratochvil
jkratoch at fedoraproject.org
Fri Aug 6 16:43:47 UTC 2010
commit 2b7da1dd8cfd8be7850de05ebcffefa412157b9b
Author: Jan Kratochvil <jan.kratochvil at redhat.com>
Date: Fri Aug 6 18:42:57 2010 +0200
* Fri Aug 6 2010 Jan Kratochvil <jan.kratochvil at redhat.com> - 7.1-32.fc13
- Fix GDB regression for starting on r/o filesystem (BZ 602644).
gdb-bz602644-ro-filesystem.patch | 26 ++++++++++++++++++++++++++
gdb.spec | 9 ++++++++-
2 files changed, 34 insertions(+), 1 deletions(-)
---
diff --git a/gdb-bz602644-ro-filesystem.patch b/gdb-bz602644-ro-filesystem.patch
new file mode 100644
index 0000000..04462dc
--- /dev/null
+++ b/gdb-bz602644-ro-filesystem.patch
@@ -0,0 +1,26 @@
+http://sourceware.org/ml/gdb-cvs/2010-06/msg00161.html
+
+### src/gdb/ChangeLog 2010/06/24 15:17:24 1.11921
+### src/gdb/ChangeLog 2010/06/24 18:24:02 1.11922
+## -1,4 +1,10 @@
+ 2010-06-24 Jan Kratochvil <jan.kratochvil at redhat.com>
++ Tom Tromey <tromey at redhat.com>
++
++ Fix GDB startup on readonly filesystem.
++ * charset.c (find_charset_names): Use PEX_USE_PIPES for pex_init.
++
++2010-06-24 Jan Kratochvil <jan.kratochvil at redhat.com>
+ Pedro Alves <pedro at codesourcery.com>
+
+ Fix PR 9436.
+--- src/gdb/charset.c 2010/05/13 23:53:32 1.33
++++ src/gdb/charset.c 2010/06/24 18:24:03 1.34
+@@ -794,7 +794,7 @@
+ set_in_environ (iconv_env, "LANGUAGE", "C");
+ set_in_environ (iconv_env, "LC_ALL", "C");
+
+- child = pex_init (0, "iconv", NULL);
++ child = pex_init (PEX_USE_PIPES, "iconv", NULL);
+
+ args[0] = "iconv";
+ args[1] = "-l";
diff --git a/gdb.spec b/gdb.spec
index 5bfe7d0..b6771b7 100644
--- a/gdb.spec
+++ b/gdb.spec
@@ -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: 31%{?_with_upstream:.upstream}%{dist}
+Release: 32%{?_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
@@ -539,6 +539,9 @@ Patch492: gdb-bz611569-gdbpy_is_string.patch
# Fix long delay printing an overflown stack backtrace (BZ 620012, Tom Tromey).
Patch494: gdb-bz620012-slow-long-bt.patch
+# Fix GDB regression for starting on r/o filesystem (BZ 602644).
+Patch495: gdb-bz602644-ro-filesystem.patch
+
BuildRequires: ncurses-devel%{?_isa} texinfo gettext flex bison expat-devel%{?_isa}
Requires: readline%{?_isa}
BuildRequires: readline-devel%{?_isa}
@@ -845,6 +848,7 @@ rm -f gdb/jv-exp.c gdb/m2-exp.c gdb/objc-exp.c gdb/p-exp.c
%patch490 -p1
%patch492 -p1
%patch494 -p1
+%patch495 -p1
%patch415 -p1
%patch393 -p1
@@ -1177,6 +1181,9 @@ fi
%endif
%changelog
+* Fri Aug 6 2010 Jan Kratochvil <jan.kratochvil at redhat.com> - 7.1-32.fc13
+- Fix GDB regression for starting on r/o filesystem (BZ 602644).
+
* Tue Aug 3 2010 Jan Kratochvil <jan.kratochvil at redhat.com> - 7.1-31.fc13
- Fix long delay printing an overflown stack backtrace (BZ 620012, Tom Tromey).
More information about the scm-commits
mailing list