Follow-up Comment #1, task #6537 (project hurd): Two patches that add this. The first extends symbol_values to take the symbol table as an argument, this is required for ELF. The second adds db_elf.c as well as a whole bunch of support files, enables ELF and adds it to model_dep. It also sets ELF as the default type, I don't think anyone still builds Mach as an a.out.
line_at_pc is not implemented at the moment. The above patch doesn't do any DWARF2 lookups, just symtab. All the other features should be fine. The ELF headers are from FreeBSD, they have a nice way of dealing with 32/64bit versions so we're 64bit compatible. (file #15645, file #15646) _______________________________________________________ Additional Item Attachment: File name: symbol_values.patch Size:1 KB File name: elf.patch Size:71 KB _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/task/?6537> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/