* cygwin-shilka: Remove '#line directives' or suffer debugging oddities. Use
-length option so that device prefixes are used. * devices.cc: Regenerate. * syscalls.cc (ttyname): Add debugging output.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#!/bin/sh -x
|
||||
#!/bin/sh
|
||||
c="$(basename $1 .shilka).c"
|
||||
shilka -strip -no-definitions $1 && \
|
||||
shilka -length -strip -no-definitions $1 && \
|
||||
sed -e '1,4d' -e '/KR_reset.*;/d' -e '/KR_output_statistics.*;/d' \
|
||||
-e '/KR_reset.*)/,/}/d' -e '/KR_output_statistics.*)/,/}/d' "$c" > $2 &&
|
||||
-e '/KR_reset.*)/,/}/d' -e '/KR_output_statistics.*)/,/}/d' \
|
||||
-e '/# *line/d' "$c" > $2 &&
|
||||
rm -f "$c"
|
||||
# -e "s%$c"'"%'"$2"'"%g'
|
||||
|
||||
Reference in New Issue
Block a user