On Sun, Aug 12, 2012 at 06:29:00PM +0200, Kurt Roeckx wrote:
+ const char *name = elf_strptr (ebl->elf, shstrndx,
shdr->sh_name);
- if (shdr != NULL && shdr->sh_type == SHT_PROGBITS)
+ if (ebl_debugscn_p(ebl, name) && shdr != NULL && shdr->sh_type
== SHT_PROGBITS)
You will have to check name != NULL since ebl_debugscn_p will just
crash when given NULL as name argument.
Cheers,
Mark