Re: how to add debug information into the vmlinux

2007-08-18 Thread Jan Engelhardt
On Aug 18 2007 22:01, Xu Yang wrote: > >this vmlinux file is running on my software virtual prototype system. >and my software enviorment can only load elf file, so I am using this >real vmlinux file. Maybe there is a problem in your virtual prototype system (VM?). Jan -- - To unsubscr

Re: how to add debug information into the vmlinux

2007-08-18 Thread Xu Yang
this vmlinux file is running on my software virtual prototype system. and my software enviorment can only load elf file, so I am using this real vmlinux file. regards, Yang 2007/8/18, Jan Engelhardt <[EMAIL PROTECTED]>: > > On Aug 18 2007 21:49, Xu Yang wrote: > > > >I tried as what you told me.

Re: how to add debug information into the vmlinux

2007-08-18 Thread Jan Engelhardt
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. >

Re: how to add debug information into the vmlinux

2007-08-18 Thread Xu Yang
Hi Jesper, 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-addres

Re: how to add debug information into the vmlinux

2007-08-17 Thread Jesper Juhl
On 17/08/07, Xu Yang <[EMAIL PROTECTED]> wrote: > Hello everyone, > > I am trying to port kernel 2.6.19 onto my system.so I need the c code > , which can show me where the program is running. I add -g when I > compile it. > You shouldn't need to do that manually, simply go into "make menuconfig", e