From 7a7d6113d42f46f5ab6bae453789b010946d4b4d Mon Sep 17 00:00:00 2001 From: "mostang.com!davidm" Date: Thu, 6 Mar 2003 06:14:36 +0000 Subject: [PATCH] Regenerate. (Logical change 1.59) --- configure | 2 +- doc/libunwind-ia64.man | 78 ++++++++++++++++++++++++---------------- doc/libunwind-ptrace.man | 15 ++++++-- src/Makefile.in | 12 ++++--- tests/Makefile.in | 14 +++++--- 5 files changed, 78 insertions(+), 43 deletions(-) diff --git a/configure b/configure index bf59bf62..d0a4e44f 100644 --- a/configure +++ b/configure @@ -1742,7 +1742,7 @@ fi # Define the identity of the package. PACKAGE=libunwind - VERSION=0.3 + VERSION=0.9 cat >>confdefs.h <<_ACEOF diff --git a/doc/libunwind-ia64.man b/doc/libunwind-ia64.man index fd7b7434..b91da22e 100644 --- a/doc/libunwind-ia64.man +++ b/doc/libunwind-ia64.man @@ -1,5 +1,5 @@ '\" t -.\" Manual page created with latex2man on Fri Jan 17 15:46:04 PST 2003 +.\" Manual page created with latex2man on Wed Mar 5 10:22:28 PST 2003 .\" NOTE: This file is generated, DO NOT EDIT. .de Vb .ft CW @@ -10,7 +10,7 @@ .fi .. -.TH "LIBUNWIND\-IA64" "3" "17 January 2003" "Programming Library " "Programming Library " +.TH "LIBUNWIND\-IA64" "3" "05 March 2003" "Programming Library " "Programming Library " .SH NAME libunwind\-ia64 \-\- IA\-64\-specific support in libunwind @@ -137,12 +137,26 @@ UNW_IA64_GR: registers. Add an index in the range from 0..127 to get a particular general register. For example, to access r4, the index UNW_IA64_GR+4 -should be used. Register -r0 -is read\-only, and any attempt to write to index -UNW_IA64_GR+0 -will result in an error +should be used. +Registers r0 +and r1 +(gp) +are read\-only, +and any attempt to write them will result in an error (\-UNW_EREADONLYREG). +Even though r1 +is +read\-only, libunwind +will automatically adjust its value if +the instruction\-pointer (UNW_IA64_IP) +is modified. For +example, if UNW_IA64_IP +is set to a value inside a +function func(), +then reading +UNW_IA64_GR+1 +will return the global\-pointer +value for this function. .TP UNW_IA64_NAT: The base\-index for the NaT bits of the @@ -207,18 +221,16 @@ Convenience macros are simply aliases for certain frequently used registers: .TP UNW_IA64_GP: - Alias for UNW_IA64_GR+1\&. -The global\-pointer register. For unwinding\-purposes, this register -is treated as read\-only. + Alias for UNW_IA64_GR+1, +the global\-pointer register. .TP UNW_IA64_TP: - Alias for UNW_IA64_GR+13\&. -The thread\-pointer register. For unwinding\-purposes, this register is -treated as read\-only. + Alias for UNW_IA64_GR+13, +the thread\-pointer register. .TP UNW_IA64_AR_RSC: - Alias for UNW_IA64_GR+16\&. -The register\-stack configuration register. + Alias for UNW_IA64_GR+16, +the register\-stack configuration register. .TP UNW_IA64_AR_BSP: Alias for @@ -231,36 +243,40 @@ use UNW_IA64_BSP instead. .TP UNW_IA64_AR_BSPSTORE: - Alias for UNW_IA64_GR+18\&. -The register\-backing store write pointer. + Alias for UNW_IA64_GR+18, +the register\-backing store write pointer. .TP UNW_IA64_AR_RNAT: - Alias for UNW_IA64_GR+19\&. -The register\-backing store NaT\-collection register. + Alias for UNW_IA64_GR+19, +the register\-backing store NaT\-collection register. .TP UNW_IA64_AR_CCV: - Alias for UNW_IA64_GR+32\&. -The compare\-and\-swap value register. + Alias for UNW_IA64_GR+32, +the compare\-and\-swap value register. +.TP +UNW_IA64_AR_CSD: + Alias for UNW_IA64_GR+25, +the compare\-and\-swap\-data register (used by 16\-byte atomic operations). .TP UNW_IA64_AR_UNAT: - Alias for UNW_IA64_GR+36\&. -The user NaT\-collection register. + Alias for UNW_IA64_GR+36, +the user NaT\-collection register. .TP UNW_IA64_AR_FPSR: - Alias for UNW_IA64_GR+40\&. -The floating\-point status (and control) register. + Alias for UNW_IA64_GR+40, +the floating\-point status (and control) register. .TP UNW_IA64_AR_PFS: - Alias for UNW_IA64_GR+64\&. -The previous frame\-state register. + Alias for UNW_IA64_GR+64, +the previous frame\-state register. .TP UNW_IA64_AR_LC: - Alias for UNW_IA64_GR+65\&. -The loop\-count register. + Alias for UNW_IA64_GR+65 +the loop\-count register. .TP UNW_IA64_AR_EC: - Alias for UNW_IA64_GR+66\&. -The epilogue\-count register. + Alias for UNW_IA64_GR+66, +the epilogue\-count register. .PP .SH THE UNWIND\-CONTEXT TYPE diff --git a/doc/libunwind-ptrace.man b/doc/libunwind-ptrace.man index f53cca30..3c8f70b8 100644 --- a/doc/libunwind-ptrace.man +++ b/doc/libunwind-ptrace.man @@ -1,5 +1,5 @@ '\" t -.\" Manual page created with latex2man on Wed Feb 26 20:56:57 PST 2003 +.\" Manual page created with latex2man on Wed Mar 5 15:40:02 PST 2003 .\" NOTE: This file is generated, DO NOT EDIT. .de Vb .ft CW @@ -10,7 +10,7 @@ .fi .. -.TH "LIBUNWIND\-PTRACE" "3" "26 February 2003" "Programming Library " "Programming Library " +.TH "LIBUNWIND\-PTRACE" "3" "05 March 2003" "Programming Library " "Programming Library " .SH NAME libunwind\-ptrace \-\- ptrace() support in libunwind @@ -77,6 +77,11 @@ size_t, unw_word_t *, void *); .br +int +_UPT_resume(unw_addr_space_t, +unw_cursor_t *, +void *); +.br .PP .SH DESCRIPTION @@ -138,6 +143,12 @@ as the only argument. The returned void\-pointer then needs to be passed as the ``argument\&'' pointer (third argument) to unw_init_remote(). .PP +The _UPT_resume() +routine can be used to resume execution of +the target process. It simply invokes ptrace(2) +with a command +value of PTRACE_CONT\&. +.PP When the application is done using libunwind on the target process, _UPT_destroy() diff --git a/src/Makefile.in b/src/Makefile.in index b970057e..53a0f1c5 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -95,6 +95,8 @@ install_sh = @install_sh@ SOVERSION = 1:0:0 # See comments at end of file. SETJMP_SO_VERSION = 0:0:0 +EXTRA_DIST = elfxx.h elfxx.c + # Nothing to do here.... @REMOTE_ONLY_FALSE@libunwind_la_SOURCES_cdep = \ @REMOTE_ONLY_FALSE@ _UPT_internal.h \ @@ -104,7 +106,7 @@ SETJMP_SO_VERSION = 0:0:0 @REMOTE_ONLY_FALSE@ _UPT_accessors.c _UPT_access_fpreg.c _UPT_access_mem.c \ @REMOTE_ONLY_FALSE@ _UPT_access_reg.c _UPT_create.c _UPT_destroy.c _UPT_find_proc_info.c \ @REMOTE_ONLY_FALSE@ _UPT_get_dyn_info_list_addr.c _UPT_put_unwind_info.c \ -@REMOTE_ONLY_FALSE@ _UPT_get_proc_name.c _UPT_reg_offset.c +@REMOTE_ONLY_FALSE@ _UPT_get_proc_name.c _UPT_reg_offset.c _UPT_resume.c @REMOTE_ONLY_FALSE@lib_LTLIBRARIES_cdep = libunwind-setjmp.la @@ -218,9 +220,6 @@ libunwind_la_SOURCES_x86 = $(libunwind_la_SOURCES_common) \ lib_LTLIBRARIES = $(lib_LTLIBRARIES_cdep) $(lib_LTLIBRARIES_arch) - -# XXX Need to create symlinks from libunwind-ia64.so to libunwind.so -# XXX end libunwind-ia64.a to libunwind.a AM_CPPFLAGS = -I$(top_srcdir)/include -I. AM_CCASFLAGS = $(AM_CPPFLAGS) subdir = src @@ -237,7 +236,8 @@ libunwind_hppa_la_LIBADD = @REMOTE_ONLY_FALSE@ _UPT_find_proc_info.lo \ @REMOTE_ONLY_FALSE@ _UPT_get_dyn_info_list_addr.lo \ @REMOTE_ONLY_FALSE@ _UPT_put_unwind_info.lo \ -@REMOTE_ONLY_FALSE@ _UPT_get_proc_name.lo _UPT_reg_offset.lo +@REMOTE_ONLY_FALSE@ _UPT_get_proc_name.lo _UPT_reg_offset.lo \ +@REMOTE_ONLY_FALSE@ _UPT_resume.lo @OS_LINUX_TRUE@am__objects_2 = os-linux.lo am__objects_3 = $(am__objects_1) $(am__objects_2) backtrace.lo \ dyn-extract.lo dyn-remote.lo mi-init.lo mempool.lo \ @@ -401,6 +401,7 @@ am__depfiles_maybe = depfiles @AMDEP_TRUE@ ./$(DEPDIR)/_UPT_get_proc_name.Plo \ @AMDEP_TRUE@ ./$(DEPDIR)/_UPT_put_unwind_info.Plo \ @AMDEP_TRUE@ ./$(DEPDIR)/_UPT_reg_offset.Plo \ +@AMDEP_TRUE@ ./$(DEPDIR)/_UPT_resume.Plo \ @AMDEP_TRUE@ ./$(DEPDIR)/backtrace.Plo \ @AMDEP_TRUE@ ./$(DEPDIR)/dyn-cancel.Plo \ @AMDEP_TRUE@ ./$(DEPDIR)/dyn-extract.Plo \ @@ -672,6 +673,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/_UPT_get_proc_name.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/_UPT_put_unwind_info.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/_UPT_reg_offset.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/_UPT_resume.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/backtrace.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dyn-cancel.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dyn-extract.Plo@am__quote@ diff --git a/tests/Makefile.in b/tests/Makefile.in index 54cb7d0c..00865b39 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -94,6 +94,8 @@ arch = @arch@ install_sh = @install_sh@ AM_CPPFLAGS = -I$(top_srcdir)/include +EXTRA_DIST = run-ia64-test-dyn1 + noinst_PROGRAMS_common = check_PROGRAMS_common = check_SCRIPTS_common = @@ -125,10 +127,14 @@ noinst_PROGRAMS = $(noinst_PROGRAMS_common) $(noinst_PROGRAMS_cdep) \ $(noinst_PROGRAMS_arch) -Lia64_test_stack_SOURCES = Lia64-test-stack.c ia64-test-stack-asm.S -Gia64_test_stack_SOURCES = Gia64-test-stack.c ia64-test-stack-asm.S -Lia64_test_rbs_SOURCES = Lia64-test-rbs.c ia64-test-rbs-asm.S -Gia64_test_rbs_SOURCES = Gia64-test-rbs.c ia64-test-rbs-asm.S +Lia64_test_stack_SOURCES = Lia64-test-stack.c ia64-test-stack-asm.S \ + ia64-test-stack.h + +Gia64_test_stack_SOURCES = Gia64-test-stack.c ia64-test-stack-asm.S \ + ia64-test-stack.h + +Lia64_test_rbs_SOURCES = Lia64-test-rbs.c ia64-test-rbs-asm.S ia64-test-rbs.h +Gia64_test_rbs_SOURCES = Gia64-test-rbs.c ia64-test-rbs-asm.S ia64-test-rbs.h ia64_test_dyn1_SOURCES = ia64-test-dyn1.c ia64-dyn-asm.S LDADD = ../src/libunwind-$(arch).la