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 | 7f245d65f70913f51bfd1cb4f49822801ca6ecc9 (patch) | |
tree | 9e9606be98dc0fa2830b1d68e0a4000843da1c9f /gdb/bsd-kvm.c | |
parent | 70bd8e24cc5c2a4e6a17606fea19dd7e05bd4a22 (diff) | |
download | gdb-7f245d65f70913f51bfd1cb4f49822801ca6ecc9.zip gdb-7f245d65f70913f51bfd1cb4f49822801ca6ecc9.tar.gz gdb-7f245d65f70913f51bfd1cb4f49822801ca6ecc9.tar.bz2 |
* 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 79ab095..45ce561 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); |