[PATCH/RFC] Fix compilation warning in breakpoint.c

Kevin Buettner kevinb@redhat.com
Fri Dec 12 21:53:00 GMT 2003

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.


More information about the Gdb-patches mailing list