From owner-svn-src-head@FreeBSD.ORG Mon May 6 18:30:50 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 093ED54F; Mon, 6 May 2013 18:30:50 +0000 (UTC) (envelope-from hiren@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id EE8F7997; Mon, 6 May 2013 18:30:49 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r46IUnem010205; Mon, 6 May 2013 18:30:49 GMT (envelope-from hiren@svn.freebsd.org) Received: (from hiren@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r46IUnnE010204; Mon, 6 May 2013 18:30:49 GMT (envelope-from hiren@svn.freebsd.org) Message-Id: <201305061830.r46IUnnE010204@svn.freebsd.org> From: Hiren Panchasara Date: Mon, 6 May 2013 18:30:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r250304 - head/usr.sbin/pmcannotate X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 May 2013 18:30:50 -0000 Author: hiren Date: Mon May 6 18:30:49 2013 New Revision: 250304 URL: http://svnweb.freebsd.org/changeset/base/250304 Log: objdump output changed indentation from 1 space to 2 spaces somewhere between FreeBSD9 and CURRENT. Removing this rather unnecessary check which expects the second character of assembly line to be a hex number to make pmcannotate actually annotate the code and assembly. PR: 165654 Submitted by: Vitaly Magerya Reviewed by: attilio Approved by: sbruno (mentor) MFC after: 3 weeks Modified: head/usr.sbin/pmcannotate/pmcannotate.c Modified: head/usr.sbin/pmcannotate/pmcannotate.c ============================================================================== --- head/usr.sbin/pmcannotate/pmcannotate.c Mon May 6 17:44:12 2013 (r250303) +++ head/usr.sbin/pmcannotate/pmcannotate.c Mon May 6 18:30:49 2013 (r250304) @@ -118,8 +118,6 @@ isasminline(const char *str) void *ptr; int nbytes; - if (isxdigit(str[1]) == 0) - return (0); if (sscanf(str, " %p%n", &ptr, &nbytes) != 1) return (0); if (str[nbytes] != ':' || isspace(str[nbytes + 1]) == 0)