Fix a crash in compile_to_object function
libor.bukata@oracle.com
libor.bukata@oracle.com
Fri Sep 6 13:37:00 GMT 2019
On non-Linux platforms, gdb crashes when compile command is issued
because of the null pointer in struct osabi_names gdb_osab. The attached
patch adds a check to avoid this crash and adds osabi name for Solaris.
However, there is probably more work required to enable compile feature
on Solaris (e.g., solaris_infcall_munmap) and other platforms.
Thanks,
Libor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 001-fix-null-ptr.patch
Type: text/x-patch
Size: 1034 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20190906/6c8dd91d/attachment.bin>
More information about the Gdb-patches
mailing list