along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: kcorelow.c,v 1.1.1.1 1995/10/18 08:40:01 deraadt Exp $
+ $Id: kcorelow.c,v 1.2 1996/05/06 11:27:24 deraadt Exp $
*/
#ifdef KERNEL_DEBUG
old_chain = make_cleanup (free, filename);
- core_kd = kvm_open (NULL, filename, NULL,
+ core_kd = kvm_open (bfd_get_filename(exec_bfd), filename, NULL,
write_files? O_RDWR: O_RDONLY, 0);
if (core_kd == NULL)
perror_with_name (filename);