This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC][PATCH] Allow JIT unwinder provide symbol information


On Tue, Apr 29, 2014 at 8:22 AM, Pedro Alves <palves@redhat.com> wrote:
> But it doesn't actually provide symbol information.  Not in the sense
> that it hooks with GDB's symbol lookup mechanisms.
I cannot find a better way to hook into GDB symbols lookup machinery.
It looks to me that GDB is operating on assumption that symbol information
is static (except for shared objects loading), and it not frame-specific.
The code emitted by JIT does not conform to these assumptions.
IMHO what I am proposing has the beginnings of the approach to
overcome this difficulty by allowing unwinder to have its own symbol handler.
It this approach looks reasonable, obviously more changes are needed,
but I'd like to have a confirmation that the approach is reasonable.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]