Hi, Thanks for your opinion. >> Instead, I adopted the diskdump compression format as dump file format. >> The diskdump compression format is able to handle discontiguous data >> without creating segment headers for each chunk, and can further reduce >> the file size because data in each page is now compressed. Moreover, >> the current version of crash can handle the resulting dump file without >> any modification. > >Ok. So here bitmap is being used to keep track of dumped pages. Definitely >it is a optimal scheme in terms of smaller file metadata. Disadvantage >being that it looses its generic appeal and gdb can not open it. > >I guess, I would leave the choice to user and introduce a command line >option. User can choose what kind of output dump file does he need. An >ELF format one or a custom format one.
I haven't thought about the compatibility with gdb. It is a good idea that user can choose the dump file format by command line option. I will add the choice of creating dump files in ELF format so that gdb can be used to analyze the dump file. Thanks Ken'ichi Ohmichi
_______________________________________________ fastboot mailing list [email protected] https://lists.osdl.org/mailman/listinfo/fastboot
