This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Detect loops in the solib chain
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