abi_gen.sh: ignore gdb customisations when comparing signatures
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 30 Jan 2019 04:58:11 +0000 (17:58 +1300)
committerAndreas Schneider <asn@cryptomilk.org>
Sat, 2 Feb 2019 19:19:05 +0000 (20:19 +0100)
If a .gdbinit file says "set print pretty on", the signatures are printed over
several lines, and the abi_check fails. So let's ignore .gdbinit files.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Sat Feb  2 20:19:05 CET 2019 on sn-devel-144

buildtools/scripts/abi_gen.sh

index 787718cb204ce6343036d420b680c2e43407f948..6dd6d321f7756895c63f2c41886ca908962f5236 100755 (executable)
@@ -17,5 +17,5 @@ done
 ) > $GDBSCRIPT
 
 # forcing the terminal avoids a problem on Fedora12
-TERM=none gdb -batch -x $GDBSCRIPT "$SHAREDLIB" < /dev/null
+TERM=none gdb -n -batch -x $GDBSCRIPT "$SHAREDLIB" < /dev/null
 rm -f $GDBSCRIPT