Date: Tue, 2 Mar 2010 18:38:00 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r204592 - stable/8/gnu/usr.bin/gdb/kgdb Message-ID: <201003021838.o22Ic0OP009924@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avg Date: Tue Mar 2 18:38:00 2010 New Revision: 204592 URL: http://svn.freebsd.org/changeset/base/204592 Log: MFC r203823: kgdb: initialize n_type field of nlist entry for kvm_nlist Modified: stable/8/gnu/usr.bin/gdb/kgdb/kthr.c Directory Properties: stable/8/gnu/usr.bin/gdb/kgdb/ (props changed) Modified: stable/8/gnu/usr.bin/gdb/kgdb/kthr.c ============================================================================== --- stable/8/gnu/usr.bin/gdb/kgdb/kthr.c Tue Mar 2 17:40:48 2010 (r204591) +++ stable/8/gnu/usr.bin/gdb/kgdb/kthr.c Tue Mar 2 18:38:00 2010 (r204592) @@ -58,6 +58,7 @@ kgdb_lookup(const char *sym) { struct nlist nl[2]; + nl[0].n_type = N_UNDF; nl[0].n_name = (char *)(uintptr_t)sym; nl[1].n_name = NULL; if (kvm_nlist(kvm, nl) != 0)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003021838.o22Ic0OP009924>