2008-06-26 06:07:30     using gdb server on eclipse

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

2008-06-26 06:07:30     using gdb server on eclipse

Juhi Sinha (INDIA)

Message: 57905   

 

We are trying to debug a simple c program using bf537. We are able to compile the code. But when we select debug configurations go into 'debugger' ,we do not get any 'debugger options' for gdb server where we can give the IP address and port . We are attching the sreenshot.

 

Please help us with this !

 

GDB Server.png

QuoteReplyEditDelete

2008-06-26 06:07:30     using gdb server on eclipse

Juhi Sinha (INDIA)

Message: 57905   

 

We are trying to debug a simple c program using bf537. We are able to compile the code. But when we select debug configurations go into 'debugger' ,we do not get any 'debugger options' for gdb server where we can give the IP address and port . We are attching the sreenshot.

 

Please help us with this !

 

GDB Server.png

QuoteReplyEditDelete

 

 

2008-06-26 08:18:12     Re: using gdb server on eclipse

Mike Frysinger (UNITED STATES)

Message: 57911   

 

dont select the "Blackfin" gdb ... just select the standard gdbserver one

QuoteReplyEditDelete

 

 

2008-06-26 09:04:04     Re: using gdb server on eclipse

Juhi Sinha (INDIA)

Message: 57915   

 

I selected the simple gdbserver ,and selected the option for using TCP and gave IP and port accordingly.

 

Also I copied the file 'hello' made after compiling in tftpboot . On the target  I fetched the file from host using tftp, then I started the gdbserver on the target .

 

Then through eclipse I tried to debug but it gave an error saying that connection cannot be made .But I am able to debug the program using the command line from gdb promt.

 

Moreover  after  building in the console I got :

 

-------------------------------------------------------------------

 

<terminated> Make [Builder ][Program]/usr/bin/make

 

make: *** No rule to make target `make'.  Stop.

 

------------------------------------------------------------------

 

Can you please tell why these errors are coming!

QuoteReplyEditDelete

 

 

2008-06-26 09:27:44     Re: using gdb server on eclipse

Mike Frysinger (UNITED STATES)

Message: 57917   

 

that error is most likely unrelated to the debugging.  i dont know how you set up your project, but you're probably better off asking about the builder stuff on the eclipse site: http://www.eclipse.org/newsgroups/

 

 

2008-06-26 08:18:12     Re: using gdb server on eclipse

Mike Frysinger (UNITED STATES)

Message: 57911   

 

dont select the "Blackfin" gdb ... just select the standard gdbserver one

QuoteReplyEditDelete

 

 

2008-06-26 09:04:04     Re: using gdb server on eclipse

Juhi Sinha (INDIA)

Message: 57915   

 

I selected the simple gdbserver ,and selected the option for using TCP and gave IP and port accordingly.

 

Also I copied the file 'hello' made after compiling in tftpboot . On the target  I fetched the file from host using tftp, then I started the gdbserver on the target .

 

Then through eclipse I tried to debug but it gave an error saying that connection cannot be made .But I am able to debug the program using the command line from gdb promt.

 

Moreover  after  building in the console I got :

 

-------------------------------------------------------------------

 

<terminated> Make [Builder ][Program]/usr/bin/make

 

make: *** No rule to make target `make'.  Stop.

 

------------------------------------------------------------------

 

Can you please tell why these errors are coming!

QuoteReplyEditDelete

 

 

2008-06-26 09:27:44     Re: using gdb server on eclipse

Mike Frysinger (UNITED STATES)

Message: 57917   

 

that error is most likely unrelated to the debugging.  i dont know how you set up your project, but you're probably better off asking about the builder stuff on the eclipse site: http://www.eclipse.org/newsgroups/

 

Juhi Sinha (INDIA)

Message: 57905   

 

We are trying to debug a simple c program using bf537. We are able to compile the code. But when we select debug configurations go into 'debugger' ,we do not get any 'debugger options' for gdb server where we can give the IP address and port . We are attching the sreenshot.

 

Please help us with this !

 

GDB Server.png

QuoteReplyEditDelete

 

 

2008-06-26 08:18:12     Re: using gdb server on eclipse

Mike Frysinger (UNITED STATES)

Message: 57911   

 

dont select the "Blackfin" gdb ... just select the standard gdbserver one

QuoteReplyEditDelete

 

 

2008-06-26 09:04:04     Re: using gdb server on eclipse

Juhi Sinha (INDIA)

Message: 57915   

 

I selected the simple gdbserver ,and selected the option for using TCP and gave IP and port accordingly.

 

Also I copied the file 'hello' made after compiling in tftpboot . On the target  I fetched the file from host using tftp, then I started the gdbserver on the target .

 

Then through eclipse I tried to debug but it gave an error saying that connection cannot be made .But I am able to debug the program using the command line from gdb promt.

 

Moreover  after  building in the console I got :

 

-------------------------------------------------------------------

 

<terminated> Make [Builder ][Program]/usr/bin/make

 

make: *** No rule to make target `make'.  Stop.

 

------------------------------------------------------------------

 

Can you please tell why these errors are coming!

QuoteReplyEditDelete

 

 

2008-06-26 09:27:44     Re: using gdb server on eclipse

Mike Frysinger (UNITED STATES)

Message: 57917   

 

that error is most likely unrelated to the debugging.  i dont know how you set up your project, but you're probably better off asking about the builder stuff on the eclipse site: http://www.eclipse.org/newsgroups/

Attachments

Outcomes