[Bug 31485] New: LLDB-MI: data-disassemble command doesn't follow target.x86-disassemble-flavor setting

Bug ID 31485
Summary LLDB-MI: data-disassemble command doesn’t follow target.x86-disassemble-flavor setting
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter aetf@unlimitedcodeworks.xyz
CC llvm-bugs@lists.llvm.org
Classification Unclassified

-data-disassemble command doesn't follow target.x86-disassemble-flavor setting.

The output is always in att style, e.g.

^done,asm_insns=[{address="0x0000000000400537",func-name="main",offset="0",size="3",inst="movl
-0x8(%rbp), %esi"}]

Even when the flavor was set explicitly to intel.

The expected output should be like:

^done,asm_insns=[{address="0x0000000000400537",func-name="main",offset="0",size="3",inst="mov
esi, dword ptr [rbp - 0x8]"}]