This is the mail archive of the 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

> Cc: Reid Kleckner <>,,
> From: Tom Tromey <>
> Date: Fri, 24 Jul 2009 13:18:30 -0600
> >>>>> "Eli" == Eli Zaretskii <> 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

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