mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
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
This commit is contained in:
parent
9e2b4b0da3
commit
28a83c9fc1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=250304
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user