Suggestion: Detect inconsistent structure definitions

Daniel Jacobowitz drow@mvista.com
Wed Mar 13 16:02:00 GMT 2002


On Wed, Mar 13, 2002 at 01:41:16PM -0500, Kris Warkentin wrote:
> Seems to me that the linker should be able to detect this problem as
> well....It uses the debug information for error reporting.  The problem here

No, the linker uses symbol information.  It does -not- read debug info.

> is not so much the definitions of the structures but the reference to a
> variable defined in another object which has a different definition.

That's just a specific case of the problem Zack is describing, really.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb mailing list