Re: [patch] GDB 7.2: new feature for "backtrace" that cuts path to file (remain filename)

Jan Kratochvil
2012-03-25T19:31:23Z

On Sun, 25 Mar 2012 21:26:50 +0200, iam ahal wrote:
> Quite frankly, I don't know how exactly make records like this:

I also do not. Any known versions of GCC do not produce such
DW_AT_name+DW_AT_comp_dir. Why you have then created a patch for this
specific DW_AT_name+DW_AT_comp_dir case?

> <11> DW_AT_name : (indirect string, offset: 0x1e): /home/username/contrib/test/prog.c
> <15> DW_AT_comp_dir : (indirect string, offset: 0x0): /home/username/contrib/
>
> Jan Kratochvil:
>
> Where I can see 'dw2-dir-file-name.exp'? I didn't find this file.

I have posted it in the testcase patch:
http://sourceware.org/ml/gdb-patches/2012-03/msg00583.html

Thanks,
Jan