From owner-cvs-all@FreeBSD.ORG Fri Jun 24 00:50:19 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C85516A41F; Fri, 24 Jun 2005 00:50:19 +0000 (GMT) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63A9543D53; Fri, 24 Jun 2005 00:50:13 +0000 (GMT) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j5O0oD88095052; Fri, 24 Jun 2005 00:50:13 GMT (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j5O0oDCV095051; Fri, 24 Jun 2005 00:50:13 GMT (envelope-from peter) Message-Id: <200506240050.j5O0oDCV095051@repoman.freebsd.org> From: Peter Wemm Date: Fri, 24 Jun 2005 00:50:13 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/gnu/usr.bin/gdb/kgdb main.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2005 00:50:19 -0000 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