aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-06-24 18:24:03 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2010-06-24 18:24:03 +0000
commit40618926494501894c418f02704cdc224593394d (patch)
treeff4b3b1fc43f872d12f113525813cc5f4961caf5 /gdb
parent628fe4e4a9819d823ef97acacb01c01e39d3fc50 (diff)
downloadgdb-40618926494501894c418f02704cdc224593394d.zip
gdb-40618926494501894c418f02704cdc224593394d.tar.gz
gdb-40618926494501894c418f02704cdc224593394d.tar.bz2
gdb/
Fix GDB startup on readonly filesystem. * charset.c (find_charset_names): Use PEX_USE_PIPES for pex_init.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/charset.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index dc96c83..64c67d9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,4 +1,10 @@
2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+ Tom Tromey <tromey@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@redhat.com>
Pedro Alves <pedro@codesourcery.com>
Fix PR 9436.
diff --git a/gdb/charset.c b/gdb/charset.c
index 8a9b5ad..43b7fa8 100644
--- a/gdb/charset.c
+++ b/gdb/charset.c
@@ -794,7 +794,7 @@ find_charset_names (void)
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";