aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeel Gala <neelgala@incoresemi.com>2022-06-09 19:14:37 +0530
committerNeel Gala <neelgala@incoresemi.com>2022-06-09 19:14:37 +0530
commit4ff73c2ccbe74c1684404a39e7d3bc4b0deb619e (patch)
tree72d678c99d2df2485ef1703ca83faf6b2abb051d
parentdbd88597fd400ceec557e4b3d20371f821c90b0b (diff)
downloadriscv-opcodes-4ff73c2ccbe74c1684404a39e7d3bc4b0deb619e.zip
riscv-opcodes-4ff73c2ccbe74c1684404a39e7d3bc4b0deb619e.tar.gz
riscv-opcodes-4ff73c2ccbe74c1684404a39e7d3bc4b0deb619e.tar.bz2
improve logging statements
-rwxr-xr-xparse.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/parse.py b/parse.py
index d54b9d5..f4be8ea 100755
--- a/parse.py
+++ b/parse.py
@@ -181,7 +181,7 @@ def create_inst_dict(file_filter, include_pseudo=False):
# first pass if for standard/regular instructions
logging.debug('Collecting standard instructions first')
for f in file_names:
- logging.debug(f'Parsing File: {f}')
+ logging.debug(f'Parsing File: {f} for standard instructions')
with open(f) as fp:
lines = (line.rstrip()
for line in fp) # All lines including the blank ones
@@ -225,7 +225,7 @@ def create_inst_dict(file_filter, include_pseudo=False):
# second pass if for pseudo instructions
logging.debug('Collecting pseudo instructions now')
for f in file_names:
- logging.debug(f'Parsing File: {f}')
+ logging.debug(f'Parsing File: {f} for pseudo_ops')
with open(f) as fp:
lines = (line.rstrip()
for line in fp) # All lines including the blank ones
@@ -285,7 +285,7 @@ def create_inst_dict(file_filter, include_pseudo=False):
# third pass if for imported instructions
logging.debug('Collecting imported instructions')
for f in file_names:
- logging.debug(f'Parsing File: {f}')
+ logging.debug(f'Parsing File: {f} for imported ops')
with open(f) as fp:
lines = (line.rstrip()
for line in fp) # All lines including the blank ones