Hi:
2009/6/9 loody <mi...@gm...>:
> hi
>
> 2009/6/9 Bob Rossi <bo...@br...>
>>
>> On Sat, Jun 06, 2009 at 11:21:18AM +0800, loody wrote:
>> > Dear all:
>> > Would someone tell me how to debug mips or arm applications by CGDB.
>> > I have cross-toolchain like arm-linux-gdb, but I have no idea how to
>> > embed it with cgdb.
>> > Should I recompile cgdb with arm-linux target or only replace the
>> > build-in gdb with arm-linux-gdb?
>>
>> All I can really tell you is that you should worry about configuring gdb
>> to work properly in the environment that you want. Once you have that
>> working, you can compile cgdb on the arch that you want to run it on.
>> cgdb simply runs gdb on the same machine and communicates with it.
>>
>> I hope that's helpful.
>>
>> Thanks,
>> Bob Rossi
>
> thanks for your help.
> Maybe I don't express my problem very clearly.
> I don't want to run cgdb on my target, suppose arm, directly.
> I just to run cgdb with cross-compiled gdb, like arm-linux-gdb, on my host
> and connect to the gdbserver running on the target.
> I find what I need, -d, which can let me to use cross-gdb instead of native
> gdb on my host.
> appreciate your help and your tool,
> miloody
>From cgdb's website, it says it has the version which can run under cygwin.
But I cannot find where it is located at the choosing package's page.
Would someone tell where I can find it?
appreciate your help,
miloody
|