This is the mail archive of the gdb@sources.redhat.com 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]

Re: Bug in dwarf2out.c:output_file_names()


Mark Kettenis <kettenis@wins.uva.nl> writes:

>   idx_offset = dirs[0].length > 0 ? 1 : 0;
> 
> work?  It seems to do so for me, although I didn't run the testsuite.
> A patch is attached, feel free to use it.

I think the patch is correct.  The sorting function ensures that all
entries without a directory part come first and this test is there to
check for these entries.  But some gcc person has to say it's OK, too.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

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