[RFC] make handling of input path vs subfile path consistent

Doug Evans dje@google.com
Sat Jan 5 22:33:00 GMT 2008


Hi.  There's something I don't understand.  Why does start_subfile not
prepend dirname to name if the latter is not absolute?  Since
name,dirname are added to the subfile list if there isn't a match and
then will later be used to do matches, it seems like we want to
prepend dirname to the input name before doing FILENAME_CMP.

Am I missing something?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb-080105-start-subfile-1.patch
Type: application/octet-stream
Size: 2032 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20080105/1c78bb10/attachment.obj>


More information about the Gdb-patches mailing list