aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-07-03 13:17:33 +0000
committerMark Kettenis <kettenis@gnu.org>2004-07-03 13:17:33 +0000
commitfdb1bf9d273f0072db56e3d783c6db653122b8d0 (patch)
tree9e9f7a650beda391abe25214b9fbf5fe910fe742
parent963c417494944f9323ca7d72eb56572844b63510 (diff)
downloadbinutils-fdb1bf9d273f0072db56e3d783c6db653122b8d0.zip
binutils-fdb1bf9d273f0072db56e3d783c6db653122b8d0.tar.gz
binutils-fdb1bf9d273f0072db56e3d783c6db653122b8d0.tar.bz2
* bsd-kvm.c (bsd_kvm_cmdlist): Remove unecessary initialization.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/bsd-kvm.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cc9330a..9817a2d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2004-07-03 Mark Kettenis <kettenis@gnu.org>
+ * bsd-kvm.c (bsd_kvm_cmdlist): Remove unecessary initialization.
+
+2004-07-03 Mark Kettenis <kettenis@gnu.org>
+
* bsd-kvm.c: Include "cli/cli-cmds.h", "command.h", "value.h" and
<sys/proc.h>.
(bsd_kvm_cmdlist): New variable.
diff --git a/gdb/bsd-kvm.c b/gdb/bsd-kvm.c
index 3ed57d6..79ab095 100644
--- a/gdb/bsd-kvm.c
+++ b/gdb/bsd-kvm.c
@@ -206,7 +206,7 @@ bsd_kvm_fetch_registers (int regnum)
/* Kernel memory interface commands. */
-struct cmd_list_element *bsd_kvm_cmdlist = NULL;
+struct cmd_list_element *bsd_kvm_cmdlist;
static void
bsd_kvm_cmd (char *arg, int fromtty)