From 704a1288b1b9945b30a3cc29f4a72f8cce5fb0e9 Mon Sep 17 00:00:00 2001 From: drow Date: Thu, 8 Feb 2007 13:56:12 +0000 Subject: [PATCH] * features/feature_to_c.sh: Use %s to avoid problems with nawk. --- gdb/ChangeLog | 4 ++++ gdb/features/feature_to_c.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a82cdfdfa4..2759f070d7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2007-02-08 Daniel Jacobowitz + + * features/feature_to_c.sh: Use %s to avoid problems with nawk. + 2007-02-08 Mark Kettenis * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h". diff --git a/gdb/features/feature_to_c.sh b/gdb/features/feature_to_c.sh index b737d0e280..e36638d18d 100644 --- a/gdb/features/feature_to_c.sh +++ b/gdb/features/feature_to_c.sh @@ -51,7 +51,7 @@ for input; do } else if (c == "\\") { printf "'\''\\\\'\'', " } else if (_ord_[c] >= 32 && _ord_[c] < 127) { - printf "'\''" c "'\'', " + printf "'\''%s'\'', ", c } else { printf "'\''\\%03o'\'', ", _ord_[c] } -- 2.11.0