Date: Fri, 24 Jun 2005 00:50:13 +0000 (UTC) From: Peter Wemm <peter@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/gnu/usr.bin/gdb/kgdb main.c Message-ID: <200506240050.j5O0oDCV095051@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 2005-06-24 00:50:13 UTC FreeBSD src repository Modified files: gnu/usr.bin/gdb/kgdb main.c Log: kvm_openfiles() uses the supplied buffer for storing error messages in future calls, so we can't free it here. The right place to free the buffer would be to be after kvm_close(), but we don't do that yet. A static buffer would work too. Reviewed by: marcel (who has other plans for this anyway) Approved by: re Revision Changes Path 1.7 +0 -1 src/gnu/usr.bin/gdb/kgdb/main.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506240050.j5O0oDCV095051>