Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldfire-gnu-discuss] Problem Debugging in Sourcery_GXX_IDE


  • To: bob.brusa@xxxxxxxxx
  • Subject: Re: [coldfire-gnu-discuss] Problem Debugging in Sourcery_GXX_IDE
  • From: Maxim Kuvyrkov <maxim@xxxxxxxxxxxxxxxx>
  • Date: Sat, 08 Mar 2008 20:36:39 +0300

Robert Brusa wrote:
Am Freitag, den 07.03.2008, 17:35 +0000 schrieb Nathan Sidwell:
Robert Brusa wrote:
Hi all

further to my previous cry for help, I have have some news.

The uClinux I am running on my COBRA5282-board includes a gdbserver. So
I firstly connect my working directory to the target using ntfs, then I
start the gdbserver on the target. This looks as follows (I am using
minicom on a host running debian etch)

/> mount -t nfs -o rsize=4096,wsize=4096
192.168.0.55:/home/rwb/ws1 /usr
/> gdbserver localhost:10000 /usr/factorial/Debug/factorial
Process /usr/factorial/Debug/factorial created; pid = 35
code at 0x3c8040 - 0x3cbd20, data at 0x3cbd24
gdbserver is listening on localhost:10000 -- the target board

Then I go back to my Sourcery_GXX_IDE with the factorial example and
start a debug-session by clicking on the debug-icon and get the messag

Error creating session: localhost:10000: Connection refused
gdb is trying to talk to localhost:10000 -- the host system

nathan
Nathan - sorry, but I do not understand what your comments try to tell
me. What exactly should I do to make it work?

From what you've posted, I understand that you configured IDE debugger to connect to your local system, instead of your board. You should specify your board's name or IP address in the IDE's debugger configuration.

E.g., on the board you should run

$ gdbserver :10000 myprog

and on your host system gdb should connect to myboard:10000 .

--
Maxim