2008-07-25 06:35:32     can't start gdbserver on bf357

Document created by Aaronwu Employee on Aug 7, 2013
Version 1Show Document
  • View in full screen mode

2008-07-25 06:35:32     can't start gdbserver on bf357

suresh kumar (INDIA)

Message: 59393   

 

HI

 

I am using 2000R1-RC8 kernel  and

 

blackfin-toolchain-08r1-8.i386.rpm            

blackfin-toolchain-uclibc-full-08r1-8.i386.rpm     These toolchains.

 

whenever i satart gdbserver in bf537 ez-little kit.it give these kind of message.

 

root:/> gdbserver /dev/ttyS1 sam1.gdb

 

Cannot exec sam1.gdb: No such file or directory.

 

Process sam1.gdb created; pid = 117

 

 

 

Child exited with retcode = 7f

 

Aborting server; child exited with 127

 

 

 

 

 

 

 

 

 

root:/> gdbserver localhost:3456 sam1

 

Cannot exec sam1: No such file or directory.

 

Process sam1 created; pid = 119

 

 

 

Child exited with retcode = 7f

 

Aborting server; child exited with 127

 

 

 

 

 

root:/> gdbserver localhost:3456 sam1.gdb

 

Cannot exec sam1.gdb: No such file or directory.

 

Process sam1.gdb created; pid = 121

 

 

 

Child exited with retcode = 7f

 

Aborting server; child exited with 127

 

 

 

 

 

root:/> gdbserver 10.7.133.74:3456 sam1

 

Cannot exec sam1: No such file or directory.

 

Process sam1 created; pid = 123

 

 

 

Child exited with retcode = 7f

 

Aborting server; child exited with 127

 

 

 

before that i copied the source file into target.

 

by

 

Sureshkumar.p

 

 

QuoteReplyEditDelete

 

 

2008-07-25 06:47:48     Re: can't start gdbserver on bf357

Yi Li (CHINA)

Message: 59395   

 

Where is your app "sam1" located? If it is in your current directory (/), try "gdbserver :3456 ./sam1". And please note:

 

1. *.gdb is not supposed to be executed on target. Please read our wiki documents on debugging.

 

2. If you are using 2007r1 kernel, please use 2007r1 toolchain to build it. Kernel and toolchain version should alwasy match.

QuoteReplyEditDelete

 

 

2008-07-25 06:50:40     Re: can't start gdbserver on bf357

Mike Frysinger (UNITED STATES)

Message: 59396   

 

those commands really dont make sense ... please read the documentation:

http://docs.blackfin.uclinux.org/doku.php?id=debuggers

QuoteReplyEditDelete

 

 

2008-07-28 05:42:20     I am not able to debug the programm through eclipse

suresh kumar (INDIA)

Message: 59467   

 

Hi

 

I am using IDE (c,c++) eclipse with new versions (3.4+).

 

I started GDBserver in Bf537 target and gdb in my localhost also.

 

I follow the steps given in the sites:

 

http://docs.blackfin.uclinux.org/doku.php?id=debuggers

 

http://docs.blackfin.uclinux.org/doku.php?id=toolchain:eclipse

 

 

 

once i do this steps

 

Debugging

 

    Choose the debug configuration you just created:

        Run → Debug.. → Choose the debug configuration → Click Debug:

 

It start the compiling the finals it show the error,The target refused the connection.

 

I am able to find out the problem.can you tell me.

 

By

 

Suresh

 

 

QuoteReplyEditDelete

 

 

2008-07-28 05:59:53     Re: I am not able to debug the programm through eclipse

Mike Frysinger (UNITED STATES)

Message: 59471   

 

start new threads for different topics rather than spawning off old threads

Attachments

    Outcomes