This is the mail archive of the gdb-patches@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]
Other format: [Raw text]

Re: Patch: Handle relative paths in .debug_line


Bryce McKinlay <mckinlay@redhat.com> writes:

> Jim Blandy wrote:
> 
> >Thanks for this patch!
> >
> >In the revised dwarf2_start_subfile:
> >
> >- It looks to me as if the new code doesn't handle the case where both
> >  dirname and comp_dir are null.
> >
> >- It seems to me that, when fullname == filename, the loop over the
> >  subfiles duplicates the loop at the top of start_subfile.  So that
> >  loop should remain conditional.  Its comment should be moved and
> >  adjusted, too.
> >
> >
> Here's a revised patch that should address this. OK to commit?

Almost --- dwarf2_start_subfile still passes comp_dir to concat
without checking whether it's NULL.


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