[Bug 14541] New: Cannot list processes on Linux


             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

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 :)