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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user