[lldb-dev] [Bug 27365] New: [PATCH] Additional commands for multi-line mode

2016-04-15 Thread via lldb-dev
https://llvm.org/bugs/show_bug.cgi?id=27365

Bug ID: 27365
   Summary: [PATCH] Additional commands for multi-line mode
   Product: lldb
   Version: unspecified
  Hardware: PC
OS: Linux
Status: NEW
  Severity: enhancement
  Priority: P
 Component: All Bugs
  Assignee: lldb-dev@lists.llvm.org
  Reporter: b...@hszm.pl
CC: llvm-b...@lists.llvm.org
Classification: Unclassified

Created attachment 16220
  --> https://llvm.org/bugs/attachment.cgi?id=16220&action=edit
Editline patch.

This patch makes two small changes to the multi-line debugger mode, aimed at
fixing some usability issues with the Swift REPL, which uses this mode
exclusively.

1. A command (bound to Alt-Enter by default) to immediately execute a buffer,
if possible, as opposed to breaking the current line.

2. Two commands (bound to Alt-Up/Down by default) to immediately move around in
command history, without having to scroll through multiple lines with keyboard
arrows. Because the REPL uses multi-line mode, it's not possible to achieve
this using standard editline bindings.

I don't particularly care about having specific keys bound by default, this can
be done in .editrc, if suitable commands are available in the first place.

Note: The comment in the line-break command states that "the completion test is
allowed to change the input lines when complete", but the command itself makes
no effort to redisplay them if they actually *are* changed.

I've opted to do this in BufferRun, but since I'm not sure about the approach,
I haven't changed any pre-existing commands.

If this needs cleaning up or some follow-up explanation, do ask.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] [Bug 27373] New: Loading a minidump takes a very long time

2016-04-15 Thread via lldb-dev
https://llvm.org/bugs/show_bug.cgi?id=27373

Bug ID: 27373
   Summary: Loading a minidump takes a very long time
   Product: lldb
   Version: unspecified
  Hardware: PC
OS: Windows NT
Status: NEW
  Severity: normal
  Priority: P
 Component: All Bugs
  Assignee: lldb-dev@lists.llvm.org
  Reporter: amcca...@google.com
CC: llvm-b...@lists.llvm.org
Classification: Unclassified

Loading a minidump for a non-trivial application, like Chrome, takes a very
long time.  It appears that RegisterContext::InitializeNonZerothFrame causes
the entire .text section (3.8 MB) to be disassembled twice.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] [Bug 27373] Loading a minidump takes a very long time

2016-04-15 Thread via lldb-dev
https://llvm.org/bugs/show_bug.cgi?id=27373

Adrian McCarthy  changed:

   What|Removed |Added

   Assignee|lldb-dev@lists.llvm.org |amcca...@google.com

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev