Summary: | [tracker] fcore: standalone program for extracing a core file | ||
---|---|---|---|
Product: | frysk | Reporter: | Andrew Cagney <cagney> |
Component: | general | Assignee: | Phil Muldoon <pmuldoon> |
Status: | NEW --- | ||
Severity: | normal | CC: | qiyaoltc, woodzltc, zhengyo |
Priority: | P3 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: | ||
Bug Depends on: | 3330, 3752, 3841, 5773, 5820, 5967, 3370, 3371, 3373, 3374, 3388, 3408, 3481, 3647, 3650, 3651, 3667, 3697, 3703, 3727, 4004, 4316, 4679, 4967, 5095, 5177, 5211, 5683 | ||
Bug Blocks: | 1601 |
Description
Andrew Cagney
2006-01-31 17:39:48 UTC
just like gcore does, right? That is interesting. *** Bug 3075 has been marked as a duplicate of this bug. *** 2006-10-11 Phil Muldoon <pmuldoon@redhat.com> * cni/Elf.cxx: (elf_begin): Check args to allow writing to elf files. (elf_get_last_error_msg): New. (elf_get_last_error_no): New. (elf_updatehdr): New. (elf_init_core_header): New. Temporary. (elf_updatephdr): New. * Elf.java (Elf): Add a boolean constructor switch for write/read. (updateEHeader): New. Write Elf header back to native structure. (initializeCoreHeader): Temporary. Convienience function. (updatePHeader): New. Write the program segment back to native structure. (getLastErrorMsg): New. Get the error message corresponding to entry below. (getLastErrorNo): New. Get the error number set if the last elf function failed. 2006-10-12 Phil Muldoon <pmuldoon@redhat.com> * FCore.java: Added. Initial, experimental and incomplete utility to dump process core in frysk. 2006-10-15 Phil Muldoon <pmuldoon@redhat.com> * frysk/util/FCore.java (write_elf_file): Rewritten with these changes: - Build elf header manually with full complement of data. - Build string table section/section header and update to disk. - (Still) Ugly arch test hack. * frysk/util/FCore.java (FCore.MapsCounter): Renamed. * frysk/util/FCore.java (FCore.CoreMapsBuilder): Renamed. (buildMap):Rewritten with these changes: - build section headers - define section headers in concert with program headers. - build section from header, create contextual Elf_Data class, and byte copy maps data. 2006-10-15 Phil Muldoon <pmuldoon@redhat.com> * Elf.java (getElfVersion): New function. (initializeCoreHeader): Remove. Deprecated. * ElfData.java (setBuffer): New function. Set elf buffer. (setType): New. (setSize): New. (setOffset): New. * ElfEHeader.java: Added Data, Class and Type constants. * ElfPHeader.java : Added Type constants. * ElfSection (update): New Function. Update class back to native elf header. * ElfSectionHeader.java: Changed constructor access to public. * ElfSectionHeaderTypes.java : New. * cni/Elf.cxx (elf_init_core_header): Removed. Deprecated. * cni/ElfData.cxx (elf_data_set_buff): New function. (elf_data_set_type): Ditto. (elf_data_set_version): Ditto. (elf_data_set_size): Ditto. (elf_data_set_off): Ditto. (elf_data_set_align): Ditto. * cni/ElfSection.cxx: (ElfSection): Check if ehdr->e_shstrndx exists before attempting to calculate name from string table. (elf_updateshdr): New. Leave in new/assigned state until the command is mostly there, after that bug can be SUSPENDED and additional problems hung off of this bug. |