diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2004-08-05 20:37:56 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2004-08-05 20:37:56 +0000 |
commit | 38e400fa258d2104c44aa8d895a32b8b85d2a49d (patch) | |
tree | 63a49a9edf3bf918c0c01cba9c4e85a018c1eac3 | |
parent | ab14aeb0f52a454d4d90f42c97ebefba2c520fbf (diff) | |
download | binutils-38e400fa258d2104c44aa8d895a32b8b85d2a49d.zip binutils-38e400fa258d2104c44aa8d895a32b8b85d2a49d.tar.gz binutils-38e400fa258d2104c44aa8d895a32b8b85d2a49d.tar.bz2 |
2004-08-05 Jeff Johnston <jjohnstn@redhat.com>
* libunwind-frame.c (LIBUNWIND_SO): Change to be of form:
libunwind-xxxx.so" where xxxx is UNW_TARGET.
-rw-r--r-- | gdb/ChangeLog | 1 | ||||
-rw-r--r-- | gdb/libunwind-frame.c | 8 |
2 files changed, 4 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7ecacf8..3ed9cbd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -677,7 +677,6 @@ * Makefile.in (CONFIG_CLEAN): Delete duplicate definition. ->>>>>>> 1.6211 2004-07-28 Andrew Cagney <cagney@gnu.org> * PROBLEMS: Mention threads/1650. diff --git a/gdb/libunwind-frame.c b/gdb/libunwind-frame.c index 3462625..fd953d2 100644 --- a/gdb/libunwind-frame.c +++ b/gdb/libunwind-frame.c @@ -45,10 +45,6 @@ static int libunwind_initialized; static struct gdbarch_data *libunwind_descr_handle; -#ifndef LIBUNWIND_SO -#define LIBUNWIND_SO "libunwind.so" -#endif - /* Required function pointers from libunwind. */ static int (*unw_get_reg_p) (unw_cursor_t *, unw_regnum_t, unw_word_t *); static int (*unw_get_fpreg_p) (unw_cursor_t *, unw_regnum_t, unw_fpreg_t *); @@ -75,6 +71,10 @@ struct libunwind_frame_cache #define STRINGIFY2(name) #name #define STRINGIFY(name) STRINGIFY2(name) +#ifndef LIBUNWIND_SO +#define LIBUNWIND_SO "libunwind-" STRINGIFY(UNW_TARGET) ".so" +#endif + static char *get_reg_name = STRINGIFY(UNW_OBJ(get_reg)); static char *get_fpreg_name = STRINGIFY(UNW_OBJ(get_fpreg)); static char *get_saveloc_name = STRINGIFY(UNW_OBJ(get_save_loc)); |