<div dir="ltr">I'd really like to add aliases for the following commands from gdb:<div><br></div><div><div>info b[reak]                  ; breakpoint list </div><div>info ar[gs]                   ; frame variable</div>

<div>info lo[cals]                 ; frame variable --no-args</div><div>info r[egisters]              ; info registers</div><div>info al[l-registers]          ; info all-registers $rax $rcx </div><div>info all-registers rax rsp    ; register read rax rsp</div>

<div>info sh[ared]                 ; image list </div><div>info sy[mbol] 0x1234          ; image lookup --address 0x1234</div></div><div><br></div><div>These all have spaces in them, which I believe means they won't work with the existing alias system. Would it make the most sense to add a new "CommandObjectMultiwordInfo" object in the Command Interpreter and break all the info stuff out there, or is it feasible to add the ability to recognize multiword aliases so something like this would work:</div>

<div><br></div><div>    command alias "info break" breakpoint list</div><div><br></div><div>Also, it appears that command regex commands don't show up in help -a. See example down below. Is this expected behavior?</div>

<div>Thanks!</div><div> -Mike</div><div><br></div><div>(lldb) help command regex</div><div>...</div><div>EXAMPLES</div><div>    (lldb) command regex f s/^$/finish/ 's/([0-9]+)/frame select %1/'<br></div><div>(lldb) command regex f s/^$/finish/ 's/([0-9]+)/frame select %1/'</div>

<div>(lldb) help -a</div><div>...</div><div><div>expression        -- Evaluate a C/ObjC/C++ expression in the current program context, using user defined variables and variables currently in scope.</div><div>f                 -- </div>

<div>frame             -- A set of commands for operating on the current thread's frames.</div></div><div>...</div><div><div>(lldb) help f</div><div>     This command takes 'raw' input (no need to quote stuff).</div>

<div><br></div><div>Syntax: f</div><div><br></div><div>'f' is an abbreviation for 'f'</div></div></div>