This is the mail archive of the gdb-patches@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: [03/19] set_longjmp_breakpoint


>>>>> "Ulrich" == Ulrich Weigand <uweigand@de.ibm.com> writes:

Ulrich> As a side effect, if multiple objfiles provide longjmp, *all*
Ulrich> instances will now get the breakpoint installed -- this may actually
Ulrich> be useful in some circumstances (e.g. multiple SPE images in a Cell/B.E.
Ulrich> application).

This seems reasonable to me, but I am somewhat concerned about
performance.  I think this patch means that every "next" will involve
looking up four symbols in every objfile.

Do you know how big an effect this has?  Or maybe Paul could try it
on his famous kilo-.so program.

I suppose if that is very slow we could add some kind of per-inferior
cache.. ?

Tom


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