From: Hao Tang (tanghao@lineo.ca)
Date: Thu Jan 18 2001 - 10:57:21 EST
hi,
there are some info in README.gdbstub.first please follewing the info
to do compile and other things
and then if you want to set the breakpoint at kernel/fork.c.
first
#define BREAK *(volatile unsigned char *)0xdeadbee0 = 0
and put
BREAK;
somewhere in kernel/fork.c.
recompile the kernel to produce the pilot.rom or something *.rom.
when run the kernel(pilot.rom) in the xcopilot . xcopilot will stop at the
point in the fork.c
gdb catch the break, then you can debug the fork.c as normal way, don't
forget to specify the path for gdb to find the source fork.c .
Hao Tang
----- Original Message -----
From: lzyhm <lzyhm@263.net>
To: <tanghao@lineo.ca>
Sent: Wednesday, January 17, 2001 9:01 PM
Subject: Re: Re:Re: [uClinux-dev] Debugging Linux with xcopilot
> If you have time, could you tell me how debug linux kenel in source code
by
> xcopilot step by step. thank you again.
> ----- Original Message -----
> 发件人: Hao Tang <tanghao@lineo.ca>
> 收件人: Liu Zheng yu <lzyhm@263.net>
> 抄送: <uclinux-dev@uClinux.org>
> 发送时间: 2001年1月17日 4:27
> 主题: Re: Re:Re: [uClinux-dev] Debugging Linux with xcopilot
>
>
> > hi,
> > if you like you can download from
> > http://go.163.com/~townhall/xcopilot-0.6.6.11.tar.gz
> > but it is still ongoing. have some problems . please see
> README.gdbstub
> > first before use gdb to debug.
> >
> > Hao Tang.
> >
> > ----- Original Message -----
> > From: Liu Zheng yu <lzyhm@263.net>
> > To: Hao Tang <tanghao@lineo.ca>
> > Sent: Monday, January 15, 2001 8:33 PM
> > Subject: Re:Re: [uClinux-dev] Debugging Linux with xcopilot
> >
> >
> > > Can i get a copy?Thank you.
> > >
> > > >hi,
> > > > i have added a gdbsever into xcopilot , so it make xcopilot to
> debug
> > the
> > > >uCliux kernel and applications with gdb at source code level.. if you
> > want
> > > >it ,i can send you later. it isn't finished. but it works now.
> > > > or you can see the message
> > http://c3po.kc-inc.net/mail/uclinux/0893.html
> > > > my job is based on that one.
> > > >
> > > >
Hao
> > Tang.
> > > >
> > > >----- Original Message -----
> > > >From: Gabriele Giambonini <ggiambon@iiic.ethz.ch>
> > > >To: <uclinux-dev@uClinux.org>
> > > >Sent: Thursday, January 11, 2001 11:15 AM
> > > >Subject: [uClinux-dev] Debugging Linux with xcopilot
> > > >
> > > >
> > > >> Is it possible to perform a step-to-step debugging of uCLinux
running
> > on
> > > >> xcopliot ? I've problems during the very first phase (Setting
> > registers,
> > > >> copy of ROM to RAM).
> > > >>
> > > >> --
> > > >>
> __
> > > >> __ _
> ///
> > > >> | _ Student in Computer Science, Swiss Federal Institute
> \\///
> > > >> |__|iambo of Technology - mailto:ggiambon@iiic.ethz.ch
\X/
> > > >>
> > > >> This message resent by the uclinux-dev@uclinux.org list server
> > > >http://www.uClinux.org/
> > > >>
> > > >
> > > >This message resent by the uclinux-dev@uclinux.org list server
> > http://www.uClinux.org/
> > >
> > > _____________________________________________
> > > 首都在线--中国人的网上家园 http://www.263.net
> > > @263.net中国最大的在线邮局 http://freemail.263.net
> > > 中国人的在线购物乐园——263商城 http://shopping.263.net
> > > 网上留学咨询-中国教育服务网 http://edu.263.net/
> > >
> >
>
This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/
This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:19:25 EDT