public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* Re: gdb/2268: regex/list for auto-solib-add
@ 2007-09-06 9:28 Rob Leathley
0 siblings, 0 replies; 2+ messages in thread
From: Rob Leathley @ 2007-09-06 9:28 UTC (permalink / raw)
To: nobody; +Cc: gdb-prs
The following reply was made to PR gdb/2268; it has been noted by GNATS.
From: "Rob Leathley" <robert.leathley@ricardo.com>
To: <gdb-gnats@sources.redhat.com>
Cc:
Subject: Re: gdb/2268: regex/list for auto-solib-add
Date: Thu, 06 Sep 2007 10:27:22 +0100
An alternative may be to have a command hook to load the libs once the=20
program is running:
define hookpost-run
sharedlibrary libxxx.so
enable
end
This works to some extent in that 'info share' shows the correct libs=20
loaded, but breakpoints are still 'pending'.
In addition I'm running gdb through kdevelop using the MI interface and=20
hooks don't seem to work in this case:
define hookpost--exec-run
...
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - =
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - =
- - - - - - - - - - - - -
This e-mail and any files transmitted with it are confidential and =
intended solely for the use of the individual or entity to whom they are =
addressed.If you have received this e-mail in error please notify the =
sender immediately and delete this e-mail from your system.Please note =
that any views or opinions presented in this e-mail are solely those of =
the author and do not necessarily represent those of Ricardo (save for =
reports and other documentation formally approved and signed for release =
to the intended recipient).Only Directors are authorised to enter into =
legally binding obligations on behalf of Ricardo. Ricardo may monitor =
outgoing and incoming e-mails and other telecommunications systems.
By replying to this e-mail you give consent to such monitoring.The =
recipient should check e-mail and any attachments for the presence of =
viruses. Ricardo accepts no liability for any damage caused by any virus =
transmitted by this e-mail. "Ricardo" means Ricardo plc and its =
subsidiary companies.
Ricardo plc is a public limited company registered in England with =
registered number 00222915.
The registered office of Ricardo plc is Shoreham Technical Centre, =
Shoreham-by Sea, West Sussex, BN43 5FG.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - =
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - =
- - - - - - - - - - - - -=20
^ permalink raw reply [flat|nested] 2+ messages in thread
* gdb/2268: regex/list for auto-solib-add
@ 2007-06-06 9:08 robert.leathley
0 siblings, 0 replies; 2+ messages in thread
From: robert.leathley @ 2007-06-06 9:08 UTC (permalink / raw)
To: gdb-gnats
>Number: 2268
>Category: gdb
>Synopsis: regex/list for auto-solib-add
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Jun 06 09:08:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: robert.leathley@ricardo.com
>Release: GNU gdb 6.6
>Organization:
>Environment:
Linux 2.6.16.27-0.6-default (SLED10)
gcc version 4.1.0
This GDB was configured as "i686-pc-linux-gnu"
>Description:
Debugging c++ can be very slow (eg. starting the program & stepping through the code line take >20s). If I reduce the number of loaded shared libs to only those I'm interested in (eg. 3/50), speed is greatly increased (almost instantaneous).
For a session to be useful with 'set auto-solib-add off' I need to stop the program, load some shared libs, re-enable all break points and continue. It would be much easier if a restricted set of shared libs could be loaded automatically by specifying a list or regex.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-09-06 9:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-06 9:28 gdb/2268: regex/list for auto-solib-add Rob Leathley
-- strict thread matches above, loose matches on Subject: below --
2007-06-06 9:08 robert.leathley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).