|
From: <sv...@va...> - 2009-04-29 04:22:30
|
Author: njn
Date: 2009-04-29 05:22:18 +0100 (Wed, 29 Apr 2009)
New Revision: 9675
Log:
Update some comments.
Modified:
branches/DARWIN/coregrind/m_debuginfo/priv_readmacho.h
branches/DARWIN/coregrind/m_debuginfo/readmacho.c
Modified: branches/DARWIN/coregrind/m_debuginfo/priv_readmacho.h
===================================================================
--- branches/DARWIN/coregrind/m_debuginfo/priv_readmacho.h 2009-04-29 04:18:30 UTC (rev 9674)
+++ branches/DARWIN/coregrind/m_debuginfo/priv_readmacho.h 2009-04-29 04:22:18 UTC (rev 9675)
@@ -34,7 +34,6 @@
/* Identify a Mach-O object file by peering at the first few bytes of
it. */
-// GrP fixme does no such thing
extern Bool ML_(is_macho_object_file)( const void* buf, SizeT size );
/* The central function for reading Mach-O debug info. For the
Modified: branches/DARWIN/coregrind/m_debuginfo/readmacho.c
===================================================================
--- branches/DARWIN/coregrind/m_debuginfo/readmacho.c 2009-04-29 04:18:30 UTC (rev 9674)
+++ branches/DARWIN/coregrind/m_debuginfo/readmacho.c 2009-04-29 04:22:18 UTC (rev 9675)
@@ -103,9 +103,8 @@
Bool ML_(is_macho_object_file)( const void* buf, SizeT szB )
{
- // GrP fixme Mach-O headers might not be in this mapped data
-
- /* (JRS: ... because we only mapped a page for this initial check,
+ /* (JRS: the Mach-O headers might not be in this mapped data,
+ because we only mapped a page for this initial check,
or at least not very much, and what's at the start of the file
is in general a so-called fat header. The Mach-O object we're
interested in could be arbitrarily far along the image, and so
|