Fix for the ``gdb -k /nonexistent /dev/mem'' core dump.
Fix for the ``gdb -k /nonexistent /dev/mem'' core dump.

Submitted by:	gj@freebsd.org (Gary Jennejohn)

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase