diff options
author | 1996-05-06 11:27:24 +0000 | |
---|---|---|
committer | 1996-05-06 11:27:24 +0000 | |
commit | 080043b7046601ed48bf99798a722d80218fbf05 (patch) | |
tree | 7fd0e2368f54020fa3754a73477e3d7e3722d4bb | |
parent | fix typos; netbsd pr#2376; from beal@umiacs.UMD.EDU (diff) | |
download | wireguard-openbsd-080043b7046601ed48bf99798a722d80218fbf05.tar.xz wireguard-openbsd-080043b7046601ed48bf99798a722d80218fbf05.zip |
gdb -k did not call kvm_open() with correct pathname; netbsd pr#2375; from mhitch@gemini.oscs.montana.edu
-rw-r--r-- | gnu/usr.bin/gdb/gdb/kcorelow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/gdb/gdb/kcorelow.c b/gnu/usr.bin/gdb/gdb/kcorelow.c index 9e8dcbad0c3..b3d3f640f9a 100644 --- a/gnu/usr.bin/gdb/gdb/kcorelow.c +++ b/gnu/usr.bin/gdb/gdb/kcorelow.c @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License 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 @@ -180,7 +180,7 @@ kcore_open (filename, from_tty) 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); |