OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52d3599
)
* features/feature_to_c.sh: Use %s to avoid problems with nawk.
author
drow
<drow>
Thu, 8 Feb 2007 13:56:12 +0000
(13:56 +0000)
committer
drow
<drow>
Thu, 8 Feb 2007 13:56:12 +0000
(13:56 +0000)
gdb/ChangeLog
patch
|
blob
|
history
gdb/features/feature_to_c.sh
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index
a82cdfd
..
2759f07
100644
(file)
--- 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
(file)
--- 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]
}