diff options
Diffstat (limited to 'debuginfo-tests')
-rw-r--r-- | debuginfo-tests/llgdb.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/debuginfo-tests/llgdb.py b/debuginfo-tests/llgdb.py index 40f7e365a4bf..47469a3ae379 100644 --- a/debuginfo-tests/llgdb.py +++ b/debuginfo-tests/llgdb.py @@ -62,7 +62,8 @@ debugger.SkipLLDBInitFiles(args.n) debugger.SetAsync(False) # Create a target from a file and arch. -target = debugger.CreateTargetWithFileAndArch(args.target, lldb.LLDB_ARCH_DEFAULT) +_, _, _, _, arch = os.uname() +target = debugger.CreateTargetWithFileAndArch(args.target, arch) if not target: print "Could not create target", args.target |