<tt><font size=2>Todd Fiala <todd.fiala@gmail.com> wrote on 25/08/2016
20:42:31:<br>
<br>
> FWIW, I've taken a few whacks at getting Linux detected better over
<br>
> the last few years, and haven't yet found a reliable way to detect
<br>
> it from quite a few samples of cores from a number of different <br>
> systems.  We can spend more time looking into it, but that stone
has<br>
> been turned over several times.</font></tt>
<br>
<br><tt><font size=2>I spent quite a lot of time looking at the output
of readelf too. I was kind of hoping Linux was the only platform not using
it's OSABI value, which would have worked.</font></tt>
<br>
<br><tt><font size=2>The only other thing I thought of suggesting was having
the ELFOSABI_NONE case ifdef'd so that lldb defaults to the platform that
it was built for - on the assumption that you are probably opening a core
from the machine you are on. (So on Linux ELFOSABI_NONE would mean Linux,
on FreeBSD it would mean FreeBSD.) That would have meant lldb behaved differently
depending on where it was compiled which seems wrong and would introduce
awkward to debug behaviour so I ended up talking myself out of it.</font></tt>
<br>
<br>
<table width=650 style="border-collapse:collapse;">
<tr height=8>
<td width=465 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=3 color=#8f8f8f face="Arial"><b>Howard
Hellyer</b></font><font size=1 face="Arial"><br>
IBM Runtime Technologies, IBM Systems</font>
<td width=184 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<div align=right><font size=1 face="Arial"><br>
</font></div></table>
<br>
<br><font size=2 face="sans-serif"><br>
<br>
Unless stated otherwise above:<br>
IBM United Kingdom Limited - Registered in England and Wales with number
741598. <br>
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU<br>
</font>