elf_mem_map: remove DWARF version except in help

Fix version to DWARF3, which is what we actually support.
This commit is contained in:
Yuri D'Elia 2021-06-05 22:29:11 +02:00 committed by DRracer
parent 54e24036a8
commit 9958c449e3
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ Requires ``printcore`` from [Pronterface].
### ``elf_mem_map``
Generate a symbol table map starting directly from an ELF firmware with DWARF2 debugging information (which is the default using the stock board definition).
Generate a symbol table map starting directly from an ELF firmware with DWARF debugging information (which is the default using the stock board definition).
When used along with a memory dump obtained from the D2 g-code, show the value of each symbol which is within the address range.

View File

@ -377,11 +377,11 @@ def print_qdirstat(grefs):
def main():
ap = argparse.ArgumentParser(description="""
Generate a symbol table map starting directly from an ELF
firmware with DWARF2 debugging information.
firmware with DWARF3 debugging information.
When used along with a memory dump obtained from the D2 g-code,
show the value of each symbol which is within the address range.
""")
ap.add_argument('elf', help='ELF file containing DWARF2 debugging information')
ap.add_argument('elf', help='ELF file containing DWARF debugging information')
ap.add_argument('--no-gaps', action='store_true',
help='do not dump memory inbetween known symbols')
ap.add_argument('--no-expand-structs', action='store_true',