When analyzing core on different machine, that binary was built for I ran into:
warning: .dynamic section for "/lib64/libc.so.6" is not at the expected address (wrong library or version mismatch?)
Is there a way to change which libc gdb is looking for?