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] GDB crash with empty executable name (MinGW)


>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

Joel> 2009-01-02  Joel Brobecker  <brobecker@adacore.com>
Joel>         * source.c (openp): Add assert that parameter string is not NULL.
Joel>         if parameter string is an empty string, then return with a failure
Joel>         immediately.

Joel> Anyone in favor?

I think it would be fine, but I would recommend putting some info into
the comment explaining why this check was added... just some detail from
your original note.

Tom


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