Beginning of a dwarf unwinder.

Sat Mar 29 11:14:38 2008  Søren Sandmann  <sandmann@redhat.com>

        * unwind.[ch], testunwind.c: Beginning of a dwarf unwinder.



svn path=/trunk/; revision=405
This commit is contained in:
Søren Sandmann
2008-03-29 16:00:33 +00:00
committed by Søren Sandmann Pedersen
parent 72ef8ca8c6
commit d2a6151f8d
9 changed files with 407 additions and 19 deletions

View File

@ -3,12 +3,6 @@ DIST_SUBDIRS = module
bin_PROGRAMS = sysprof-text
noinst_PROGRAMS = testelf
testelf_SOURCES = testelf.c demangle.c elfparser.c elfparser.h binparser.c binparser.h
testelf_CPPFLAGS = \
$(CORE_DEP_CFLAGS)
testelf_LDADD = $(CORE_DEP_LIBS)
if BUILD_GUI
bin_PROGRAMS += sysprof
endif
@ -33,9 +27,12 @@ SYSPROF_CORE = \
sformat.c \
stackstash.h \
stackstash.c \
module/sysprof-module.h \
unwind.h \
unwind.c \
watch.h \
watch.c
watch.c \
\
module/sysprof-module.h
#
# GUI version
@ -92,3 +89,32 @@ EXTRA_DIST = \
insert-module:
/sbin/modprobe -r sysprof-module
/sbin/modprobe sysprof-module
#
# Test programs
#
noinst_PROGRAMS = testelf testunwind
# testunwind
testunwind_SOURCES = \
testunwind.c \
demangle.c \
elfparser.c \
elfparser.h \
binparser.c \
binparser.h \
unwind.c \
unwind.h
testunwind_CPPFLAGS = $(CORE_DEP_CFLAGS)
testunwind_LDADD = $(CORE_DEP_LIBS)
# testelf
testelf_SOURCES = \
testelf.c \
demangle.c \
elfparser.c \
elfparser.h \
binparser.c \
binparser.h
testelf_CPPFLAGS = $(CORE_DEP_CFLAGS)
testelf_LDADD = $(CORE_DEP_LIBS)