<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    The error we are getting is:<br>
    <span style="color: rgb(31, 73, 125);">“Undefined Form Value: 25”<br>
      <br>
    </span>We have customers that have a variety of debuggers, and we
    need to be able to preserve Dwarf3 compatibility. GDB, Lauterbach,
    etc.<br>
    <br>
    <span style="color: rgb(31, 73, 125);">The patch that caused a
      problem for us is:<br>
<a class="moz-txt-link-freetext" href="https://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp?r1=162493&r2=162526&pathrev=162526&diff_format=h">https://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp?r1=162493&r2=162526&pathrev=162526&diff_format=h</a><br>
      <br>
    </span>DW_FORM_flag_present caused the problem. The old DW_FORM_flag
    works for us.<br>
    <span style="color: rgb(31, 73, 125);"><br>
      While the </span>DD->useDarwinGDBCompat() option is a
    workaround in this case, Darwin GDB is a specific version of GDB.<br>
    <a class="moz-txt-link-freetext" href="http://sourceware.org/gdb/onlinedocs/gdb/Darwin.html">http://sourceware.org/gdb/onlinedocs/gdb/Darwin.html</a><br>
    <br>
    So useDarwinGDBCompat means Darwin GDB Compatibility, not GDB
    Compatibility or Dwarf xxx Compatibility, etc. <br>
    <br>
    Going in that direction for now means that we will hit this problem
    again. Eventually useDarwinGDBCompat should diverge to things that
    don't apply to all GDB's.<br>
    <br>
    Would like to discuss:<br>
    1) What level of interest is there in Dwarf backward compatibility;<br>
    2) What levels of Debugger backward compatibility are needed.<br>
    3) What framework of flags/options would be a container for specific
    backward compatibility features.<br>
    4) What type of testing to ensure backward compatibility, GDB
    Testsuite?<br>
    <br>
    Thank you!<br>
    <span style="color: rgb(31, 73, 125);">-rick<br>
    </span><br>
    <br>
    On 10/17/2012 10:53 AM, Pranav Bhandarkar wrote:
    <blockquote
      cite="mid:027b01cdac7f$871496f0$953dc4d0$@codeaurora.org"
      type="cite">
      <pre wrap=""> 
</pre>
      <blockquote type="cite">
        <pre wrap="">My GDB Testsuite runs have been failing more tests, and now an internal
</pre>
      </blockquote>
      <pre wrap="">test
</pre>
      <blockquote type="cite">
        <pre wrap="">has started failing on some missing dwarf 3 records.
</pre>
      </blockquote>
      <pre wrap="">
What is the error message or the nature of the failures you are seeing ?

Pranav
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by
The Linux Foundation



</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Rick Foos
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation</pre>
  </body>
</html>