CVSROOT: /cvs/gnome Module name: sysprof Changes by: ssp 06/10/08 00:03:02
Modified files: . : ChangeLog TODO binfile.c elfparser.c elfparser.h process.c module : sysprof-module.c Log message: 2006-10-07 Soren Sandmann <[EMAIL PROTECTED]> Deal with address offsets. Address lookup is now: - First convert the address to an offset into the file - Then convert to an offset into the text segment - Then add the load address of the text segment (found in the debug binary) - Then finally lookup the result in the symbol table. * elfparser.c (elf_parser_get_text_offset): New function * elfparser.c (elf_parser_lookup_symbol): Treat addresses as offsets into the text segment. * binfile.c (bin_file_new): Store the offset of the text section of the actual binary (not the debug one) (bin_file_lookup_symbol): Subtract text_offset before passing address to elf parser. * module/sysprof-module.c: Remove include of linux/config.h URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=sysprof&who=ssp&date=explicit&mindate=2006-10-08%2000:02&maxdate=2006-10-08%2000:04 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list