[Bug 14541] New: Cannot list processes on Linux

http://llvm.org/bugs/show_bug.cgi?id=14541

             Bug #: 14541
           Summary: Cannot list processes on Linux
           Product: lldb
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
        AssignedTo: lldb-dev@cs.uiuc.edu
        ReportedBy: daniel.malea@intel.com
    Classification: Unclassified

On Linux, the LLDB command:

platform process list

does not behave as expected. Instead of returning the process list, it causes:
"error: no processes were found on the "PlatformLinux" platform"

To reproduce the above, do:

./dotest.py -C clang -v -t -f PlatformCommandTestCase.test_process_list

The above is very likely related to LLDB not being able to attach to a process
by name. To reproduce the attach-by-name bug, run:

./dotest.py -C clang -v -t -f
HelloWorldTestCase.test_with_dwarf_and_attach_to_process_with_name_api

Daniel Malea changed bug 14541

What | Removed | Added |

  • | - | - |
    Status | NEW | RESOLVED |
    Resolution | — | FIXED |

Comment # 1 on bug 14541 from Daniel Malea

Resolution committed in r181904; thanks Mike! We can now list processes and
attach by name (instead of pid) on Linux :)