Re: how to add debug information into the vmlinux
From: Jan Engelhardt
Date: Sat Aug 18 2007 - 15:54:19 EST
On Aug 18 2007 21:49, Xu Yang wrote:
>
>I tried as what you told me. and the vmlinux does contain debug
>information. but the start address of this vmlinux is 0xc0008000. when
>I tried to run this vmlinux, the program always exit at 0x80a0. I
>checked out that here is the place mmu is turned on.
>so I used objcopy --change-addresses 0x40000000 to change the start
>address of the vmlinux, and the program goes further.but the debug
>information disappeared.
Are you using an UML image... or were you really trying to gdb a real vmlinux?
Jan
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/