From: Alexander Bokovoy Date: Thu, 23 Aug 2012 15:45:54 +0000 (+0300) Subject: gen_abi.sh: filter out symbols not needed for ABI X-Git-Tag: samba-4.0.0rc1~168 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c63dcc97b695ceab2bbd8f421f56b623b0d867a2;p=thirdparty%2Fsamba.git 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. --- diff --git a/buildtools/scripts/abi_gen.sh b/buildtools/scripts/abi_gen.sh index ed6f445519e..787718cb204 100755 --- a/buildtools/scripts/abi_gen.sh +++ b/buildtools/scripts/abi_gen.sh @@ -10,7 +10,7 @@ cat <