This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Add interface for registering JITed code
Em Quinta-feira 30 Julho 2009 12:12:50 Tom Tromey escreveu:
> >>>>> "Reid" == Reid Kleckner <rnk@mit.edu> writes:
>
> Tom> Yeah. This would work if you had two JITs in a process, say loaded
> Tom> dynamically, and the various __jit symbols had hidden visibility.
>
> Reid> I think if someone has that use case, then they can write a client
> Reid> side library that wraps the __jit symbols and make the two JITs call
> Reid> that.
>
> Yeah, I changed my mind, let's not worry about it. If it ever comes up,
> we can deal with it then without breaking compatibility.
If/when someone wants to add another scripting language to GDB, we will be
bitten by this issue. I can see that happening already. :-)
You're saying that the current patch is extensible to deal with that?
Also, changing subjects: it is important that this feature works on core files,
or at least is forward-compatible with such a feature. I think this needs to
be thought through before the patch goes in.
Apologies if any of this has already been answered on the thread or is obvious
to people who have been involved in the thread since the beginning.
--
[]'s
Thiago Jung Bauermann