diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2019-01-30 17:58:11 +1300 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-02-02 20:19:05 +0100 |
commit | 63f4fb615d6738abd38f129882a3c40fdab8d3d3 (patch) | |
tree | 9fb72d6b769f2a9688d58a34f84481a547f3aaa0 /buildtools | |
parent | 6a77237c50dd258521f356af0b5dc9942dd5592e (diff) | |
download | samba-63f4fb615d6738abd38f129882a3c40fdab8d3d3.tar.gz |
abi_gen.sh: ignore gdb customisations when comparing signatures
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
Diffstat (limited to 'buildtools')
-rwxr-xr-x | buildtools/scripts/abi_gen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/scripts/abi_gen.sh b/buildtools/scripts/abi_gen.sh index 787718cb204..6dd6d321f77 100755 --- a/buildtools/scripts/abi_gen.sh +++ b/buildtools/scripts/abi_gen.sh @@ -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 |