This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: gdb/916: must load _all_ shared libraries to set a breakpoint in one
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 9 Jan 2003 19:48:02 -0000
- Subject: Re: gdb/916: must load _all_ shared libraries to set a breakpoint in one
- Reply-to: Daniel Jacobowitz <drow at mvista dot com>
The following reply was made to PR gdb/916; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@mvista.com>
To: john_roberts@credence.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/916: must load _all_ shared libraries to set a breakpoint in one
Date: Thu, 9 Jan 2003 14:43:03 -0500
On Thu, Jan 09, 2003 at 07:06:16PM -0000, john_roberts@credence.com wrote:
>
> >Number: 916
> >Category: gdb
> >Synopsis: must load _all_ shared libraries to set a breakpoint in one
> >Confidential: no
> >Severity: serious
> >Priority: medium
> >Responsible: unassigned
> >State: open
> >Class: sw-bug
> >Submitter-Id: net
> >Arrival-Date: Thu Jan 09 11:08:01 PST 2003
> >Closed-Date:
> >Last-Modified:
> >Originator: john_roberts@credence.com
> >Release: gdb 5.2.1
> >Organization:
> >Environment:
> RedHat Linux 2.4.2-2 on 2.2 GHz Pentium IV with 512 meg RAM
> >Description:
> I work in an environment with both Linux and Solaris
> (SunOS 5.6 under CDE on an Sparc Ultra 5). I have found
> several problems with the Linux version of gdb that do NOT
> show up on the Solaris side.
>
> On Solaris, I can load just one shared library, then
> set a breakpoint in it and run (cont) in the debugger
> until I hit that breakpoint.
>
> Under Linux, I must load all shared libraries my
> application uses, or else I cannot set a breakpoint
> in any of my shared libraries.
>
> Our application is a very large server (probably over
> a million lines of C++ code) that runs well under both
> Solaris and Linux (built with g++ in both cases).
Could you give us at least an example session? i.e. what commands you
expect to work that don't?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer