diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-02-08 13:56:13 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-02-08 13:56:13 +0000 |
commit | fe5dedf464aa9740b6db25bb69c758021b860199 (patch) | |
tree | 937d751a9064ec55cdd2518d494c69d8e495a4fa | |
parent | 3e46147824f93178085761c4c396797805390a0a (diff) | |
download | gdb-fe5dedf464aa9740b6db25bb69c758021b860199.zip gdb-fe5dedf464aa9740b6db25bb69c758021b860199.tar.gz gdb-fe5dedf464aa9740b6db25bb69c758021b860199.tar.bz2 |
* features/feature_to_c.sh: Use %s to avoid problems with nawk.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/features/feature_to_c.sh | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a82cdfd..2759f07 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> + + * features/feature_to_c.sh: Use %s to avoid problems with nawk. + 2007-02-08 Mark Kettenis <kettenis@gnu.org> * 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 b737d0e..e36638d 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] } |