mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
defs.mk, run.mk: Filter out core.gdb.intern-state.*
Handle core files differently, i.e. filter out core.gdb.intern-state.* files while debugging. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
65de66dd10
commit
13826e6852
2 changed files with 9 additions and 9 deletions
|
|
@ -617,7 +617,7 @@ ifeq ($(DEVELOPMENT),true)
|
||||||
BUILD_CPPFLAGS+= -D_DEVELOPMENT_
|
BUILD_CPPFLAGS+= -D_DEVELOPMENT_
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CORE += $(wildcard core core.* vgcore vgcore.*)
|
CORE += $(filter-out $(wildcard *.intern-state*),$(wildcard core core.* vgcore vgcore.*))
|
||||||
|
|
||||||
ifeq ($(GCC_MAJOR),4)
|
ifeq ($(GCC_MAJOR),4)
|
||||||
BUILD_CFLAGS += -DGCC_HASCLASSVISIBILITY
|
BUILD_CFLAGS += -DGCC_HASCLASSVISIBILITY
|
||||||
|
|
|
||||||
16
make/run.mk
16
make/run.mk
|
|
@ -51,10 +51,10 @@ winrunclean:
|
||||||
|
|
||||||
else
|
else
|
||||||
run test: all
|
run test: all
|
||||||
rm -f $(CORE)
|
rm -f core.*
|
||||||
$(EXE_PATH) $(EXE_ARGS)
|
$(EXE_PATH) $(EXE_ARGS)
|
||||||
start: all
|
start: all
|
||||||
rm -f $(CORE)
|
rm -f core.*
|
||||||
$(EXE_PATH) $(EXE_ARGS) &
|
$(EXE_PATH) $(EXE_ARGS) &
|
||||||
|
|
||||||
clean: vg-clean-supp clean.out
|
clean: vg-clean-supp clean.out
|
||||||
|
|
@ -71,15 +71,15 @@ wait-stop:
|
||||||
restart: stop wait-stop all start
|
restart: stop wait-stop all start
|
||||||
|
|
||||||
valgrind:
|
valgrind:
|
||||||
rm -f $(CORE)
|
rm -f core.*
|
||||||
valgrind $(VALGRIND_OPTS) $(EXE_PATH) $(EXE_ARGS)
|
valgrind $(VALGRIND_OPTS) $(EXE_PATH) $(EXE_ARGS)
|
||||||
|
|
||||||
valkyrie:
|
valkyrie:
|
||||||
rm -f $(CORE)
|
rm -f core.*
|
||||||
valkyrie $(VALGRIND_OPTS) $(EXE_PATH) $(EXE_ARGS)
|
valkyrie $(VALGRIND_OPTS) $(EXE_PATH) $(EXE_ARGS)
|
||||||
|
|
||||||
efence:
|
efence:
|
||||||
rm -f $(CORE)
|
rm -f core.*
|
||||||
ef $(EXE_PATH) $(EXE_ARGS)
|
ef $(EXE_PATH) $(EXE_ARGS)
|
||||||
|
|
||||||
supp.tmp:
|
supp.tmp:
|
||||||
|
|
@ -99,11 +99,11 @@ clean.out:
|
||||||
rm -f run.out
|
rm -f run.out
|
||||||
|
|
||||||
callgrind:
|
callgrind:
|
||||||
rm -f $(CORE)
|
rm -f core.*
|
||||||
valgrind --tool=callgrind $(VALGRIND_OPTS) $(EXE_PATH) $(EXE_ARGS)
|
valgrind --tool=callgrind $(VALGRIND_OPTS) $(EXE_PATH) $(EXE_ARGS)
|
||||||
|
|
||||||
callgrind-noinst:
|
callgrind-noinst:
|
||||||
rm -f $(CORE)
|
rm -f core.*
|
||||||
valgrind --tool=callgrind $(VALGRIND_OPTS) --instr-atstart=no $(EXE_PATH) $(EXE_ARGS)
|
valgrind --tool=callgrind $(VALGRIND_OPTS) --instr-atstart=no $(EXE_PATH) $(EXE_ARGS)
|
||||||
|
|
||||||
callgrind-startinst:
|
callgrind-startinst:
|
||||||
|
|
@ -136,7 +136,7 @@ strace: $(EXE_PATH) $(EXE_BIN)
|
||||||
strace -f $(EXE_PATH) $(EXE_ARGS)
|
strace -f $(EXE_PATH) $(EXE_ARGS)
|
||||||
|
|
||||||
tee: $(EXE_PATH) $(EXE_BIN) all
|
tee: $(EXE_PATH) $(EXE_BIN) all
|
||||||
rm -f $(CORE)
|
rm -f core.*
|
||||||
$(EXE_PATH) $(EXE_ARGS) 2>&1 | tee run.out
|
$(EXE_PATH) $(EXE_ARGS) 2>&1 | tee run.out
|
||||||
|
|
||||||
kcg:
|
kcg:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue