mostang.com!davidm | 354f1c7 | 2002-02-23 20:27:03 +0000 | [diff] [blame] | 1 | This is version 0.2 of the unwind library. At the moment, only the |
mostang.com!davidm | 7fbfe0a | 2002-02-15 23:22:05 +0000 | [diff] [blame] | 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 |
mostang.com!davidm | 354f1c7 | 2002-02-23 20:27:03 +0000 | [diff] [blame] | 10 | intended to work, you may also want to take a look at |
| 11 | include/libunwind.h and include/libunwind-ia64.h. Finally, the test |
| 12 | program in tests/bt.c shows two ways of how to do a simple backtrace: |
| 13 | one uses libunwind directly, the other uses a libunwind-based |
mostang.com!davidm | 7fbfe0a | 2002-02-15 23:22:05 +0000 | [diff] [blame] | 14 | implementation of the backtrace() function. The test program in |
mostang.com!davidm | 354f1c7 | 2002-02-23 20:27:03 +0000 | [diff] [blame] | 15 | tests/exc.c shows the basics of how to do exception handling with this |
| 16 | library. |
mostang.com!davidm | 7fbfe0a | 2002-02-15 23:22:05 +0000 | [diff] [blame] | 17 | |
| 18 | The following steps should be used to compile and install this library: |
| 19 | |
mostang.com!davidm | 354f1c7 | 2002-02-23 20:27:03 +0000 | [diff] [blame] | 20 | $ ./configure |
mostang.com!davidm | 7fbfe0a | 2002-02-15 23:22:05 +0000 | [diff] [blame] | 21 | $ make |
| 22 | $ make install prefix=PREFIX |
| 23 | |
mostang.com!davidm | 354f1c7 | 2002-02-23 20:27:03 +0000 | [diff] [blame] | 24 | where PREFIX is the installation prefix. By default, a prefix of |
| 25 | /usr/local is used, such that libunwind.a is installed in |
| 26 | /usr/local/lib and unwind.h is installed in /usr/local/include. For |
| 27 | testing, you may want to use a prefix of /usr/local instead. |
mostang.com!davidm | 7fbfe0a | 2002-02-15 23:22:05 +0000 | [diff] [blame] | 28 | |
| 29 | Please direct all questions regarding this library to: |
| 30 | |
| 31 | libunwind@linux.hpl.hp.com |
| 32 | |
| 33 | For spam protection, you'll have to subscribe to this list before |
| 34 | posting a question. You can do this by sending a mail to |
| 35 | libunwind-request@linux.hpl.hp.com with a body of: |
| 36 | |
| 37 | subscribe libunwind |
| 38 | |
| 39 | Note: the host that is running this list is behind a firewall, so |
| 40 | you'll not be able to use the Web interface to manage your |
| 41 | subscription. Send a mail containing "help" to |
| 42 | libunwind-request@linux.hpl.hp.com for information on how to manage |
| 43 | your subscription via email. |
| 44 | |
| 45 | --david |