Re: [PATCH] scripts/gdb: decode bytestream on dmesg for Python3

2016-05-05 Thread Dom Cote
Looks good, b'' marker doesn't appear anymore. Tested for python 2.7 and 3.4 Acked-by: Dom Cote Tested-by: Dom Cote Regards On Wed, May 4, 2016 at 8:37 AM, Kieran Bingham wrote: > The recent fixes to lx-dmesg, now allow the command to print > successfully on Python

[PATCH] Fix issue with dmesg.py and python 3.X

2016-04-05 Thread Dom Cote
addition of 2 'bytes' objects. Create a read_memoryview() function that always return a memoryview object. Change the read_u16 function so it doesn't need to use ord() anymore. Tested with Python 3.4 and gdb 7.7 Signed-off-by: Dom Cote --- scripts/gdb/linux/dmesg.py | 9 + sc