From: Nathan J. Williams Date: Sat, 7 Aug 2004 21:22:41 +0000 (+0000) Subject: * bsd-kvm.c: Include "gdbcore.h" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f245d65f70913f51bfd1cb4f49822801ca6ecc9;p=binutils-gdb.git * bsd-kvm.c: Include "gdbcore.h" (bsd_kvm_open): Use get_exec_file() to set 'execfile'. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index db8f96e6718..a19c0a70790 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-08-07 Nathan J. Williams + + * bsd-kvm.c: Include "gdbcore.h" + (bsd_kvm_open): Use get_exec_file() to set 'execfile'. + 2004-08-07 Andrew Cagney * gdbtypes.c (build_flt, build_complex): New functions. 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 @@ -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);