This is the mail archive of the gdb@sources.redhat.com 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: Suggestion: Detect inconsistent structure definitions


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


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