https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83906
Pedro Alves <palves at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |palves at redhat dot com --- Comment #10 from Pedro Alves <palves at redhat dot com> --- GDB starts inferiors with ASLR disabled by default: (gdb) show disable-randomization Disabling randomization of debuggee's virtual address space is on. so if this is ASLR, it's going to be ASLR of the gdb process. Which sounds consistent with Jonathan's finding.