162 Commits

Author SHA1 Message Date
Stephen Webb
55b3c7b81d Fix doc-building config
Change the autoconf rules so that
  - docs are always built and installed unless
    `--enable-documentation=no` is passed
  - the documentation-build tools latex2man and pdflatex are
    autodetected and, if not found, just issue a warning at configure
    time and doc builds do nothing. Since built man pages are under
    source control this should not have a dire effect.

Fixes #822
2025-05-26 15:17:36 -04:00
Rageking8
30041ef9f9 Fix following typos 2024-05-01 12:30:51 -04:00
Xiang.Lin
536e9d51db Add unw_get_elf_filename manual 2023-09-15 13:43:35 -04:00
Stephen Webb
e1964a6a2c Move man pages into section 3libunwind
It's a convention that unadorned section 3 man pages are libc functions
and other libraries adorn the section name.

Also added example code to the ptrace and nto remotes and fixed some
unusual Engish-language constructs.

Regenerated all man pages from their LaTEX sources.
2023-09-07 11:20:20 -04:00
Stephen Webb
a9e1cb6c18 Add nto remote
QNX OS uses a special nto remote instead of the ptrace used by Linux and
the BSDs.
2023-06-27 10:07:33 -04:00
Stephen Webb
53813449e6 Add manpage for libunwind-coredump
Closes #487
2023-05-18 11:09:31 -04:00
Bert Wesarg
3a19368bc8 doc: Add manpage for unw_set_iterate_phdr_function 2023-05-08 14:19:30 -04:00
Gregory LEOCADIE
b1d6f6efe4 Adjust backtrace2 signature 2023-01-11 08:56:12 -08:00
Gregory LEOCADIE
d75341299b Add unw_backtrace2.man which reference unw_backtrace.man 2023-01-11 08:56:12 -08:00
Gregory LEOCADIE
3a79065d67 Add documentation 2023-01-11 08:56:12 -08:00
Stephen Webb
778dc30fbf Stop the autotools nag about AC_CONFIG_MACRO_DIRS
All warnings should be heeded, including the ones spat out by autoreconf. In
this case, autoconf wanted a place to generate its m4 files into and automake
wanted the right target names in doc/Makefile.am.

Also added AM_SILENT_FILES([yes]) to reduce the visual noise in build output to
make spotting build problems easier. You can override the silent default by
running `make` with `V=0` appended to the command line.

Removed the unnecessary and unused acinclude.m4 file to reduce clutter in the
source directory.
2022-08-13 11:00:06 -04:00
Adeel Mujahid
14e199e1f2 Fix typos (#397)
* Fix typos

* Cleanup trailing whitespaces in committed files

* Update include/tdep-ia64/libunwind_i.h
2022-08-04 20:14:42 -04:00
Adeel
4640cd26d5 Expose get_proc_info_in_range API 2022-07-08 15:59:28 -04:00
Björn Svensson
a860906284 Expose function-pointer-to-name API
The unw_get_proc_name_by_ip() function returns the name
of a procedure just like unw_get_proc_name(), except that it's
looked up by an instruction-pointer instead of a cursor.
2021-11-26 09:00:09 -08:00
Björn Svensson
97d74d3962 Correct some issues in documentation
A couple of spell corrections, faulty references and missing use
of common LaTeX commands are updated.
Corresponding .man-files are regenerated using older latex2man (v1.24)
to minimize the changes in the result.
2021-09-01 12:45:51 -07:00
Dave Watson
971985133b doc: Add generated doc files apply_reg_state and reg_states_iterate 2017-08-16 13:11:27 -07:00
Dave Watson
bd3fb89e11 Change unw_init_local_signal to unw_init_local2(..., UNW_INIT_SIGNAL_FRAME)
Add unw_init_local2 with a flag for better extensibility in the future
2017-08-16 13:11:24 -07:00
Doug Moore
bb61e0bc2b Bury the last_ip field until it can reappear in version 2.0. 2017-05-12 23:45:56 -05:00
Doug Moore
1568d7afa2 Add documentation. 2017-05-12 22:24:00 -05:00
Doug Moore
bbdc4b12da Capture the address of the first byte after the instructionless gap
that follows the procedure.
2017-05-12 22:24:00 -05:00
Doug Moore
14c48b3d51 unw_init_local_signal
init_local, but *not* setting use_prev_instr.
This is necessary to correctly unwind using ucontext argument to signal handlers.
2017-04-03 14:44:40 -07:00
Dave Watson
a51cf49031 dwarf: Configurable cache size
Add interface for configurable dwarf cache size

* Use item size and round up to nearest power of 2.
* Initial cache still exists in BSS.  Without this, it means we would fail
  backtrace when out of memory.  The test-mem test fails without this
2017-01-13 08:36:33 -08:00
Patrick Marlier
ec262e127b siglongjmp documentation fix
Hi,

I noticed a glitch in the documentation of libunwind-setjmp.
Attached the patch.

Thanks.
--
Patrick Marlier
2012-09-15 10:51:27 -07:00
Tommi Rantala
24a0c1f265 Provide manual page for `unw_backtrace()' 2012-09-04 14:58:38 +03:00
Tommi Rantala
5e854a4103 Fix typo in unw_get_proc_name documentation 2012-07-31 22:52:32 +03:00
Zachary T Welch
651e9bb4fd Add MAINTAINERCLEANFILES to Makefile.am files.
Ensures 'make maintainer-clean' removes files generated by autotools.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
2010-11-08 09:06:09 -08:00
Arun Sharma
0bce5f0016 Remove auto generated files. 2009-03-16 21:34:49 -07:00
David Mosberger-Tang
183d28a066 Rebuild autoconf files with autoreconf. 2008-06-16 14:30:38 -06:00
Daniel Jacobowitz
3842dac733 Add initial ARM and MIPS support. To support this, also enable the
reading of .debug_frame sections (used in lieu of .eh_frame sections
when they're not available).
2008-02-04 17:16:37 -07:00
David Mosberger-Tang
75f34ccb7d Update documentation and regenerate manual-pages. 2007-08-22 12:49:08 -06:00
David Mosberger-Tang
7aca85a85d Update html-versions of man-pages for Savannah-based home page. 2007-08-15 22:21:52 -06:00
David Mosberger-Tang
7fdd022ccf Update autoconf files. 2007-08-09 21:18:15 -06:00
David Mosberger-Tang
297315675e Recreate autoconf files. 2007-08-06 20:27:29 -06:00
David Mosberger-Tang
fad8b04c9f Rebuilt configure and Makefile.in files. 2007-08-06 19:56:28 -06:00
David Mosberger-Tang
7923ae31a0 Re-run aclocal and automake to update Makefiles so new files (e.g.,
x86_64/gen_offsets.c) get distributed.
2007-04-10 20:35:15 -06:00
David Mosberger-Tang
ca69fee8bb Merge ../libunwind-v0.98
Conflicts:

	include/dwarf_i.h
	include/x86/jmpbuf.h
	include/x86_64/jmpbuf.h
	src/hppa/init.h
	src/mi/Gget_fpreg.c
	src/mi/Gset_fpreg.c
	src/mi/strerror.c
2006-07-25 21:41:43 -06:00
David Mosberger-Tang
f176ad6fc6 Bring git v0.98.5 tree in sync with released v0.98.5.
Sadly, the conversion from Bitkeeper -> CVS -> git wasn't perfect.  Or
so it seems.
2006-07-25 21:32:28 -06:00
hp.com!davidm
2211958a9c UNW_IA64_SP and UNW_IA64_BSP are no longer read-only.
(Logical change 1.303)
2005-05-20 15:32:18 +00:00
hp.com!davidm
11f4871570 Regenerate.
(Logical change 1.303)
2005-05-20 15:32:18 +00:00
hp.com!davidm
6a34a0f79c Regenerate.
(Logical change 1.292)
2005-05-17 13:24:49 +00:00
hp.com!davidm
0cae8247a8 Clarify that UNW_IA64_PR works like the "move predicates" instruction, i.e.,
it acesses the physical (unrotated) contents of p16-p63.

(Logical change 1.292)
2005-05-17 13:24:49 +00:00
hp.com!davidm
e65e1fcd8b Regenerate.
(Logical change 1.290)
2005-05-03 09:13:17 +00:00
hp.com!davidm
cf49fe8be4 Regenerate.
(Logical change 1.289)
2005-04-20 21:32:20 +00:00
hp.com!davidm
2f9b0ab27d Fix typo: function returns unw_addr_space_t, not int.
(Logical change 1.288)
2005-04-20 21:02:21 +00:00
hp.com!davidm
272caabbfa Regenerate.
(Logical change 1.283)
2004-11-16 22:03:04 +00:00
hp.com!davidm
0f9f815cf1 Regenerate.
(Logical change 1.280)
2004-11-03 21:50:24 +00:00
homeip.net!davidm
b62e5e37b3 Regenerate.
(Logical change 1.271)
2004-10-05 16:28:06 +00:00
mostang.com!davidm
112fcdd172 Regenerate.
(Logical change 1.261)
2004-09-08 17:36:28 +00:00
homeip.net!davidm
982b64232d Regenerate.
(Logical change 1.252)
2004-08-19 14:03:54 +00:00
bea.com!thallgre
779632ee82 Regenerate.
(Logical change 1.245)
2004-08-18 15:16:46 +00:00