Make lldb default for gdbclient.py

Adds a symlink lldbclient.py that pointing to gdbclient.py

Bug: 168187078
Change-Id: I1831875812d22bb6a264b8396bc9d3b8ed7712e3
This commit is contained in:
Haibo Huang
2020-09-14 18:39:52 -07:00
parent 2bbb98ad2f
commit 6a4636a9ef
3 changed files with 13 additions and 4 deletions

View File

@@ -437,7 +437,10 @@ def do_main():
linker_search_dir = ensure_linker(device, sysroot, interp)
tracer_pid = get_tracer_pid(device, pid)
use_lldb = args.lldb
if os.path.basename(__file__) == 'gdbclient.py' and not args.lldb:
print("gdb is deprecated in favor of lldb. "
"If you can't use lldb, please set --no-lldb and file a bug asap.")
use_lldb = not args.no_lldb
if tracer_pid == 0:
cmd_prefix = args.su_cmd
if args.env: