[lldb-dev] [Bug 16511] New: FreeBSD ProcessMonitor.cpp uses AMD64 register names unconditionally

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 1 12:21:54 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16511

            Bug ID: 16511
           Summary: FreeBSD ProcessMonitor.cpp uses AMD64 register names
                    unconditionally
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: other
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: rmh at gnu.org
    Classification: Unclassified

Created attachment 10803
  --> http://llvm.org/bugs/attachment.cgi?id=10803&action=edit
untested patch to fix build on i386-kfreebsd-gnu (and possibly i386-freebsd)

I found this on GNU/kFreeBSD, but I believe FreeBSD would be affected as well.
Please let me know if I may be missing something.

As you can see in last attempted build for i386-kfreebsd-gnu [1],
ProcessMonitor.cpp won't build because it's referring to registers which exist
on AMD64, but not on IA32.

I think this could be fixed using special case for i386 and amd64. Please see
attached patch (UNTESTED).

[1]
https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-3.3&arch=kfreebsd-i386&ver=1%3A3.3-3&stamp=1372679969

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20130701/fd53f02c/attachment.html>


More information about the lldb-dev mailing list