[PATCH] abi_gen.sh: ignore gdb customisations

Andreas Schneider asn at samba.org
Sat Feb 2 16:02:13 UTC 2019


On Wednesday, 30 January 2019 20:26:27 CET Andreas Schneider via samba-
technical wrote:
> On Wednesday, January 30, 2019 6:12:53 AM CET Douglas Bagnall via samba-
> 
> technical wrote:
> > 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.
> 
> I have this disabled by default because I'm mostly using:
> 
> https://github.com/cyrus-and/gdb-dashboard
> 
> However I think the right way would be to call gdb with '-nx':
> 
>        -nx
>        -n  Do not execute commands from any .gdbinit initialization files.
> 
> This way gdb would ignore and gdb init files and we always would get the
> bare gdb output!

Ah, sorry that's what you're doing. RB+ and pushed to autobuild






More information about the samba-technical mailing list