This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
High cpu usage when stepping in a function
- From: "Mihai Stanescu" <mihai dot stanescu at gmail dot com>
- To: gdb at sourceware dot org
- Date: Wed, 3 Dec 2008 21:18:58 +0200
- Subject: High cpu usage when stepping in a function
- References: <d22b6190812030725r1754df18mb2dcde4219d5301a@mail.gmail.com>
Hello all
I have a very annoying problem with gdb 6.8 (also happened in previous
versions). My system is gentoo (x86).
So, i have a dynamically linked very large executable (300mb - libs +
main program). My problem is that if i stop in a breakpoint and try to
STEP into a function sometimes this thing takes ages, my cpu goes to
100% utilization and keeps this way. Eventually gdb enters that
function. My guess is gdb is searching for something. This thing never
happens when statically linked but the static, linking takes ages.
Thx
Mihai