summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2008-10-02 20:42:10 +0000
committerjhb <jhb@FreeBSD.org>2008-10-02 20:42:10 +0000
commit4c38b5e4739d43ec4869509a321b9fc07f90d336 (patch)
treeb482b6f215b0bbd515d42de9f8bd2044c235c3e0 /gnu
parente1e22b0e45dfe92142440205b31ab3529768ddde (diff)
downloadFreeBSD-src-4c38b5e4739d43ec4869509a321b9fc07f90d336.zip
FreeBSD-src-4c38b5e4739d43ec4869509a321b9fc07f90d336.tar.gz
Oops, initialize sections and sections_end to NULL.
Submitted by: Navdeep Parhar MFC after: 1 week
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gdb/kgdb/kld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/gdb/kgdb/kld.c b/gnu/usr.bin/gdb/kgdb/kld.c
index 2ce3808..716a67c 100644
--- a/gnu/usr.bin/gdb/kgdb/kld.c
+++ b/gnu/usr.bin/gdb/kgdb/kld.c
@@ -201,7 +201,7 @@ static void
load_kld (char *path, CORE_ADDR base_addr, int from_tty)
{
struct section_addr_info *sap;
- struct section_table *sections, *sections_end, *s;
+ struct section_table *sections = NULL, *sections_end = NULL, *s;
struct cleanup *cleanup;
bfd *bfd;
int i;
OpenPOWER on IntegriCloud