Hello,
Right now the ā-vā flag changes the output format away from the named
parsed and toward a byte dump:
root@felipe64 10:23:07 ~/temp/strace-4.19
> ./strace perl -e1 2>&1 | grep ioctl | grep -v Inappropriate
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
root@felipe64 1
---
term.c | 145 ++---
xlat/term_cflags.in| 9 +++
xlat/term_cflags_csize.in | 4 ++
xlat/term_iflags.in| 15 +
xlat/term_lflags.in| 17 ++
xlat/term_oflags.in| 15 +
xlat/term_oflags_b
Hello.
Current support of term ioctls is in pretty abandoned state.
However, does this patch set work for you?
Eugene Syromyatnikov (3):
xlat/gen.sh: add some rudimentary support for comments
use print_quoted_string in decode_termio
term: improve decoding of termios and termio structures
---
xlat/gen.sh | 6 ++
1 file changed, 6 insertions(+)
diff --git a/xlat/gen.sh b/xlat/gen.sh
index 06c1b17..9efa0ab 100755
--- a/xlat/gen.sh
+++ b/xlat/gen.sh
@@ -135,6 +135,9 @@ gen_header()
# 1st pass: output directives.
while read line; do
LC_COLLATE=C
+
---
term.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/term.c b/term.c
index 9368e5f..28f562f 100644
--- a/term.c
+++ b/term.c
@@ -73,7 +73,6 @@ static void
decode_termio(struct tcb *const tcp, const kernel_ulong_t addr)
{
struct termio tio;
- int i;
Hello Eugene,
Thank you for your prompt response! This would be very helpful, yes. :)
-Felipe
> On Sep 13, 2017, at 3:57 PM, Eugene Syromyatnikov wrote:
>
> Hello.
>
> Current support of term ioctls is in pretty abandoned state.
>
> However, does this patch set work for you?
>
> Eug