debugger.mk, defs-cpp.mk: CORE_DUMPER was misdetected for valgrind vgcore files

gdb --core=vgcore.123 doesn't output a usable executable path with "was
generated by ...".  This commit make make gdb fall back to using $(EXE_PATH) as
the executable with valgrind core files.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2019-07-13 17:14:38 +00:00
commit 7d7a75c389
2 changed files with 14 additions and 7 deletions

View file

@ -472,8 +472,6 @@ ALL_C += $(LOCAL_C) $(PREREQ_CPP)
ALL_CPP += $(LOCAL_CPP) $(PREREQ_CPP)
ALL_CSRC += $(LOCAL_CSRC) $(PREREQ_CSRC)
CORE += $(filter-out $(wildcard *.intern-state*),$(wildcard core core.* vgcore vgcore.*))
ifeq ($(USE_QT),true)
include $(JWBDIR)/make/qtversion.mk
include $(JWBDIR)/make/qt-defs.mk