2 # generate a set of ABI signatures from a shared library
6 GDBSCRIPT
="gdb_syms.$$"
13 nm
"$SHAREDLIB" | cut
-d' ' -f2- |
egrep '^[BDGTRVWS]' |
grep -v @ |
egrep -v ' (__bss_start|_edata|_init|_fini|_end)' | cut
-c3- |
sort |
while read s
; do
19 # forcing the terminal avoids a problem on Fedora12
20 TERM
=none gdb
-n -batch -x $GDBSCRIPT "$SHAREDLIB" < /dev
/null