Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » How to download stripped version of .elf at begin of debug using unstripped versio of .elf with gdbs
How to download stripped version of .elf at begin of debug using unstripped versio of .elf with gdbs [message #217293] Wed, 11 June 2008 21:56 Go to next message
Eclipse UserFriend
Originally posted by: markg.vpieng.com

This is a multi-part message in MIME format.

------=_NextPart_000_03B3_01C8CBFD.4EDF2370
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_03B4_01C8CBFD.4EDF2370"


------=_NextPart_001_03B4_01C8CBFD.4EDF2370
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

BlankWhen one presses the debug button, how can I have eclipse download =
the stripped version of the .elf, but use the unstripped version of the =
..elf on the pc?
or have it scp the compiled and stripped .elf to the target then run =
gbserver?


------=_NextPart_001_03B4_01C8CBFD.4EDF2370
Content-Type: text/html;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE id=3DridTitle>Blank</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1252"><BASE=20
href=3D"file://C:\Program Files\Common Files\Microsoft =
Shared\Stationery\">
<STYLE>BODY {
MARGIN-TOP: 25px; FONT-SIZE: 10pt; MARGIN-LEFT: 25px; COLOR: #000000; =
FONT-FAMILY: Arial, Helvetica
}
P.msoNormal {
MARGIN-TOP: 0px; FONT-SIZE: 10pt; MARGIN-LEFT: 0px; COLOR: #ffffcc; =
FONT-FAMILY: Helvetica, "Times New Roman"
}
LI.msoNormal {
MARGIN-TOP: 0px; FONT-SIZE: 10pt; MARGIN-LEFT: 0px; COLOR: #ffffcc; =
FONT-FAMILY: Helvetica, "Times New Roman"
}
</STYLE>

<META content=3D"MSHTML 6.00.6000.16608" name=3DGENERATOR></HEAD>
<BODY id=3DridBody bgColor=3D#ffffff=20
background=3Dcid:03ae01c8cc2f$99726780$0300320b@VPIENG.local>
<DIV>When one presses the debug button, how can I have eclipse download =
the=20
stripped version of the .elf, but use the unstripped version of the .elf =
on the=20
pc?</DIV>
<DIV>or have it scp the compiled and stripped .elf to the target then =
run=20
gbserver?</DIV>
<P>&nbsp;</P></BODY></HTML>

------=_NextPart_001_03B4_01C8CBFD.4EDF2370--

------=_NextPart_000_03B3_01C8CBFD.4EDF2370
Content-Type: image/gif;
name="Blank Bkgrd.gif"
Content-Transfer-Encoding: base64
Content-ID: <03ae01c8cc2f$99726780$0300320b@VPIENG.local>

R0lGODlhLQAtAID/AP////f39ywAAAAALQAtAEACcAxup8vtvxKQsFon6d02 898pGkgiYoCm6sq2
7iqWcmzOsmeXeA7uPJd5CYdD2g9oPF58ygqz+XhCG9JpJGmlYrPXGlfr/Yo/ VW45e7amp2tou/lW
xo/zX513z+Vt+1n/tiX2pxP4NUhy2FM4xtjIUQAAOw==

------=_NextPart_000_03B3_01C8CBFD.4EDF2370--
Re: How to download stripped version of .elf at begin of debug using unstripped versio of .elf with [message #217496 is a reply to message #217293] Tue, 17 June 2008 12:13 Go to previous message
Eclipse UserFriend
Originally posted by: elaskavaia.qnx.com

You run gdb on local host with unstripped elf, you run your stripped program on target and halt it (or using gdbserver),
when you connect to it from local gdb

thunder2007 wrote:
> When one presses the debug button, how can I have eclipse download the
> stripped version of the .elf, but use the unstripped version of the .elf
> on the pc?
> or have it scp the compiled and stripped .elf to the target then run
> gbserver?
>
>
>
Previous Topic:Files in build artifact
Next Topic:CDT preprocessing model?
Goto Forum:
  


Current Time: Wed Jul 23 16:17:40 EDT 2025

Powered by FUDForum. Page generated in 0.31733 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top