This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 5/6] New JIT unwinder.
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> Couldn't GDB just export these functions to the plugin without
Jan> having to use the callbacks vector? Python does so, libthread_db
Jan> does so (see proc-service.list).
Mark> I'd say that's a bad idea. The --dynamic-list linker option isn't
Mark> uniformly available, and even -rdynamic may not work everywehere.
Jan> But neither glibc libthread_db nor Python works there. But it is
Jan> true I heard some platforms have problems creating libraries with
Jan> referenced unresolved by any other library.
I think the proposed approach is more flexible, since it lets us more
easily mess with renames and API version changes while keeping
compatibility; while I don't think there are definite advantages to the
libthread_db approach.
Tom