diff --git a/make/debugger.mk b/make/debugger.mk index 202cd343..00b736c7 100644 --- a/make/debugger.mk +++ b/make/debugger.mk @@ -6,7 +6,7 @@ CORE ?= $(firstword $(CORE_VG) $(CORE_REGULAR)) ifneq ($(CORE),) ifneq ($(CORE),$(CORE_VG)) # trick doesn't work on valgrind cores CORE_DUMPER = $(shell echo -e "quit" | $(DEBUGGER) --core=$(CORE) 2>&1 | \ - $(SED) '/Core was generated/ !d; s/Core was generated by `//; s/ .*//') + $(SED) '/Core was generated/ !d; s/Core was generated by `//; s/ .*//; s/\x27\.$$//') else CORE_DUMPER = $(EXE_PATH) endif