Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] [dsdp-tm-dev] Newbie guide

Hi Casper,

For remote debugging using gdbserver,

you need to have gdbserver installed on the remote system.
Once you have that, you should have gdbserver running on it which will
attach to the target process you are trying to debug.

You can get the detailed tutorial on understanding gdbserver on the
following link -
http://sourceware.org/gdb/download/onlinedocs/gdb/Remote-Debugging.html#Remote-Debugging
In this go to "Server" link.

Once you have gdbserver running on the remote system, then you can try
connecting from  Remote Launcher.

You need to specify the host i.e. where machine IP where your server is
running.. And the port at which gdbserver is attached to the program.

Hope it helps.

Thanks & Regards,
        - Nayna Jain





From:	Anna Dushistova <anna_dushistova@xxxxxxxxxx>
To:	Target Management developer discussions
            <dsdp-tm-dev@xxxxxxxxxxx>
Cc:	"CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Date:	17/09/2010 15:39
Subject:	Re: [cdt-dev] [dsdp-tm-dev] Newbie guide
Sent by:	cdt-dev-bounces@xxxxxxxxxxx



Unfortunately there is no "good documentation" for the remote launch
plugin.
I filed a bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=325563

If you use the remote launch, you need to have a gdbserver installed on
your remote host and gdb on your local host.

Anna.

On Sep 17, 2010, at 6:52 AM, casper iway wrote:

      hi Anna,

         thanks for the reply...
         I already have remote launcher installed, but my problem is i
      think i dont really know how to use it..
         I am aware though that i could create a different Debug
      Configurations, like for Local Application, Remote Application, etc.
      What i do not know is how to configure it.. Like for remote
      Debugging, i read someone's post that you need to change the command
      to something like "remotehost gdb", but that post was 2 or 3 years
      ago.
          So basically my biggest problem for now is i don't know how to
      create a Debug Configuration.
          Could you instead point me to a good documentation for this?

          Hope to hear from you again. Thanks

      regards,

      casper


      On Thu, Sep 16, 2010 at 9:44 PM, Anna Dushistova <
      anna_dushistova@xxxxxxxxxx> wrote:
        Hi,
        the "remote launcher" was moved to the CDT project and is hosted
        there.
        It is called org.eclipse.cdt.launch.remote.
        You might want to give it a try.

        Anna.

        On Sep 16, 2010, at 2:14 PM, casper iway wrote:

        > hello again,
        >
        > sorry for the last message, i accidentally hit send.
        >
        > Anyway let me proceed, I am testing some functionality of RSE
        Target Management. I have already achieve the RSE connection, using
        Dstore, now what i am trying to achieve is like a Remote Debugging.
        >
        > I have an Ubuntu Host PC which has eclipse on it plus RSE
        plugins, then i have another machine a Laptop which also has an
        Ubuntu, same 32-bit OS. Now what i am doing is i created a simple
        hello world in the Host PC, then build the project and compile it
        there. Now i transfer just the binary file to the Laptop using
        Remote Systems. But i am having difficulty on how to Debug it
        remotely.. Can someone give me any idea about this?? been trying to
        fix this problem for days without any luck, maybe because i dont
        know much about eclipse and this RSE plugin..
        >
        > Hope someone could help.. Thanks....
        >
        >
        > regards,
        >
        > casper
        > _______________________________________________
        > dsdp-tm-dev mailing list
        > dsdp-tm-dev@xxxxxxxxxxx
        > https://dev.eclipse.org/mailman/listinfo/dsdp-tm-dev

        _______________________________________________
        dsdp-tm-dev mailing list
        dsdp-tm-dev@xxxxxxxxxxx
        https://dev.eclipse.org/mailman/listinfo/dsdp-tm-dev

      _______________________________________________
      dsdp-tm-dev mailing list
      dsdp-tm-dev@xxxxxxxxxxx
      https://dev.eclipse.org/mailman/listinfo/dsdp-tm-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev




Back to the top