/usr/share/gdm/gdb-cmd is in gdm3 3.18.3-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3
bt thread apply all bt full q