[lldb-dev] [Bug 25050] New: 'register read -a' provides wrong values of FPU x87 Special Purpose Registers for x86_64-FreeBSD platform

via lldb-dev lldb-dev at lists.llvm.org
Mon Oct 5 02:23:58 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=25050

            Bug ID: 25050
           Summary: 'register read -a' provides wrong values of FPU x87
                    Special Purpose Registers for x86_64-FreeBSD platform
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: abhiinnitald at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15002
  --> https://llvm.org/bugs/attachment.cgi?id=15002&action=edit
Source file (compiled to produce the failure)

Environment: FreeBSD 10.2-RELEASE on x86_64, Compiler: clang-3.7.0
LLDB : Built from source (Checked out from public repo; revision 248711)

Commands to compile inferior:
  clang++ -g -O0 -std=c++11 -fno-builtin -m64 source.cpp -o a.out



Commands executed to pose the bug:

$ lldb a.out
(lldb) b 7
(lldb) run
(lldb) register read -a
(lldb) next

  'next' instruction executes some assembly instructions to push float values
on 'st' stack

(lldb) register read -a



Value of fstat and ftag didn't change compared to their values in previous
register read -a command.

This bug is similar to bug 24457 but for FreeBSD platform.
I am working on it and submit a patch soon.

-- 
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/20151005/d1bced76/attachment-0001.html>


More information about the lldb-dev mailing list