This is the mail archive of the insight@sourceware.org mailing list for the Insight 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] |
I've been experiencing issues with Insight compiled via MinGW under Windows where the user cannot set breakpoints via the source window under certain circumstances. The culprit appears to be a failure to wrap the filename in quotes when passing it to gdb. Normally this isn't a problem, but when a space is present in the full path name, as is so common on Windows, the breakpoint fails to be set. I've attached a simple patch below that shouldn't have any detrimental side effects on other OSes.
From Jeffrey Armstrong <jeffrey.armstrong@approximatrix.com>: * library/srctextwin.itb (lookup_line): Quote the filename to gdb_set_bp.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |