This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: shared library debugging really slow on ppc?


On Mon, Aug 05, 2002 at 09:34:12PM -0600, Adam Fedor wrote:
> I've compiled 5.1 and the latest CVS (2002-08-04-cvs) gdb on 
> powerpc-unknown-linux-gnu, and I've noticed that debugging shared 
> libraries is really slow (on the order of 20X slower than gdb 5.0 by 
> timing the simple script below). I've searched high and low and haven't 
> seen anyone else report this. Maybe I'm doing something wrong? gdb 
> compiled with gcc 2.95.4
> 
> gdb -nw simple << EOF
> break main
> run
> break shared_library_file.c:105
> n
> n
> [...20 times ...]
> n
> q
> y
> EOF

I bet you're missing a detail.  Are you linked to pthreads?

If not, then I don't really know what the problem is; if you can send a
complete test case that would be nice.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]