gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 23 Apr 2010 21:44:20 +0000 (21:44 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 23 Apr 2010 21:44:20 +0000 (21:44 +0000)
commit492928e407c9c69d0cd998a14f82cdd839c8f71a
tree003553147b635059a4ca1b7c8de71e83af533e26
parentef38fd8a0b29ff3e53add753ef8fe3bd6c242542
gdb/
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.

gdb/testsuite/
Fix deadlock on looped list of loaded shared objects.
* gdb.base/solib-corrupted.exp: New.
gdb/ChangeLog
gdb/config/djgpp/fnchange.lst
gdb/solib-svr4.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/solib-corrupted.exp [new file with mode: 0644]