https://llvm.org/bugs/show_bug.cgi?id=24388

            Bug ID: 24388
           Summary: lldb cannot launch process on Android mips/mips64
                    target
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-...@cs.uiuc.edu
          Reporter: chy...@google.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

lldb couldn't launch process on Android mips/mips64 target
error: failed to launch or debug process

Repro steps:

1. build lldb-server for mips

2. launch lldb-server on mips device or emulator

3. create simple mips application
$ cat main.cpp 
#include <stdio.h>
int main()
{
  printf("HELLO\n");
  return 0;
}
$ /path/to/mipsel-linux-android-gcc -pie main.cpp

4. launch lldb and attach to process
(lldb) platform select remote-android
  Platform: remote-android
 Connected: no
(lldb) platform connect connect://localhost:5430
  Platform: remote-android
    Triple: arm--linux-android
OS Version: 3.4.67 (3.4.67-00992-gb1dfee2)
    Kernel: #39 PREEMPT Mon Jul 13 11:06:17 PDT 2015
  Hostname: localhost
 Connected: yes
WorkingDir: /data/local/tmp/lldb
(lldb) platform settings --working-dir /data/local/tmp/lldb/
(lldb) file a.out
Current executable set to 'a.out' (mipsel).
(lldb) r
error: failed to launch or debug process

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to