Re:Re: [uCsimm] newbie needing help

From: liu qingyao (liuqingyao@263.net)
Date: Wed Mar 07 2001 - 01:58:47 EST


Phil and all:

>gdbserver should be working. I'll check on this again sometime this
>week.
>
  from uclinux-dev@uClinux.org by lzyhm@263.net
>At ucsim:
># ./gdbserver :3000 /bin/mytest
>Process /bin/mytest created; pid = 19
>code at 10cb6390, data at 73e018
>Remote debugging using :3000
 .....
> I cann't catch the break :(. why?

  Maybe I found the problem, but I don't known why.

  the gdbserver must exec mytest from nfs, The arg "/bin/mytest" mean running from rom(right?), look like following:
# ./gdbserver :3000 /usr/uClinux/testing/src/mytest/mytest
Process /bin/mytest created; pid = 19
code at 7c0058, data at 73e018
Remote debugging using :3000
......
all is working

  The code position is different (one is 0x10cb6390,another is 0x7c0058).
   Perhaps someone can explain in details.

>Here is part of the manual
>
>http://gcc.gnu.org/onlinedocs/gcc_5.html#SEC104
>
 Thank you! I learn much from the manual.

_____________________________________________
30款手机网上最低价 http://shopping.263.net/hotsale/topmobile/
流行饰品 意外惊喜 http://shopping.263.net/Article/articlelist.asp?Class1=11&Class2=09
This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/



This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:42 EST