fix in solib-aix.c
authorTom Tromey <tromey@redhat.com>
Thu, 30 May 2013 17:31:00 +0000 (17:31 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 30 May 2013 17:31:00 +0000 (17:31 +0000)
commite35ac9bf5c3e411f6c41cceb4651402674797da0
tree62a7e0e907107ccf25393776b5a36bdec4d8aeef
parentf3300387104722cbfcfc955bdacb474c7f33ba9e
fix in solib-aix.c

solib_aix_bfd_open has an early "return" that doesn't run cleanups.
This fixes the problem by dropping the null_cleanup and using a later
cleanup as the master cleanup for the function.

* solib-aix.c (solib_aix_bfd_open): Don't use a null cleanup
for 'cleanup'; instead use a later one.
gdb/ChangeLog
gdb/solib-aix.c