Permalink
Browse files

disasm: Show segment types

At whiteknight's request
  • Loading branch information...
1 parent 9561b90 commit 5e4a2a47e4d8947eaa165844581a36e20cdc260e @Benabik Benabik committed Nov 16, 2011
Showing with 5 additions and 4 deletions.
  1. +5 −4 src/disasm.winxed
View
@@ -369,12 +369,13 @@ function main[main](var argv) {
print_header(packfile);
say();
- say(packfile.constants_name);
+ say('Segments:');
+ say(' Constants: ', packfile.constants_name);
constant_table(packfile);
- say(packfile.debug_name);
+ say(' Debug: ', packfile.debug_name);
debug_segment(packfile);
- say(packfile.annotations_name);
+ say(' Annotations: ', packfile.annotations_name);
annotations_segment(packfile);
- say(packfile.bytecode_name);
+ say(' Bytecode: ', packfile.bytecode_name);
bytecode_segment(packfile);
}

0 comments on commit 5e4a2a4

Please sign in to comment.