[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: debugging in kdevelop
From:       Michael Pyne <pynm0001 () comcast ! net>
Date:       2005-07-13 22:29:41
Message-ID: 200507131829.45696.pynm0001 () comcast ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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 abort
> with message saying that format is not executable. When I try to debug the
> executable directly it fails due to inability to find appropriate libraries
> (at least I think so). Is there any easy way to solve this problem?

At the command prompt, try:
$ libtool --mode=execute gdb <name-of-program-script>

The reason you're having this trouble is pretty much because of libtool, so 
run gdb through libtool and libtool will automatically fixup the command line 
and add the necessary libraries.

Regards,
 - Michael Pyne

[Attachment #5 (application/pgp-signature)]

 =

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscrib=
e <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic