diff options
author | Nathan J. Williams <nathanw@wasabisystems.com> | 2004-08-07 21:22:41 +0000 |
---|---|---|
committer | Nathan J. Williams <nathanw@wasabisystems.com> | 2004-08-07 21:22:41 +0000 |
commit | df0e15e8acab446c0ac57bca273e58ef5b124f26 (patch) | |
tree | d7d885ad6303a07b96c4a26bee759a73e3483456 /gdb/bsd-kvm.c | |
parent | b958f2952999a986dee57391d7b9b90b843cfae5 (diff) | |
download | gdb-df0e15e8acab446c0ac57bca273e58ef5b124f26.tar.gz |
* bsd-kvm.c: Include "gdbcore.h"
(bsd_kvm_open): Use get_exec_file() to set 'execfile'.
Diffstat (limited to 'gdb/bsd-kvm.c')
-rw-r--r-- | gdb/bsd-kvm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c index 79ab09505f6..45ce5619516 100644 --- a/gdb/bsd-kvm.c +++ b/gdb/bsd-kvm.c @@ -26,6 +26,7 @@ #include "regcache.h" #include "target.h" #include "value.h" +#include "gdbcore.h" /* for get_exec_file */ #include "gdb_assert.h" #include <fcntl.h> @@ -73,6 +74,7 @@ bsd_kvm_open (char *filename, int from_tty) } } + execfile = get_exec_file (0); temp_kd = kvm_openfiles (execfile, filename, NULL, O_RDONLY, errbuf); if (temp_kd == NULL) error ("%s", errbuf); |