GDB config script
Nick Savoiu
savoiu at ics.uci.edu
Wed Oct 6 00:42:20 BST 2004
Hi,
I would also like to pass extra commands to GDB when it is invoked from
KDevelop. I would like to pass the following commands before 'run' is
invoked
set auto-solib-add 0
break main
and the following after the breakpoint is hit:
sharedlibrary <libs.so>
continue
In the above <libs.so> would change over time. The other things are static.
This allows me to selectively load symbols which is critical for debugging a
very large program. I thought 'Program Arguments' under Project->Project
Options->Debugger would help but it just seems to be a dead entry. It's
overridden by the same setting in Project->Project Options->Run Options.
Thanks,
Nick
----- Original Message -----
From: "Timo Steuerwald" <timo.steuerwald at gmx.de>
To: <kdevelop at kdevelop.org>
Sent: Friday, October 01, 2004 4:48 PM
Subject: Re: GDB config script
Up to now any ideas? In my case it is a local application that I try to
debug. I think there should be a solution for sure, or not?
Thanks for your help!
Bye,
Timo
Am 30 Sep 2004 um 22:03 hat Timo Steuerwald geschrieben:
> Hi all,
>
> how can I pass GDB command line arguments to the GDB? - I would like to
> execute GDB commands from a file (command line switch -x <file_xyz>).
>
> Bye,
>
> Timo
>
> -
> to unsubscribe from this list send an email to
kdevelop-request at kdevelop.org with the following body:
> unsubscribe »your-email-address«
>
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org
with the following body:
unsubscribe »your-email-address«
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list