On Mon, Apr 24, 2006 at 11:34:21PM +0900, Ken'ichi Ohmichi wrote: > > Hi. > On 2006/04/12 15:48:20 -0400, Vivek Goyal <[EMAIL PROTECTED]> wrote: > >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 am trying to add an ELF dump option to the "partial dump" command. > The virtual address for segments corresponding to the highmem zone have > the value 0xffffffffffffffff. This behavior was introduced in > > http://lists.osdl.org/pipermail/fastboot/attachments/20050328/7b002711/kexec-tools-linearly-mapped-region-x86.bin > > When generating multiple PT_LOAD segments from this segment, what value > should be specified as virtual address for the newly created segments? > Can I specify 0xffffffffffffffff for virtual addresses in all the > segments?
We don't have virtual address information at capture kenrel load time for memory which is not linearly mapped. Hence virtual address field is filled with this number. gdb uses these virtual address to retrieve the info from crash dump file hence currently gdb is limited to debugging linearly mapped regions only. To begin with probably you can keep those values for newly created headers but eventually we need this utility to walk through the page tables or vm list to fill those headers with appropriate virtual addresses so that gdb can do module debugging as well. And walking through the data structures should be safe in user space. -vivek
_______________________________________________ fastboot mailing list [email protected] https://lists.osdl.org/mailman/listinfo/fastboot
