This is the mail archive of the gdb-patches@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] Clarify shared library warning


> > > > warning: .dynamic section for "/lib/libc.so.6" is not at the expected
> > > > address
> > > > warning: the wrong version of the shared library may have been found
> > > 
> > > Such a change is a good idea, I think.
> > > 
> > > We could make it shorter, though:
> > > 
> > >   warning: .dynamic section for "/lib/libc.so.6" is not at the expected
> > >            address (wrong version of the shared library?)
> > 
> > I like the change too, but I prefer Daniel's version. I find it much
> > clearer.
> 
> Actually, I like Eli's version better, myself.  If you find the longer
> one clearer, could you try to explain why?

I find yours clearer because it tells the user that it is GDB that
finds the shared library, so there should be a way to tell GDB how
to find the correct one.

Perhaps "wrong version of the shared library found?", or perhaps
"wrong shared library found?" ?

-- 
Joel


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