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: [RFC 3/3] Test on solib load and unload


Hi, Nicolas,

On 09/02/2013 11:24 PM, Blanc, Nicolas wrote:
>+  for (i = 0; i < number; i++)
>+    dlclose (handles[i]);
The loop above closes  SOs in FIFO style, which might be optimal for GDB.
You could alternate closing from the front and closing from the back.

That is a good idea.  I'll rewrite the code, and see how much the
performance is impacted by the order.


I found a bit odd that "make check-perf" is not recognized in the top gdb folder,
as "make check" is. But again, it's a minor point to me.

Can you elaborate?  "make check-perf" should be equivalent to "make
check", but running different sets of test cases.

--
Yao (éå)


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