mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
debugger.mk: Fix core file parsing from GDB output
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
8e2161dd5d
commit
32edd25779
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue