[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libunwind] Re: multiple dynamic list-info addresses?
From: |
David Mosberger |
Subject: |
[libunwind] Re: multiple dynamic list-info addresses? |
Date: |
Mon, 29 Mar 2004 15:40:36 -0800 |
>>>>> On Mon, 29 Mar 2004 17:03:29 -0600 (CST), Todd L Miller <address@hidden>
>>>>> said:
Todd> However, I had some trouble forcing _any_ dynamic list-info
Todd> addresses to show up in the remote process, so I'm wondering
Todd> if I did it wrong. What I ended up having to do was copying
Todd> global-asm-ia64.S, compiling it, and adding the following
Todd> lines to a source file in a library I load into the remote
Todd> process anyway:
Todd> #include <libunwind.h>
Todd> __attribute__((visibility ("hidden"))) unw_dyn_info_list_t
_U_dyn_info_list;
Todd> I then linked the library as normal, excepting the additional
Todd> global-asm-ia64.o file at the end.
Todd> Is there a recommended procedure?
That's not good. There should be one and only one place where the
dynamic unwind-info list is defined and that's in libunwind.so (if you
work off of the BK sources; for 0.96, it would be libunwind-ia64.so).
Of course, if your app doesn't link against libunwind, then you'll
never the the list defined. In your case, I suppose it would be
easiest is you could force a load of libunwind. Perhaps LD_PRELOAD.
--david
- Re: [libunwind] unwinding through dynamically modified code?, (continued)
- Re: [libunwind] unwinding through dynamically modified code?, David Mosberger, 2004/03/15
- Re: [libunwind] unwinding through dynamically modified code?, Todd L Miller, 2004/03/24
- Re: [libunwind] unwinding through dynamically modified code?, David Mosberger, 2004/03/25
- Re: [libunwind] unwinding through dynamically modified code?, Todd L Miller, 2004/03/25
- Re: [libunwind] unwinding through dynamically modified code?, David Mosberger, 2004/03/25
- Re: [libunwind] unwinding through dynamically modified code?, Todd L Miller, 2004/03/25
- Re: [libunwind] unwinding through dynamically modified code?, David Mosberger, 2004/03/25
- Re: [libunwind] unwinding through dynamically modified code?, Todd L Miller, 2004/03/26
- Re: [libunwind] unwinding through dynamically modified code?, David Mosberger, 2004/03/26
- [libunwind] multiple dynamic list-info addresses?, Todd L Miller, 2004/03/29
- [libunwind] Re: multiple dynamic list-info addresses?,
David Mosberger <=
- [libunwind] Re: multiple dynamic list-info addresses?, Todd L Miller, 2004/03/30
- [libunwind] Re: multiple dynamic list-info addresses?, David Mosberger, 2004/03/30
- [libunwind] Re: multiple dynamic list-info addresses?, Todd L Miller, 2004/03/31
- [libunwind] Re: multiple dynamic list-info addresses?, David Mosberger, 2004/03/31
- [libunwind] Re: multiple dynamic list-info addresses?, Todd L Miller, 2004/03/31
Re: [libunwind] unwinding through dynamically modified code?, Todd L Miller, 2004/03/23
Message not availableMessage not availableRe: [libunwind] unwinding through dynamically modified code?, Todd L Miller, 2004/03/24