Re: [PATCH] Remove mfinfo[64] used by get_wchan()

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

 



On Fri, 18 Aug 2006 10:50:01 +0200, Franck Bui-Huu <vagabon.xyz@xxxxxxxxx> wrote:
> Does something like this seem correct ? If an exception occured on a first
> instruction of a function, show_backtrace() will call get_frame_info()
> with info->func_size != 0 but very small. In this case it returns 1.

Why get_frame_info() will be called with info->func_size != 0 ?  The
offset of a _first_ instruction is 0, so "ofs" of this line in
unwind_stack() will be 0.

	info.func_size = ofs;	/* analyze from start to ofs */

---
Atsushi Nemoto


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux