shared library debugging really slow on ppc?
Daniel Jacobowitz
drow@mvista.com
Mon Aug 5 20:46:00 GMT 2002
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
More information about the Gdb
mailing list