Skip to content

Commit

Permalink
fix debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
bates64 committed Oct 29, 2024
1 parent 8896cff commit c9e3106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/build/append_symbol_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def readelf(elf: str) -> List[Tuple[int, str, str, int]]:
else:
break
if closest_addr is not None:
name, segment = addr2name[addr]
name, segment = addr2name[closest_addr]
symbols.append((addr, name, file_basename, line_number, segment2romstart[segment]))

# non-debug builds
Expand Down

0 comments on commit c9e3106

Please sign in to comment.