[lldb-dev] Command Aliases
jingham at apple.com
jingham at apple.com
Tue Oct 22 18:11:58 PDT 2013
On Oct 22, 2013, at 6:03 PM, C. Bergström <cbergstrom at pathscale.com> wrote:
> On 10/23/13 07:53 AM, Michael Sartain wrote:
>> I'd really like to add aliases for the following commands from gdb:
> Two points from the peanut gallery
>
> 1) You won't be the only one wanting this - /* wtf they reinvented the wheel here... */
> Multiword alias is one way to solve it - another might be a gdb-compat mode
>
> 2) Having a gdb compatible interface means being able to run the gdb testsuite - which afaik has a much superior DWARF testsuite than what's currently available to lldb
Remember that a gdb compatibility mode sufficient for usefully running the gdb testsuite would mean compatibility in the details of the output printing, not just the command input. Even when working in gdb itself, you have to be very careful touching anything that affects output or you will cause massive testsuite failures (I speak from experience...) Implementing this in lldb would not be a simple task. The amount of effort it would require would be much more productively spent adding test cases to the extant test suite.
Jim
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
More information about the lldb-dev
mailing list