diff options
author | Pedro Alves <palves@redhat.com> | 2012-02-21 19:39:32 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-02-21 19:39:32 +0000 |
commit | b54a8fd70210fd1fc7b4f41c4679737066951033 (patch) | |
tree | 759bfff66926faf35b830ce2bde4d7722762c7f0 /gdb/libunwind-frame.c | |
parent | 82c2def5ff08bb3f5a8c554d78d9a0ddc65dafe0 (diff) | |
download | binutils-b54a8fd70210fd1fc7b4f41c4679737066951033.zip binutils-b54a8fd70210fd1fc7b4f41c4679737066951033.tar.gz binutils-b54a8fd70210fd1fc7b4f41c4679737066951033.tar.bz2 |
2012-02-21 Tristan Gingold <gingold@adacore.com>
Pedro Alves <palves@redhat.com>
* ia64-tdep.c: Do not include libunwind-ia64.h.
* libunwind-frame.h: Remove #ifdef HAVE_LIBUNWIND_H guard.
Include libunwind-ia64.h instead of libunwind.h.
* configure.ac (--with-libunwind, $enable_libunwind): Don't check
for libunwind.h existence.
* configure, config.in: Regenerate.
Diffstat (limited to 'gdb/libunwind-frame.c')
-rw-r--r-- | gdb/libunwind-frame.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/libunwind-frame.c b/gdb/libunwind-frame.c index 893fe1e..f8f5289 100644 --- a/gdb/libunwind-frame.c +++ b/gdb/libunwind-frame.c @@ -40,6 +40,14 @@ #include "complaints.h" +/* IA-64 is the only target that currently uses libunwind-frame. Note + how UNW_TARGET, UNW_OBJ, etc. are compile time constants below. + Those come from libunwind's headers, and are target dependent. + Also, some of libunwind's typedefs are target dependent, as e.g., + unw_word_t. If some other target wants to use this, we will need + to do some abstracting in order to make it possible to select which + libunwind we're talking to at runtime (and have one per arch). */ + /* The following two macros are normally defined in <endian.h>. But systems such as ia64-hpux do not provide such header, so we just define them here if not already defined. */ |