From owner-cvs-all@FreeBSD.ORG Thu Apr 3 18:46:56 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3998D1065670; Thu, 3 Apr 2008 18:46:56 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0C8E98FC13; Thu, 3 Apr 2008 18:46:56 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m33Ikt8b001712; Thu, 3 Apr 2008 18:46:55 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m33Ikq4d001711; Thu, 3 Apr 2008 18:46:52 GMT (envelope-from jhb) Message-Id: <200804031846.m33Ikq4d001711@repoman.freebsd.org> From: John Baldwin Date: Thu, 3 Apr 2008 18:46:51 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/gnu/usr.bin/gdb/kgdb kld.c 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: Thu, 03 Apr 2008 18:46:56 -0000 jhb 2008-04-03 18:46:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) gnu/usr.bin/gdb/kgdb kld.c main.c Log: MFC: Initialize list of kld's correctly when there are no kld's and catch errors in kgdb_parse() so it returns 0 for invalid expressions. This fixes the kld loading for 6.x and 7.x. Revision Changes Path 1.6.2.2 +1 -0 src/gnu/usr.bin/gdb/kgdb/kld.c 1.11.2.2 +9 -6 src/gnu/usr.bin/gdb/kgdb/main.c