Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gdb/dist/gdb - fix missing argument
details: https://anonhg.NetBSD.org/src/rev/d54a91ad4780
branches: trunk
changeset: 769893:d54a91ad4780
user: christos <christos%NetBSD.org@localhost>
date: Sun Sep 25 20:25:08 2011 +0000
description:
- fix missing argument
- expose struct lwp by #define _KMEMUSER
diffstat:
external/gpl3/gdb/dist/gdb/bsd-kvm.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r f5c40ea42cba -r d54a91ad4780 external/gpl3/gdb/dist/gdb/bsd-kvm.c
--- a/external/gpl3/gdb/dist/gdb/bsd-kvm.c Sun Sep 25 20:23:51 2011 +0000
+++ b/external/gpl3/gdb/dist/gdb/bsd-kvm.c Sun Sep 25 20:25:08 2011 +0000
@@ -37,6 +37,7 @@
#include <paths.h>
#include "readline/readline.h"
#include <sys/param.h>
+#define _KMEMUSER
#include <sys/proc.h>
#include <sys/user.h>
@@ -238,7 +239,7 @@
if (kvm_read (core_kd, nl[0].n_value, &paddr, sizeof paddr) == -1)
error (("%s"), kvm_geterr (core_kd));
- bsd_kvm_fetch_pcb (paddr);
+ bsd_kvm_fetch_pcb (regcache, paddr);
return;
}
#endif
Home |
Main Index |
Thread Index |
Old Index