开发者

gdb: howto speedup debugging on a very large binary?

开发者 https://www.devze.com 2022-12-17 16:18 出处:网络
Is there a way to speed up gdb when it loads a very large c++ binary? The binary I am talking about is about 50MB in a release build (no debug symbol开发者_如何学运维s)

Is there a way to speed up gdb when it loads a very large c++ binary?

The binary I am talking about is about 50MB in a release build (no debug symbol开发者_如何学运维s)

A debug build is bigger then 400MB and gdb needs more then 2 minutes to load it.

Maybe there are some settings that speed up loading the application into gdb ?

Any help is very appreciated!

Environment: ubuntu karmic 64bit with gdb v6.8, 32GB Ram, 8 cpu-cores


Begin by upgrading to GDB 7.0.1. GDB developers have spent quite a bit of effort in 2009 making GDB 7.0 faster (and there is more to come in 7.1 :-)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号