This is a discussion on Re: debugging in kdevelop - KDE ; --===============2079371017== Content-Type: multipart/signed; boundary="nextPart1861185.0KqTDrOQGF"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1861185.0KqTDrOQGF Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 13 July 2005 11:11, Tomasz Grobelny wrote: > I'm trying to debug my program using kdevelop. The problem is that main > ...
--===============2079371017==
Content-Type: multipart/signed;
boundary="nextPart1861185.0KqTDrOQGF";
protocol="application/pgp-signature";
micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
--nextPart1861185.0KqTDrOQGF
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
On Wednesday 13 July 2005 11:11, Tomasz Grobelny wrote:
> I'm trying to debug my program using kdevelop. The problem is that main
> program is not really an executable but a shell script that (after doing
> some magic) calls executable from .libs directory. That causes gdb to abo=
rt
> with message saying that format is not executable. When I try to debug the
> executable directly it fails due to inability to find appropriate librari=
es
> (at least I think so). Is there any easy way to solve this problem?
At the command prompt, try:
$ libtool --mode=3Dexecute gdb
The reason you're having this trouble is pretty much because of libtool, so=
=20
run gdb through libtool and libtool will automatically fixup the command li=
ne=20
and add the necessary libraries.
Regards,
- Michael Pyne
--nextPart1861185.0KqTDrOQGF
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQBC1ZXZqjQYp5Omm0oRAjNoAJ0UZ4CVWe+9dfcYcYHyXF wmDwcuYQCfU+9+
4drZaghiyrCvkhSlQ259ydw=
=vItF
-----END PGP SIGNATURE-----
--nextPart1861185.0KqTDrOQGF--
--===============2079371017==
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
=
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscrib=
e <<
--===============2079371017==--