This is the mail archive of the gdb-patches@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: [PATCH/RFC] Fix compilation warning in breakpoint.c


On Dec 11,  2:45pm, Mark Kettenis wrote:

> The newest GCC complains about us passing NULL as one of the arguments
> to strcmp().  This patch fixes the problem.  It's similar to what we
> do for SOLIB_LOADED_LIBRARY_PATHNAME.  I wonder whether is would be
> better to get rid of these definitions in solib.h altogether, and rely
> on the defaults in breakpoint.h.  Thoughts?

I think it makes sense to remove the solib.h definitions that
breakpoint.h already provides defaults for.  If you want to do this,
consider the solib.h changes to be preapproved.

Kevin


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