diff --git a/doc/Makefile.in b/doc/Makefile.in index 3259f75b..31a98535 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -197,6 +197,7 @@ man3_MANS = libunwind.man libunwind-dynamic.man libunwind-ia64.man \ unw_set_fpreg.man \ unw_set_reg.man \ unw_step.man \ + unw_strerror.man \ _U_dyn_register.man \ _U_dyn_cancel.man @@ -219,6 +220,7 @@ EXTRA_DIST = NOTES libunwind.trans \ unw_set_fpreg.tex \ unw_set_reg.tex \ unw_step.tex \ + unw_strerror.tex \ _U_dyn_register.tex \ _U_dyn_cancel.tex \ $(man3_MANS) diff --git a/src/Makefile.in b/src/Makefile.in index 59b61369..596a1704 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -87,8 +87,8 @@ libunwind_hppa_la_OBJECTS = $(am_libunwind_hppa_la_OBJECTS) @ARCH_IA64_TRUE@@REMOTE_ONLY_FALSE@libunwind_ia64_la_DEPENDENCIES = \ @ARCH_IA64_TRUE@@REMOTE_ONLY_FALSE@ libunwind.la am__libunwind_ia64_la_SOURCES_DIST = os-hpux.c os-linux.h os-linux.c \ - mi/init.c mi/flush_cache.c mi/mempool.c ia64/init.h \ - ia64/offsets.h ia64/regs.h ia64/ucontext_i.h \ + mi/init.c mi/flush_cache.c mi/mempool.c mi/strerror.c \ + ia64/init.h ia64/offsets.h ia64/regs.h ia64/ucontext_i.h \ ia64/unwind_decoder.h ia64/unwind_i.h ia64/regname.c \ mi/Gdyn-extract.c mi/Gdyn-remote.c \ mi/Gfind_dynamic_proc_info.c mi/Gget_accessors.c \ @@ -106,7 +106,7 @@ am__objects_2 = os-linux.lo @OS_HPUX_FALSE@@OS_LINUX_TRUE@am__objects_3 = $(am__objects_2) @OS_HPUX_TRUE@am__objects_3 = $(am__objects_1) am__objects_4 = $(am__objects_3) mi/init.lo mi/flush_cache.lo \ - mi/mempool.lo + mi/mempool.lo mi/strerror.lo am__objects_5 = $(am__objects_4) ia64/regname.lo am__objects_6 = mi/Gdyn-extract.lo mi/Gdyn-remote.lo \ mi/Gfind_dynamic_proc_info.lo mi/Gget_accessors.lo \ @@ -143,9 +143,9 @@ libunwind_setjmp_la_OBJECTS = $(am_libunwind_setjmp_la_OBJECTS) @REMOTE_ONLY_FALSE@am_libunwind_setjmp_la_rpath = -rpath $(libdir) @ARCH_HPPA_FALSE@@ARCH_IA64_FALSE@@ARCH_X86_TRUE@@REMOTE_ONLY_FALSE@libunwind_x86_la_DEPENDENCIES = libunwind.la am__libunwind_x86_la_SOURCES_DIST = os-hpux.c os-linux.h os-linux.c \ - mi/init.c mi/flush_cache.c mi/mempool.c dwarf/dwarf-eh.h \ - dwarf/global.c x86/init.h x86/offsets.h x86/unwind_i.h \ - x86/is_fpreg.c x86/regname.c mi/Gdyn-extract.c \ + mi/init.c mi/flush_cache.c mi/mempool.c mi/strerror.c \ + dwarf/dwarf-eh.h dwarf/global.c x86/init.h x86/offsets.h \ + x86/unwind_i.h x86/is_fpreg.c x86/regname.c mi/Gdyn-extract.c \ mi/Gdyn-remote.c mi/Gfind_dynamic_proc_info.c \ mi/Gget_accessors.c mi/Gget_proc_info_by_ip.c \ mi/Gget_proc_name.c mi/Gput_dynamic_unwind_info.c \ @@ -174,11 +174,11 @@ libunwind_x86_la_OBJECTS = $(am_libunwind_x86_la_OBJECTS) @ARCH_HPPA_FALSE@@ARCH_IA64_FALSE@@ARCH_X86_TRUE@ $(libdir) libunwind_la_DEPENDENCIES = am__libunwind_la_SOURCES_DIST = os-hpux.c os-linux.h os-linux.c \ - mi/init.c mi/flush_cache.c mi/mempool.c dwarf/dwarf-eh.h \ - dwarf/global.c x86/init.h x86/offsets.h x86/unwind_i.h \ - x86/is_fpreg.c x86/regname.c mi/_ReadULEB.c mi/_ReadSLEB.c \ - mi/backtrace.c mi/dyn-cancel.c mi/dyn-info-list.c \ - mi/dyn-register.c mi/Ldyn-extract.c \ + mi/init.c mi/flush_cache.c mi/mempool.c mi/strerror.c \ + dwarf/dwarf-eh.h dwarf/global.c x86/init.h x86/offsets.h \ + x86/unwind_i.h x86/is_fpreg.c x86/regname.c mi/_ReadULEB.c \ + mi/_ReadSLEB.c mi/backtrace.c mi/dyn-cancel.c \ + mi/dyn-info-list.c mi/dyn-register.c mi/Ldyn-extract.c \ mi/Lfind_dynamic_proc_info.c mi/Lget_accessors.c \ mi/Lget_proc_info_by_ip.c mi/Lget_proc_name.c \ mi/Lput_dynamic_unwind_info.c mi/Ldestroy_addr_space.c \ @@ -461,8 +461,8 @@ libunwind_setjmp_la_SOURCES_x86 = setjmp.c sigsetjmp.c x86/siglongjmp.S # List of arch-independent files needed by both local-only and generic # libraries: libunwind_la_SOURCES_common = \ - $(libunwind_la_SOURCES_os) \ - mi/init.c mi/flush_cache.c mi/mempool.c + $(libunwind_la_SOURCES_os) \ + mi/init.c mi/flush_cache.c mi/mempool.c mi/strerror.c # List of arch-independent files needed by generic library (libunwind-$ARCH): @@ -773,6 +773,7 @@ mi/$(DEPDIR)/$(am__dirstamp): mi/init.lo: mi/$(am__dirstamp) mi/$(DEPDIR)/$(am__dirstamp) mi/flush_cache.lo: mi/$(am__dirstamp) mi/$(DEPDIR)/$(am__dirstamp) mi/mempool.lo: mi/$(am__dirstamp) mi/$(DEPDIR)/$(am__dirstamp) +mi/strerror.lo: mi/$(am__dirstamp) mi/$(DEPDIR)/$(am__dirstamp) ia64/$(am__dirstamp): @$(mkdir_p) ia64 @: > ia64/$(am__dirstamp) @@ -1241,6 +1242,8 @@ mostlyclean-compile: -rm -f mi/init.lo -rm -f mi/mempool.$(OBJEXT) -rm -f mi/mempool.lo + -rm -f mi/strerror.$(OBJEXT) + -rm -f mi/strerror.lo -rm -f ptrace/_UPT_access_fpreg.$(OBJEXT) -rm -f ptrace/_UPT_access_mem.$(OBJEXT) -rm -f ptrace/_UPT_access_reg.$(OBJEXT) @@ -1445,6 +1448,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@mi/$(DEPDIR)/flush_cache.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@mi/$(DEPDIR)/init.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@mi/$(DEPDIR)/mempool.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@mi/$(DEPDIR)/strerror.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@ptrace/$(DEPDIR)/_UPT_access_fpreg.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@ptrace/$(DEPDIR)/_UPT_access_mem.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@ptrace/$(DEPDIR)/_UPT_access_reg.Po@am__quote@ diff --git a/tests/Makefile.in b/tests/Makefile.in index 2a2d90bd..59923e1b 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -14,7 +14,7 @@ @SET_MAKE@ -SOURCES = $(Gia64_test_nat_SOURCES) $(Gia64_test_rbs_SOURCES) $(Gia64_test_readonly_SOURCES) $(Gia64_test_stack_SOURCES) Gperf-simple.c Gtest-concurrent.c $(Gtest_dyn1_SOURCES) Gtest-exc.c $(Gtest_init_SOURCES) Gtest-resume-sig.c $(Lia64_test_nat_SOURCES) $(Lia64_test_rbs_SOURCES) $(Lia64_test_readonly_SOURCES) $(Lia64_test_stack_SOURCES) Lperf-simple.c Ltest-concurrent.c $(Ltest_dyn1_SOURCES) Ltest-exc.c $(Ltest_init_SOURCES) Ltest-resume-sig.c bt.c forker.c $(ia64_test_dyn1_SOURCES) ia64-test-sig.c mapper.c test-async-sig.c test-flush-cache.c test-init-remote.c test-mem.c test-proc-info.c test-ptrace.c test-setjmp.c $(test_static_link_SOURCES) test-varargs.c +SOURCES = $(Gia64_test_nat_SOURCES) $(Gia64_test_rbs_SOURCES) $(Gia64_test_readonly_SOURCES) $(Gia64_test_stack_SOURCES) Gperf-simple.c Gtest-concurrent.c $(Gtest_dyn1_SOURCES) Gtest-exc.c $(Gtest_init_SOURCES) Gtest-resume-sig.c $(Lia64_test_nat_SOURCES) $(Lia64_test_rbs_SOURCES) $(Lia64_test_readonly_SOURCES) $(Lia64_test_stack_SOURCES) Lperf-simple.c Ltest-concurrent.c $(Ltest_dyn1_SOURCES) Ltest-exc.c $(Ltest_init_SOURCES) Ltest-resume-sig.c bt.c forker.c $(ia64_test_dyn1_SOURCES) ia64-test-sig.c mapper.c test-async-sig.c test-flush-cache.c test-init-remote.c test-mem.c test-proc-info.c test-ptrace.c test-setjmp.c $(test_static_link_SOURCES) test-strerror.c test-varargs.c srcdir = @srcdir@ top_srcdir = @top_srcdir@ @@ -53,7 +53,7 @@ mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs CONFIG_HEADER = $(top_builddir)/include/config.h CONFIG_CLEAN_FILES = check-namespace.sh am__EXEEXT_1 = test-init-remote$(EXEEXT) test-proc-info$(EXEEXT) \ - test-static-link$(EXEEXT) + test-static-link$(EXEEXT) test-strerror$(EXEEXT) @REMOTE_ONLY_FALSE@am__EXEEXT_2 = Gtest-exc$(EXEEXT) \ @REMOTE_ONLY_FALSE@ Ltest-exc$(EXEEXT) Gtest-init$(EXEEXT) \ @REMOTE_ONLY_FALSE@ Ltest-init$(EXEEXT) \ @@ -222,6 +222,10 @@ am_test_static_link_OBJECTS = test-static-link-loc.$(OBJEXT) \ test_static_link_OBJECTS = $(am_test_static_link_OBJECTS) test_static_link_LDADD = $(LDADD) test_static_link_DEPENDENCIES = $(am__DEPENDENCIES_1) +test_strerror_SOURCES = test-strerror.c +test_strerror_OBJECTS = test-strerror.$(OBJEXT) +test_strerror_LDADD = $(LDADD) +test_strerror_DEPENDENCIES = $(am__DEPENDENCIES_1) test_varargs_SOURCES = test-varargs.c test_varargs_OBJECTS = test-varargs.$(OBJEXT) test_varargs_LDADD = $(LDADD) @@ -259,7 +263,7 @@ SOURCES = $(Gia64_test_nat_SOURCES) $(Gia64_test_rbs_SOURCES) \ forker.c $(ia64_test_dyn1_SOURCES) ia64-test-sig.c mapper.c \ test-async-sig.c test-flush-cache.c test-init-remote.c \ test-mem.c test-proc-info.c test-ptrace.c test-setjmp.c \ - $(test_static_link_SOURCES) test-varargs.c + $(test_static_link_SOURCES) test-strerror.c test-varargs.c DIST_SOURCES = $(Gia64_test_nat_SOURCES) $(Gia64_test_rbs_SOURCES) \ $(Gia64_test_readonly_SOURCES) $(Gia64_test_stack_SOURCES) \ Gperf-simple.c Gtest-concurrent.c $(Gtest_dyn1_SOURCES) \ @@ -271,7 +275,7 @@ DIST_SOURCES = $(Gia64_test_nat_SOURCES) $(Gia64_test_rbs_SOURCES) \ forker.c $(ia64_test_dyn1_SOURCES) ia64-test-sig.c mapper.c \ test-async-sig.c test-flush-cache.c test-init-remote.c \ test-mem.c test-proc-info.c test-ptrace.c test-setjmp.c \ - $(test_static_link_SOURCES) test-varargs.c + $(test_static_link_SOURCES) test-strerror.c test-varargs.c ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) @@ -401,7 +405,9 @@ EXTRA_DIST = run-ia64-test-dyn1 run-ptrace-mapper \ run-check-namespace check-namespace.sh.in noinst_PROGRAMS_common = -check_PROGRAMS_common = test-init-remote test-proc-info test-static-link +check_PROGRAMS_common = test-init-remote test-proc-info test-static-link \ + test-strerror + check_SCRIPTS_common = run-check-namespace @REMOTE_ONLY_FALSE@check_SCRIPTS_cdep = run-ptrace-mapper @REMOTE_ONLY_TRUE@check_SCRIPTS_cdep = @@ -601,6 +607,9 @@ test-setjmp$(EXEEXT): $(test_setjmp_OBJECTS) $(test_setjmp_DEPENDENCIES) test-static-link$(EXEEXT): $(test_static_link_OBJECTS) $(test_static_link_DEPENDENCIES) @rm -f test-static-link$(EXEEXT) $(LINK) $(test_static_link_LDFLAGS) $(test_static_link_OBJECTS) $(test_static_link_LDADD) $(LIBS) +test-strerror$(EXEEXT): $(test_strerror_OBJECTS) $(test_strerror_DEPENDENCIES) + @rm -f test-strerror$(EXEEXT) + $(LINK) $(test_strerror_LDFLAGS) $(test_strerror_OBJECTS) $(test_strerror_LDADD) $(LIBS) test-varargs$(EXEEXT): $(test_varargs_OBJECTS) $(test_varargs_DEPENDENCIES) @rm -f test-varargs$(EXEEXT) $(LINK) $(test_varargs_LDFLAGS) $(test_varargs_OBJECTS) $(test_varargs_LDADD) $(LIBS) @@ -645,6 +654,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-setjmp.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-static-link-gen.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-static-link-loc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-strerror.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-varargs.Po@am__quote@ .S.o: