https://sourceware.org/bugzilla/show_bug.cgi?id=28266

--- Comment #4 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Joel Rosdahl from comment #3)
Hi Joel, 
> Here is how to reproduce the issue:
> 
>     % cd /tmp
>     % echo 'int x;' >test.c
>     % /usr/bin/gcc -g -fdebug-prefix-map=/tmp=/example -c test.c
>     % objdump -W test.o 2>/dev/null | grep -E '/tmp|/example'
>         <16>   DW_AT_comp_dir    : (indirect line string, offset: 0x0):
> /example
>       0     (indirect line string, offset: 0x10): /tmp
>       1     (indirect line string, offset: 0x15): /example
>       0x00000000 2f657861 6d706c65 00746573 742e6300 /example.test.c.
>       0x00000010 2f746d70 002f6578 616d706c 65007465 /tmp./example.te

OK, well I cannot reproduce that behaviour, but I agree that it is wrong.
Do you have a suggested patch to fix the problem ?

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to