From 2c89ba265c3f2469e69925567f99941ee100c153 Mon Sep 17 00:00:00 2001 From: Sean Eric Fagan Date: Fri, 6 Mar 1992 11:57:22 +0000 Subject: [PATCH] Fixed a typo in an if statement -- gcc caught it ('=' vs. '=='). --- gprof/i386.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gprof/i386.c b/gprof/i386.c index cdced1c9b8..dc28611b30 100644 --- a/gprof/i386.c +++ b/gprof/i386.c @@ -49,7 +49,7 @@ nltype indirectchild = { int iscall (unsigned char *ip) { - if (*ip == 0xeb || *ip = 0x9a) + if (*ip == 0xeb || *ip == 0x9a) return 1; return 0; } @@ -95,8 +95,7 @@ findcall( parentp , p_lowpc , p_highpc ) * check that this is the address of * a function. */ - destpc = ( (unsigned long)instructp + 5 - - (unsigned long) textspace; + destpc = ( (unsigned long)instructp + 5 - (unsigned long) textspace); if ( destpc >= s_lowpc && destpc <= s_highpc ) { childp = nllookup( destpc ); # ifdef DEBUG -- 2.34.1