<tt><font size=2>> I would change it so that the "os" doesn't
get set to anything when <br>
> it detects this in the core file. When an OS is not specified, the
<br>
> llvm::Triple will return OSUnknown as the enumeration value for the
<br>
> OS _and_ the llvm::StringRef value will return an empty string. This<br>
> is known in LLDB term as a "unspecified unknown". This means
the <br>
> triple will be "x86_64-*-<vendor>". An unspecified
unknown is a <br>
> wildcard. Any plugins that are trying to load a core file should <br>
> watch for this and use it accordingly.<br>
> <br>
> So the answer is not "treat ELF files with ELFOSABI_NONE set
as <br>
> Linux", but "treat ELF files with ELFOSABI_NONE set as *".
Please <br>
> submit a patch that implements this when you get the chance. Let me
<br>
> know if you have any questions.</font></tt>
<br>
<br><font size=2 face="sans-serif">I think that's the current behaviour
in ArchSpec.cpp. Setting it deliberately to UnknownOS prevents the code
later on from refining it any further from the notes section of the core
file. (Unless you meant somewhere else in which case I'll take a look.)</font>
<br><font size=1 face="Arial"><br>
</font>
<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>
<br>
<br><font size=2 face="sans-serif"><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>