mostang.com!davidm | 7fbfe0a | 2002-02-15 23:22:05 +0000 | [diff] [blame^] | 1 | This is version 0.0 of the unwind library. At the moment, only the |
| 2 | IA-64 Linux (IPF Linux) platform is supported and even that support |
| 3 | has received only light testing. Consequently, this release is |
| 4 | intended primarily to expose the unwind API to more developers and to |
| 5 | collect feedback on what does and does not work. Having said that, |
| 6 | backtracing through gcc-generated code might work reasonably well. |
| 7 | |
| 8 | There is virtually no documentation at the moment. A brief outline of |
| 9 | the unwind API is in file NOTES. To get a feel for how things are |
| 10 | intended to work, you may also want to take a look at include/unwind.h |
| 11 | and include/unwind-ia64.h. Finally, the test program in |
| 12 | src/tests/bt.c shows two ways of how to do a simple backtrace: one |
| 13 | uses libunwind directly, the other uses a libunwind-based |
| 14 | implementation of the backtrace() function. The test program in |
| 15 | src/tests/exc.c shows the basics of how to do exception handling with |
| 16 | this library. |
| 17 | |
| 18 | The following steps should be used to compile and install this library: |
| 19 | |
| 20 | $ cd src |
| 21 | $ make dep |
| 22 | $ make |
| 23 | $ make install prefix=PREFIX |
| 24 | |
| 25 | where PREFIX is the installation prefix. By default, a prefix of /usr |
| 26 | is used, such that libunwind.a is installed in /usr/lib and unwind.h |
| 27 | is installed in /usr/include. For testing, you may want to use a |
| 28 | prefix of /usr/local instead. |
| 29 | |
| 30 | Please direct all questions regarding this library to: |
| 31 | |
| 32 | libunwind@linux.hpl.hp.com |
| 33 | |
| 34 | For spam protection, you'll have to subscribe to this list before |
| 35 | posting a question. You can do this by sending a mail to |
| 36 | libunwind-request@linux.hpl.hp.com with a body of: |
| 37 | |
| 38 | subscribe libunwind |
| 39 | |
| 40 | Note: the host that is running this list is behind a firewall, so |
| 41 | you'll not be able to use the Web interface to manage your |
| 42 | subscription. Send a mail containing "help" to |
| 43 | libunwind-request@linux.hpl.hp.com for information on how to manage |
| 44 | your subscription via email. |
| 45 | |
| 46 | --david |