This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
gdb/2268: regex/list for auto-solib-add
- From: robert dot leathley at ricardo dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 6 Jun 2007 09:01:05 -0000
- Subject: gdb/2268: regex/list for auto-solib-add
- Reply-to: robert dot leathley at ricardo dot com
>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: