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: [RFA] Add interface for registering JITed code


On Sat, Jul 25, 2009 at 12:26 AM, Eli Zaretskii<eliz@gnu.org> wrote:
>> >>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:
>>
>> Eli> Unfortunately, the NEWS entry is not instrumental enough. ?It doesn't
>> Eli> tell the user how to use the feature. ?Is it possible to come up with
>> Eli> a more useful entry?
>>
>> I think the NEWS entry is fine. ?The feature works automatically. ?Users
>> need do nothing.
>
> Maybe that is true, but the text as written left me wondering whether
> I do need to do something to get that working.
>
> ? ?+* GDB now has an interface for JIT compilation. ?Applications that
> ? ?+dynamically generate code can create object files with debug info in
> ? ?+memory and register them with GDB. ?The interface also supports
> ? ?+attaching to a running process.
>
> The second sentence begs 2 questions: (1) how does one write or
> compile or otherwise get hold of such applications, and (2) how does
> one register object files with GDB.
>
> Granted, a NEWS entry is not a place for long explanations (if they
> are long), but without any pointers to the manual or at least some Web
> site, I couldn't figure out how to go about adding this feature to my
> workflow.

Here is an updated patch with a new manual chapter.  It has the
necessary struct definitions that the client should include, and step
by step instructions for what to do.  I'd appreciate if someone could
review the writing and my texinfo, though.  I mentioned the manual
chapter in the NEWS entry, since the explanation of how it works is
long.

What else needs to be addressed?

Thanks,
Reid

Attachment: jit-patch.txt
Description: Text document


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