1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
6
<meta name="copyright" content="Copyright (c) 2006, 2007 PalmSource, Inc. and others. This page is made available under license. For full details see the LEGAL notice in the documentation book that contains this page." />
7
<link rel="stylesheet" type="text/css" href="../org.eclipse.rse.doc.user/book.css" />
8
<title>Launching Remote C/C++ Applications</title>
11
Copyright (c) 2006, 2007 PalmSource, Inc. and others
12
All rights reserved. This program and the accompanying materials
13
are made available under the terms of the Eclipse Public License v1.0
14
which accompanies this distribution, and is available at
15
http://www.eclipse.org/legal/epl-v10.html
18
Ewa Matejska (PalmSource) - initial API and implementation
19
Martin Oberhuber (Wind River) - fix 158529: Migrate docs to HTML / TOC format
20
Dave Dykstal (IBM) - fix 174770: SAX Parse exceptions in Eclipse 3.3
23
<body id="tremotecdt"><a name="tremotecdt"><!-- --></a>
24
<h1 class="topictitle1">Launching Remote C/C++ Applications</h1>
26
<p>The RSE Remote CDT Plugin builds on top of CDT and integrates with RSE to introduce
27
a "Remote C/C++ Application" launch configuration. This launch configuration relies
28
on the shell and file services of the RSE connections.</p>
30
<p>The "Remote C/C++ Application" launch configuration enables the user to select from a list of RSE
31
connections which have the shell service available. For a debug launch, the binary is downloaded
32
to the remote using the file service of the RSE connection, gdbserver is automatically started
33
on the remote using the shell service and a gdb debug connection is establised. For a run launch,
34
the binary is downloaded to the remote using the file service and then it is invoked using the shell
37
<p>In the future, an RSE file service should be used to select where the remote download
38
should take place. Right now the remote path is entered manually in a text field.</p>
41
<h2>System Prerequisites</h2>
42
<div class="p"><b>Local Host</b>
44
<li>It is necessary to create an RSE connection which has the file and shell services
48
<div class="p"><b>Remote Host</b>
50
<li>gdbserver is on the path.</li>
51
<li>port 2345 is available to use. gdbserver will use this port.</li>
56
<p>A "Remote C++ Application" launch configuration will be available.
57
After building a binary which will run on your remote, try using this
58
configuration to run or debug it.</p>
61
<h2>Current Limitations</h2>
63
<p>There is no way to tell when the command on the remote has finished
64
running. As a result, the "Remote Shell" process will be left active
65
after the debug session dies and needs to be terminated manually. The
66
run process also needs to be terminated manually for the same reason.</p>
b'\\ No newline at end of file'