Re: [GDB 7.6/GCC 4.8.0] Slowdown in GDB macro processing for cores?

Tom Tromey <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
>>>>> "Paul" == Paul Smith <[email protected]> writes:

Paul> The interesting thing is both versions are constantly seeking and
Paul> reading to exactly the same location, over and over again.  However GDB
Paul> 4.6 does it many times more than GDB 7.5.1.  For example, I get this
Paul> combo:

Paul> 14:51:34.423582 lseek(7, 26763264, SEEK_SET) = 26763264 <0.000004>
Paul> 14:51:34.423609 read(7,
Paul> "P\361\236\0\0\0\0\0`\361\236\0\0\0\0\0p\361\236\0\0\0\0\0\200\361\236\0\0\0\0\0"...,
Paul> 4096) = 4096 <0.000015>

A backtrace from one of these seeks or reads might be useful.

Or, gprof.

Tom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.