[rtems-libbsd commit] userspace-header-gen.py: Python 3 compatibility
Sebastian Huber
sebh at rtems.org
Wed Oct 11 07:31:09 UTC 2017
Module: rtems-libbsd
Branch: master
Commit: a53da0df50b4318a560bb7768d9ccb97ca0dce48
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=a53da0df50b4318a560bb7768d9ccb97ca0dce48
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Oct 10 14:03:11 2017 +0200
userspace-header-gen.py: Python 3 compatibility
---
userspace-header-gen.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/userspace-header-gen.py b/userspace-header-gen.py
index 0d4dbda..cd50c1e 100755
--- a/userspace-header-gen.py
+++ b/userspace-header-gen.py
@@ -342,7 +342,7 @@ class HeaderGenCU:
# get file and line
try:
decl_file_idx = child.attributes["DW_AT_decl_file"].value - 1
- decl_file = self._lineprogram['file_entry'][decl_file_idx].name
+ decl_file = self._lineprogram['file_entry'][decl_file_idx].name.decode('ascii')
except KeyError:
decl_file = "<unknown>"
try:
More information about the vc
mailing list