Browse Source

elf_mem_map: remove DWARF version except in help

Fix version to DWARF3, which is what we actually support.
Yuri D'Elia 3 years ago
parent
commit
9958c449e3
2 changed files with 3 additions and 3 deletions
  1. 1 1
      tools/README.md
  2. 2 2
      tools/elf_mem_map

+ 1 - 1
tools/README.md

@@ -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.
 

+ 2 - 2
tools/elf_mem_map

@@ -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',