It's looking for a few specific locations and names:
ls -l /usr/local/bin/gdb*return? Also check
pkg info -l gdb, that command will show you which files are included in the package.
When did the kernel panic happen? While "pkg install gdb" was running?
At any other time, I would be very surprised if previously existing files vanished.