Patch: Handle relative paths in .debug_line

Bryce McKinlay mckinlay@redhat.com
Fri Jul 23 23:54:00 GMT 2004


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?

Regards

Bryce


-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb-subfile-compdir-2.patch
Type: text/x-patch
Size: 3618 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20040723/fb1c38d8/attachment.bin>


More information about the Gdb-patches mailing list