HomePhabricator

[lldb-mi] Fix implementation for a few mi commands

Description

[lldb-mi] Fix implementation for a few mi commands

Summary:
Some of the mi commands implemented in lldb-mi are incomplete/not confirming to the spec.

  • gdb-show and gdb-set doesn't support getting/setting disassembly-flavor
  • environment-cd should also change the working directory for inferior
  • debugger CLI output should be printed as console-stream-output record, rather than being dumped directly

to stdout

  • target-select should provide inner error message in mi response

Related bug report:

Reviewers: ki.stfu, abidh

Subscribers: abidh, ki.stfu, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D24711

Details

Committed
abidhJan 5 2017, 5:23 AM
Differential Revision
D24711: [lldb-mi] Fix implementation for a few mi commands
Parents
rLLDB291103: Fix jModulesInfo handling for cross-path syntax debugging
Branches
Unknown
Tags
Unknown