* configure.in: Define BSD44_FORMAT if the target looks like a

BSD4.4 derived system.
	* configure: Rebuild.
	* Makefile.in (.c.o): Add @DEFS@.
	* gmon_io.c (gmon_out_read): In BSD44_FORMAT code, get profrate
	from profrate field, not version field.
This commit is contained in:
Ian Lance Taylor
1997-02-27 17:49:00 +00:00
parent f7d098a5b9
commit 22395d7ed4
5 changed files with 29 additions and 2 deletions

View File

@@ -188,7 +188,7 @@ DEFUN (gmon_out_read, (filename), const char *filename)
{
int profrate;
profrate = bfd_get_32 (core_bfd, (bfd_byte *) &raw.version[0]);
profrate = bfd_get_32 (core_bfd, (bfd_byte *) &raw.profrate[0]);
if (!s_highpc)
hz = profrate;
else if (hz != profrate)