You copied the Doc URL to your clipboard.

Launching gdbserver with an application

To launch gdbserver with the application:

Procedure

  1. Open a terminal shell that is connected to the target.
  2. In the Remote Systems view, right-click on Ssh Terminals.
  3. Select Launch Terminal to open a terminal shell.
  4. In the terminal shell, navigate to the directory where you copied the application, then execute the required commands.

    For example, to launch Gnometris:

    export DISPLAY=ip:0.0
    gdbserver :port gnometris

    where:

    ip

    is the IP address of the host to display the Gnometris game

    port

    is the connection port between gdbserver and the application, for example 5000.

    Note

    If the target has a display connected to it then you do not need to use the export DISPLAY command.

Was this page helpful? Yes No