Re: Re:[RFC] Crash patch for DWARF CFI based unwind support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 19, 2006 at 05:15:32PM -0400, Dave Anderson wrote:
> 
> > There still are a couple of things which need to be done, viz
> > 1. Extend to obtaining unwind info from modules as well(currently
> >    doing only for the kernel)
> > 2. Currently reading the unwind info from eh_frame section only(ie
> >    __start_unwind to __end_unwind). Need to add facility to read from
> >    the .debug_frame(if .debug_frame is present in cases where .eh_frame
> >    is absent. Will have to read from the vmlinux if we want to read the
> >    .debug_frame info)
> 
> Hi Rachita,
> 
> I hope to be able to come up with a new crash version
> for you to continue working with by tomorrow, Monday at
> the latest.
> 
> Off the top of my head, here's what I've done with your
> initial patch:
> 
> 1. As Ben mentioned, it need to be made compilable for
>    other architectures.
> 2. Renamed unwind_x86_64.c into unwind_x86_32_64.c,
>    because the unwind code should be architecture
>    neutral with respect to x86 and x86_64.  It's currently
>    #ifdef'd to only be compile if X86_64, but when a
>    new "unwind_x86.h" file is ready to go, it can be
>    made usable by both arches.
> 3. Made it capable of reading .eh_frame data from the
>    vmlinux file if it is not in memory.
> 4. Made it capable of reading all of the module's unwind
>    tables.
> 5. Restored the unwind() function to reflect the kernel
>    version in that it new uses a new find_table() routine,
>    which returns a pointer to the local copy of the unwind
>    that contains the incoming pc.
> 6. Cleaned up a bunch of cruft...
> 

Hi Dave

Thanks! I will try the new crash first thing tomorrow morning :)

Rachita

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility

[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux