From owner-svn-ports-head@freebsd.org Mon Jan 11 17:39:48 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8DE72A65F40; Mon, 11 Jan 2016 17:39:48 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pa0-x232.google.com (mail-pa0-x232.google.com [IPv6:2607:f8b0:400e:c03::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 625CA12CB; Mon, 11 Jan 2016 17:39:48 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pa0-x232.google.com with SMTP id cy9so324540983pac.0; Mon, 11 Jan 2016 09:39:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:reply-to:subject:references:to:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=MmVUwpVMj1V5dtQlabbI8RSg2UrVAJaae4MIWrl01a4=; b=qnYnAUhiP/tY6p08T7cixH84D9msakTPuPs1bkRUtvC/W4cqw5tBjfE8rig9x6CV3D sevjoz25YhvVREVv2x6kUHDZfDdLe5M2B6Y2O+iGK6wExadX5LvX7KQRE+1PqHgL0mpH 74RUP+AT4jJPo4rWvWoqj2ktGKSu91jmJpoPeRhhOTXjlvyhcUe/RCVUGFWrCWeTGEXv 7aBGqjQRYhcFIpuUPcGkqFVTUTt5bUUQUCkpikVGaHAG8a3jP8TVZ1X5foySHRa9Gqmz BqLO890PSF4ux9CzZgi5uR9dPshEFI6qOb/3R7UyHau8gHxCa7vUPbt3CJ2trtTm65Ig AAlQ== X-Received: by 10.66.218.225 with SMTP id pj1mr177630936pac.40.1452533987937; Mon, 11 Jan 2016 09:39:47 -0800 (PST) Received: from ?IPv6:2001:44b8:31ae:7b01::4? (2001-44b8-31ae-7b01-0000-0000-0000-0004.static.ipv6.internode.on.net. [2001:44b8:31ae:7b01::4]) by smtp.gmail.com with ESMTPSA id q8sm185373976pap.45.2016.01.11.09.39.45 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Jan 2016 09:39:47 -0800 (PST) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: svn commit: r405792 - in head/devel/gdb: . files/kgdb References: <201601111736.u0BHaDNK033226@repo.freebsd.org> To: John Baldwin , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org From: Kubilay Kocak Message-ID: <5693E8DD.7090201@FreeBSD.org> Date: Tue, 12 Jan 2016 04:39:41 +1100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Thunderbird/43.0 MIME-Version: 1.0 In-Reply-To: <201601111736.u0BHaDNK033226@repo.freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2016 17:39:48 -0000 On 12/01/2016 4:36 AM, John Baldwin wrote: > Author: jhb (src,doc committer) > Date: Mon Jan 11 17:36:13 2016 > New Revision: 405792 > URL: https://svnweb.freebsd.org/changeset/ports/405792 > > Log: > Various fixes to kgdb. Port revision bumped since kgdb is enabled by > default. > - kgdb -n now permits any valid string to be used instead of only > permitting numbers. In particular, this allows 'kgdb -n last' to be > used to open the most recent vmcore. > - kgdb will now try to determine the list of kernel modules even if the > kernel binary does not include debug symbols. This works fine in kernels > that have the changes in r290728. > - Mark trapframes as "signal trampoline frames". GDB assumes that "normal" > frames will never call into a NULL PC. Instead, it assumes that calling a > NULL PC will result in an exception (and thus a signal being posted > resulting in a signal frame). A trap for a NULL function pointer would > thus stop unwinding once it hit the frame with a NULL PC. Marking the > trapframes as a signal frame tells GDB it is ok to unwind past a NULL PC. > One side effect is that frames in the asm handler now display as "signal > handler called" instead of the raw line in assembly. Perhaps at some > point it would be nice to mark these up the way ddb does with the trap > number, etc. but GDB's stack code doesn't support custom frame printers. > > PR: 206044 > Reviewed by: luca.pizzamiglio@gmail.com (maintainer) > Approved by: koobs Was also approved by: maintainer