Skip to main content

experiencing a slow gdb in ubuntu 10.4 lucid lynx?

well... i was, too.
and if you heavily require debugging tools this can really get on your nerves. after updating to lynx i immediatly noticed the slower debugger.

but google popped up no results on how to solve this, or even if other people are noticing this....

so after playing around with it i finally solved the problem brute force:

i downloaded latest gdb (7.1) from http://www.gnu.org/software/gdb/download/ and compiled it myself.

if you are a former windows user or unexperienced with that, dont let self-compiling scare you away:
compiling it for yourself is simpler than you may think:

download the .tar (with the browser of your choice), unzip it (easiest is with nautilus), go to commandline and type:
./configure

after its done, do:

make

after THAT is done you will have a gdb executable in the "gdb" folder!

Comments

Anonymous said…
Experienced with the same problem on Ubuntu 10.4, but my self compiled gdb 7.2 is super fast. Thank you.
Anonymous said…
The new gdb 7.2 solved the problem for me.
Thanks for info.
Anonymous said…
Thanks for your post. Been suffering from this problem for far too long and google was't very helpful in finding your post. Finally I found your post and compiled gdb-7.4. Not it works like a charm. Thanks again for this post.