[lldb-dev] [Bug 19013] New: "memory read -size" should explicitly reject invalid value

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Feb 28 18:37:23 PST 2014


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

            Bug ID: 19013
           Summary: "memory read -size" should explicitly reject invalid
                    value
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: emaste at freebsd.org
    Classification: Unclassified

I accidentally ended up with an extra - before a memory read -size option, and
the error message is non-obvious:

(lldb) memory read -size -4 -format hex -count 4 0x100150
error: Normally, 'memory read' will not read over 1024 bytes of data.
error: Please use --force to override this restriction just once.
error: or set target.max-memory-read-size if you will often need a larger
limit.

-- 
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/20140301/fddec196/attachment.html>


More information about the lldb-dev mailing list