[PATCH] abi_gen.sh: ignore gdb customisations

Douglas Bagnall douglas.bagnall at catalyst.net.nz
Wed Jan 30 05:12:53 UTC 2019

If you have "set print pretty on" in your ~/.gdbinit, gdb shows you
structures nicely arranged with one attribute per line, which sometimes
helps. On the other hand, it causes `./configure.developer && make -j`
to fail with this kind of thing:

libtdb.so: symbol tdb_null has changed - please update major version
	old_signature: dptr = 0xXXXX, dsize = 0
	new_signature: $40 = {
libndr.so: symbol ndr_syntax_id_null has changed - please update major version
	old_signature: uuid = {time_low = 0, time_mid = 0, time_hi_and_version = 0, clock_seq = "\000", node = "\000\000\000\000\000"}, if_version = 0
	new_signature: $256 = {

until you do it again with --abi-check-disable.

We can tell just gdb not to look at .gdbinit in this case.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-abi_gen.sh-ignore-gdb-customisations-when-comparing-.patch
Type: text/x-patch
Size: 990 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20190130/75d1059d/0001-abi_gen.sh-ignore-gdb-customisations-when-comparing-.bin>

More information about the samba-technical mailing list