status on gdb-7.4 release...

Ralf Corsepius ralf.corsepius@rtems.org
Thu Dec 22 08:05:00 GMT 2011


On 12/22/2011 08:25 AM, Joel Brobecker wrote:
>> gdb-7.3.91 installs $(includedir)/gdb/jit-reader.h
>> No idea what this is, why gdb does so and what it would be useful for.
>> To me it looks like a header without a corresponding library.
> Thanks.
>
> I don't know all the details, but this is the API that programs
> should use if they want to provide their own reader for JIT
> debug information. There is no need for a corresponding library
> as far as I know. See:
> http://www.sourceware.org/gdb/current/onlinedocs/gdb/JIT-Interface.html#JIT-Interface
>
OK, then ... wouldn't it be better to install this header into a 
versioned directory, say

$(includedir)/gdb-$(GDB_VERSION)
or
$(includedir)/gdb/$(GDB_VERSION)
?

Otherwise this file will conflict with other gdbs' versions of this file when having different versions of gdb installed in parallel[1] and should this file change in future versions of gdb.

Ralf

[1] I am building cross-gdbs to be installed in parallel to a system's native gdb and other cross-gdbs.




More information about the Gdb-patches mailing list