[prev in list] [next in list] [prev in thread] [next in thread]
List: strace
Subject: [PATCH] Blackfin: tweak sram syscall decode
From: Mike Frysinger <vapier () gentoo ! org>
Date: 2013-04-03 4:19:31
Message-ID: 1364962771-793-1-git-send-email-vapier () gentoo ! org
[Download RAW message or body]
The 2nd arg is a bit field, not a specific value, so decode it as such.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
system.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/system.c b/system.c
index d5900c4..26d0d7f 100644
--- a/system.c
+++ b/system.c
@@ -378,7 +378,7 @@ sys_sram_alloc(struct tcb *tcp)
/* size */
tprintf("%lu, ", tcp->u_arg[0]);
/* flags */
- printxval(sram_alloc_flags, tcp->u_arg[1], "???_SRAM");
+ printflags(sram_alloc_flags, tcp->u_arg[1], "???_SRAM");
}
return 1;
}
--
1.8.1.2
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic