This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Patch: Handle relative paths in .debug_line
- From: Jim Blandy <jimb at redhat dot com>
- To: Bryce McKinlay <mckinlay at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: 23 Jul 2004 16:12:09 -0500
- Subject: Re: Patch: Handle relative paths in .debug_line
- References: <41004E5D.5020403@redhat.com>
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.