Wessel, Jason wrote: >>-----Original Message----- >>From: Sergei Shtylyov [mailto:[EMAIL PROTECTED]
>> I suppose KGDB makes no use of neither of the unwinder >>itself nor of the extra section it adds to the kernel, so I >>should have said gdb gets muddled in that section -- mine >>wasn't all that new, custome patched 6.3... should try the >>newer one yet... > I would recommend using gdb 6.6. I had good luck with it and seeing > reasonable stack back traces. Until I switch to gdb 6.6 I found that the > x86_64 did not work to well in fact. Yeah, I've tried 6.6.50 and it kind of worked... until on hit of do_mount() breakpoint and doing a backtrace, the kernel went all random and colorful. :-) It still was able to hit the b/p once more, but then got SIGSEGV on the next hit: (gdb) c Continuing. Program received signal SIGSEGV, Segmentation fault. 0xffffffff802985a9 in do_mount (dev_name=0xffff81007e119000 "/dev/root", dir_name=0xffff81007dc2b000 "/", type_page=0xffffffffc0ed0020 <Address 0xffffffffc0ed0020 out of bounds>, flags=0xffffffffc0ed0020, data_page=0xffff81007e427000) at fs/namespace.c:1384 1384 if ((flags & MS_MGC_MSK) == MS_MGC_VAL) (gdb) c Continuing. Can't send signals to this remote system. SIGSEGV not sent. [New Thread 23] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 23] __switch_to_end () at kernel/sched.c:2344 2344 struct mm_struct *mm = rq->prev_mm; > With respect to the need for the stack unwind perhaps that will still need to > be added back I am not sure... > You mentioned there might be some problems with the ARM arch which I have yet > to see for myself. Unwinder isn't available (and reportably isn't usable) for ARM, and the kernel fails to link with CONFIG_UNWIND_INFO=y. > Jason. WBR, Sergei ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Kgdb-bugreport mailing list Kgdb-bugreport@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport