dangling pointer in so_list
Aleksandar Ristovski
aristovski@qnx.com
Mon Sep 12 21:18:00 GMT 2011
On 11-09-02 04:17 PM, Jan Kratochvil wrote:
>
> Use some solib-identifying name (such as the common solib_ prefix).
>
> OK without the `head' parameter and with the solib_ prefix.
>
I have committed this now with the solib_ prefix and body of the
function as suggested.
Attached is the final patch/ChangeLog for reference.
Thank you,
Aleksandar Ristovski
QNX Software Systems
ChangeLog:
* solib.c (solib_used): New function.
(update_solib_list, reload_shared_libraries_1): Check if objfile is
used
by another so_list object before freeing it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dangling_objfile_in_so_list-201109121421.patch
Type: text/x-patch
Size: 1689 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20110912/ca54420d/attachment.bin>
More information about the Gdb-patches
mailing list