forked from Imagelibrary/binutils-gdb
* 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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user