[all-commits] [llvm/llvm-project] ee5820: [LLDB] Properly return errors from "memory region ...

David Spickett via All-commits all-commits at lists.llvm.org
Fri Sep 23 05:32:34 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee582001bf19be8611257df7c5fc5a5e7e7da586
      https://github.com/llvm/llvm-project/commit/ee582001bf19be8611257df7c5fc5a5e7e7da586
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2022-09-23 (Fri, 23 Sep 2022)

  Changed paths:
    M lldb/source/Commands/CommandObjectMemory.cpp
    M lldb/test/API/functionalities/memory-region/TestMemoryRegion.py

  Log Message:
  -----------
  [LLDB] Properly return errors from "memory region --all"

When I wrote the initial version I forgot that a region being
unmapped is not an error. There are real errors that we don't
want to hide, such as the remote not supporting the
qMemoryRegionInfo packet (gdbserver does not).

Reviewed By: labath

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




More information about the All-commits mailing list