This is the mail archive of the gdb@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: RFC: include mod time and size in DWARF file name table


>>>>> "Martin" == Martin Runge <martin.runge@web.de> writes:

Martin> Imagine an executable that uses a library. The executable is not
Martin> changed very often, but the library is rebuild every day. If the
Martin> library's interface (defined in a header file included by both)
Martin> changes, you get a process (the executable with the library loaded)
Martin> that knows two versions of the things defined in that header file. How
Martin> can this be detected, once the wrong build messed things up?

I would suggest writing a tool to check the ABI using the debuginfo.
Then you can compare types between the executable and the library.
There are already some ABI checkers out there, maybe one would suit your
purposes.

Tom


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