From 7608fe34250103a7b9545d34936ae6ec135eb9d1 Mon Sep 17 00:00:00 2001 From: hiren Date: Mon, 6 May 2013 18:30:49 +0000 Subject: [PATCH] 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 --- usr.sbin/pmcannotate/pmcannotate.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/usr.sbin/pmcannotate/pmcannotate.c b/usr.sbin/pmcannotate/pmcannotate.c index 0a9d0d7a0d4e..374290fde22e 100644 --- a/usr.sbin/pmcannotate/pmcannotate.c +++ b/usr.sbin/pmcannotate/pmcannotate.c @@ -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)