gen_abi.sh: filter out symbols not needed for ABI
authorAlexander Bokovoy <ab@samba.org>
Thu, 23 Aug 2012 15:45:54 +0000 (18:45 +0300)
committerAlexander Bokovoy <ab@samba.org>
Fri, 7 Sep 2012 10:31:42 +0000 (12:31 +0200)
commitc63dcc97b695ceab2bbd8f421f56b623b0d867a2
treecd98d0371bb2ad0976f7fe19ab2e7bd78e5b5e15
parent6b2e7aabb79f7825568985a9138394dee06b76de
gen_abi.sh: filter out symbols not needed for ABI

gdb does not allow to print definitions of certain section names
and special symbols used for dynamic loading machinery:

__bss_start
_edata
_init
_fini
_end

Please note the space before the pattern, it is needed to avoid
hungry matches of valid symbols with these as substrings (foo_init,
for example).

Without this patch gdb on Fedora 18 breaks when attempting to print
function and struct signature.
buildtools/scripts/abi_gen.sh