[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#668437: lintian: Identify -dbg packages that have binaries with no debugging symbols



Hi!

On Mon, Oct 22, 2012 at 12:01 PM, Niels Thykier <niels@thykier.net> wrote:
> Did you by chance mean "cut -b 8" or so.  By the looks of it 18 cuts
> into the symbol/section/$something name.  I assume the "N" you are
> talking about would be:
>
>          |
>          v
> 00000000 N .debug_abbrev
> 00000000 N .debug_aranges
> 00000000 N .debug_frame
> 00000000 N .debug_info
> 00000000 N .debug_line
> 00000000 N .debug_loc
> 00000000 N .debug_pubnames
> 00000000 N .debug_str
>          ^
>          |

It's 18 here:

0000000000000000 N .debug_abbrev
0000000000000000 N .debug_aranges
0000000000000000 N .debug_info

> If so, we should be able to simply check for the presence of any section
> starting with ".debug_" (or maybe just ".debug_line", which supposedly
> holds the line number mappings)[1].

But indeed. Better check for .debug_*

Thank you!

Best regards,
Nelson


Reply to: