[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb
Subject:    Re: RFC: include mod time and size in DWARF file name table
From:       Tom Tromey <tromey () redhat ! com>
Date:       2013-01-15 17:51:37
Message-ID: 87bocqjpw6.fsf () fleche ! redhat ! com
[Download RAW message or body]

>>>>> "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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic