[Dwarf-discuss] DWARF on vintage CPUs

2025-05-04 Thread David Broman via Dwarf-discuss
Hi, all, a question that may be out of scope for this list, but I'm hoping someone here might have answers anyway or be able to point me in the right direction. I'm considering using DWARF for reading / writing debugging information for Motorola 6809 programs, but the first issue I come to is t

Re: [Dwarf-discuss] DWARF on vintage CPUs

2025-05-05 Thread David Broman via Dwarf-discuss
e register 6 in the DWARF, you'll know it's register U. And whatever numbering you pick, you should publish it somewhere so that others can know the register numbering you picked. Cheers, John D. From: Dwarf-discuss mailto:dwarf-discuss-bounces~jdelsignore=perforce@lists.dwarfstd.o

Re: [Dwarf-discuss] DWARF on vintage CPUs

2025-05-06 Thread David Broman via Dwarf-discuss
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.linux