GDB crash with empty executable name (MinGW).
authorJoel Brobecker <brobecker@gnat.com>
Fri, 8 Jan 2010 13:54:40 +0000 (13:54 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Fri, 8 Jan 2010 13:54:40 +0000 (13:54 +0000)
commitf91e5ac34e150aeb5030c1005a510a231449c33c
treeb5fd1ec7d001b8d3f486ab84d66a480cd7db4f3a
parent2de75e717cf6e60bcaf9ec42e92bb6a9d43d96d5
GDB crash with empty executable name (MinGW).

        * source.c (openp): Add assert that parameter string is not NULL.
        if parameter string is an empty string, then return with a failure
        immediately.
gdb/ChangeLog
gdb/source.c