This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [REASON FOUND] Re: gdb 7.0.1 opening many files when breakpoints are pending


>>>>> "Martin" == Martin Runge <Martin.Runge@rohde-schwarz.com> writes:

Martin> These are already eight calls to "open" for setting a single
Martin> breakppoint in a three line program. When dynamically loaded .so
Martin> are involved, this happens every time gdb stops in the dynamic
Martin> linker trying to set the pending breakpoints. This is where the
Martin> ridiculous number of 600.000 opens comes from.

It would be good to see a stack trace starting from one of these calls
to open.

Martin> Why are these header files opened? Is there a good reason for it
Martin> or can this possibly be optimized?

I don't know; I ran across this today and wondered if it is related:

    http://sourceware.org/bugzilla/show_bug.cgi?id=10261

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]