you need to prime it with the environment:
SOFTHSM2_CONF=/etc/ipa/dnssec/softhsm2.conf KRB5_KTNAME=/etc/bind/named.keytab gdb --args named-pkcs11 -g -u bind
then the problem is that there are no debug symbols for named-pkcs11, not even in bind9-dbgsym and I've no idea why..
you need to prime it with the environment:
SOFTHSM2_ CONF=/etc/ ipa/dnssec/ softhsm2. conf KRB5_KTNAME= /etc/bind/ named.keytab gdb --args named-pkcs11 -g -u bind
then the problem is that there are no debug symbols for named-pkcs11, not even in bind9-dbgsym and I've no idea why..