[llvm-bugs] [Bug 24388] New: lldb cannot launch process on Android mips/mips64 target

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Aug 6 18:19:51 PDT 2015


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-dev at cs.uiuc.edu
          Reporter: chying at google.com
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150807/6bb57b7d/attachment.html>


More information about the llvm-bugs mailing list