From c875aef49ccdec2edda4a908c31bfbde1bf47c56 Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Sat, 5 Jun 2021 18:03:50 +0200 Subject: [PATCH] elf_mem_map: increase width again to fit new output --- tools/elf_mem_map | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/elf_mem_map b/tools/elf_mem_map index b6aec2c60..3bd0f23e5 100755 --- a/tools/elf_mem_map +++ b/tools/elf_mem_map @@ -270,7 +270,7 @@ def decode_dump(path): return (buf_addr, buf_data) -def annotate_refs(grefs, addr, data, width=46, gaps=True, overlaps=True): +def annotate_refs(grefs, addr, data, width, gaps=True, overlaps=True): last_end = None for entry in grefs: if entry.loc < addr: @@ -327,7 +327,7 @@ def main(): help='do not decode structure data') ap.add_argument('--overlaps', action='store_true', help='annotate overlaps greater than 1 byte') - ap.add_argument('--name-width', type=int, default=46, + ap.add_argument('--name-width', type=int, default=50, help='set name column width') g = ap.add_mutually_exclusive_group(required=True) g.add_argument('dump', nargs='?', help='RAM dump obtained from D2 g-code')