On Wed, 12 Dec 2018 at 11:03:24 EET Christophe Lyon wrote: > And just noticed it causes a failure to build GDB for x86_64: > gdb-8.1-release/gdb/nat/linux-ptrace.c: In function 'void > linux_ptrace_init_warnings()': > gdb-8.1-release/gdb/nat/linux-ptrace.c:149:23: error: Stack Pointer > register clobbered by '%rsp' in 'asm' > 149 | : "%rsp", "memory"); > > | ^ > > Makefile:1640: recipe for target 'linux-ptrace.o' failed > > I didn't check if the GDB code is legitimate though....
Sorry about this. I had checked the Linux x86 kernel for SP clobbers, but forgot that GDB could also use such magic. I'll try to fix it and send a patch to GDB. It will likely take me a few days, so I hope that this breakage is not considered a P0 bug. Regards, Dimitar