Thanks, John and Simon, for sharing your knowledge. Seems like the DW_AT_producer string would be useful for MAME, as it's unlikely MAME would be able to interpret any DWARF that wasn't specifically written for it.
As for the 6811, yes... a while back I found this page: https://refspecs.linuxfoundation.org/elf/index.html which links to this doc: https://refspecs.linuxfoundation.org/elf/m8-16eabi.pdf which contains register mappings for several Motorola CPUs, including 6811, but not 6809. The registers listed are almost what we'd need, but are missing U (user stack index register). Further, folks will likely be expecting Hitachi 6309 support as soon as 6809 is available. The 6309 is a drop-in replacement for 6809, which can run in a compatibility mode. Many folks upgrade their TRS-80 CoCos with this faster chip, which also adds a slew of other registers, not listed in the above doc. If MAME does choose to use DWARF, I agree we'll want an official and easily findable place to publish any register mappings we make up. If you can think of any other areas that might give us issues (where DWARF defers to the ABI, but the ABI is missing), that would be helpful to know about! Thanks again, David -- Dwarf-discuss mailing list Dwarf-discuss@lists.dwarfstd.org https://lists.dwarfstd.org/mailman/listinfo/dwarf-discuss