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

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

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

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

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. so I

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. and

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 unsubscribe

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",

how to add debug information into the vmlinux

2007-08-17 Thread Xu Yang
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. after I got the vmlinux( uncompressed) I used arm-none-eabi-objcopy --change-addresses 0x4000 to change the start address. it

how to add debug information into the vmlinux

2007-08-17 Thread Xu Yang
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. after I got the vmlinux( uncompressed) I used arm-none-eabi-objcopy --change-addresses 0x4000 to change the start address. it

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, enter the