From 40618926494501894c418f02704cdc224593394d Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Thu, 24 Jun 2010 18:24:03 +0000 Subject: [PATCH] gdb/ Fix GDB startup on readonly filesystem. * charset.c (find_charset_names): Use PEX_USE_PIPES for pex_init. --- gdb/ChangeLog | 6 ++++++ gdb/charset.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index dc96c83501b..64c67d93c13 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2010-06-24 Jan Kratochvil + Tom Tromey + + Fix GDB startup on readonly filesystem. + * charset.c (find_charset_names): Use PEX_USE_PIPES for pex_init. + 2010-06-24 Jan Kratochvil Pedro Alves diff --git a/gdb/charset.c b/gdb/charset.c index 8a9b5ad1d96..43b7fa8f223 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"; -- 2.30.2