Index: libunwind-frame.c =================================================================== RCS file: /cvs/src/src/gdb/libunwind-frame.c,v retrieving revision 1.1 diff -u -r1.1 libunwind-frame.c --- libunwind-frame.c 14 Nov 2003 21:17:51 -0000 1.1 +++ libunwind-frame.c 10 Dec 2003 20:52:10 -0000 @@ -46,7 +46,7 @@ static struct gdbarch_data *libunwind_descr_handle; #ifndef LIBUNWIND_SO -#define LIBUNWIND_SO "libunwind.so" +#define LIBUNWIND_SO libunwind_target_lib #endif /* Required function pointers from libunwind. */ @@ -83,6 +83,8 @@ static char *create_addr_space_name = STRINGIFY(UNW_OBJ(create_addr_space)); static char *search_unwind_table_name = STRINGIFY(UNW_OBJ(search_unwind_table)); static char *find_dyn_list_name = STRINGIFY(UNW_OBJ(find_dyn_list)); + +static char *libunwind_target_lib = "libunwind-" STRINGIFY(UNW_TARGET) ".so"; static struct libunwind_descr * libunwind_descr (struct gdbarch *gdbarch)