diff options
author | jhb <jhb@FreeBSD.org> | 2008-10-02 20:42:10 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2008-10-02 20:42:10 +0000 |
commit | 4c38b5e4739d43ec4869509a321b9fc07f90d336 (patch) | |
tree | b482b6f215b0bbd515d42de9f8bd2044c235c3e0 | |
parent | e1e22b0e45dfe92142440205b31ab3529768ddde (diff) | |
download | FreeBSD-src-4c38b5e4739d43ec4869509a321b9fc07f90d336.zip FreeBSD-src-4c38b5e4739d43ec4869509a321b9fc07f90d336.tar.gz |
Oops, initialize sections and sections_end to NULL.
Submitted by: Navdeep Parhar
MFC after: 1 week
-rw-r--r-- | gnu/usr.bin/gdb/kgdb/kld.c | 2 |
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; |