From owner-cvs-all@FreeBSD.ORG Sat Mar 29 17:46:03 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 906621065672; Sat, 29 Mar 2008 17:46:03 +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 666598FC1D; Sat, 29 Mar 2008 17:46:03 +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 m2THk3m8068511; Sat, 29 Mar 2008 17:46:03 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2THk3g2068510; Sat, 29 Mar 2008 17:46:03 GMT (envelope-from jhb) Message-Id: <200803291746.m2THk3g2068510@repoman.freebsd.org> From: John Baldwin Date: Sat, 29 Mar 2008 17:46:03 +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: Sat, 29 Mar 2008 17:46:03 -0000 jhb 2008-03-29 17:46:03 UTC FreeBSD src repository Modified files: gnu/usr.bin/gdb/kgdb main.c Log: Change kgdb_parse() to use wrapped versions of parse_expression() and evaluate_expression() so that any errors are caught and cause the function to return to 0. Otherwise the errors posted an exception (via longjmp()) that aborted the current operation. This fixes the kld handling for older kernels (6.x and 7.x) that don't have the full pathname stored in the kernel linker. MFC after: 3 days Revision Changes Path 1.15 +9 -6 src/gnu/usr.bin/gdb/kgdb/main.c