(bsd_kvm_open): Use get_exec_file() to set 'execfile'.
+2004-08-07 Nathan J. Williams <nathanw@wasabisystems.com>
+
+ * bsd-kvm.c: Include "gdbcore.h"
+ (bsd_kvm_open): Use get_exec_file() to set 'execfile'.
+
2004-08-07 Andrew Cagney <cagney@gnu.org>
* gdbtypes.c (build_flt, build_complex): New functions.
#include "regcache.h"
#include "target.h"
#include "value.h"
+#include "gdbcore.h" /* for get_exec_file */
#include "gdb_assert.h"
#include <fcntl.h>
}
}
+ execfile = get_exec_file (0);
temp_kd = kvm_openfiles (execfile, filename, NULL, O_RDONLY, errbuf);
if (temp_kd == NULL)
error ("%s", errbuf);