debugger.mk: Remove defunct processes from attach target of debugger.mk

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2014-10-12 12:57:47 +00:00
commit a57b6f8c82

View file

@ -4,7 +4,7 @@ ifeq ($(CORE_DUMPER),)
CORE_DUMPER = $(EXE_PATH) CORE_DUMPER = $(EXE_PATH)
endif endif
PID = $(shell ps aux | $(SED) "/$(notdir $(EXE_PATH))/ !d; /sed/ d" | awk '{print $$2}') PID = $(shell ps aux | $(SED) "/$(notdir $(EXE_PATH))/ !d; /sed/ d; /defunct/ d" | awk '{print $$2}')
all: all: