shared library debugging really slow on ppc?

Adam Fedor fedor@doc.com
Mon Aug 5 20:34:00 GMT 2002


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

-- 
Adam Fedor, Digital Optics Corp.      | I'm glad I hate spinach, because
http://www.doc.com                    | if I didn't, I'd eat it, and you
                                       | know how I hate the stuff.



More information about the Gdb mailing list