[RFC] Detect loops in the solib chain
Kevin Buettner
kevinb@redhat.com
Mon Apr 12 22:54:00 GMT 2010
On Fri, 9 Apr 2010 23:02:55 +0200
Jan Kratochvil <jan.kratochvil@redhat.com> wrote:
> Fix deadlock on looped list of loaded shared objects.
> * solib-svr4.c (LM_PREV): New function.
> (IGNORE_FIRST_LINK_MAP_ENTRY): Use it.
> (svr4_current_sos): Check for correct l_prev. New variables prev_lm
> and next_lm. Clear prev_lm for solib_svr4_r_ldsomap.
> * config/djgpp/fnchange.lst: Add translation for solib-corrupted.exp.
I reviewed this part of the patch. It looks okay to me.
Kevin
More information about the Gdb-patches
mailing list