Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 2013 18:30:49 +0000 (UTC)
From:      Hiren Panchasara <hiren@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r250304 - head/usr.sbin/pmcannotate
Message-ID:  <201305061830.r46IUnnE010204@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <vmagerya@gmail.com>
  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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305061830.r46IUnnE010204>