From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25832 invoked by alias); 12 Mar 2009 23:07:17 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 25821 invoked by uid 22791); 12 Mar 2009 23:07:16 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEALsyuUmdwc4w/2dsb2JhbADRJYN+Bg Message-Id: <20685469-4CEE-4B23-B8E7-F769ADB1C0E0@elis.ugent.be> From: Jonas Maebe To: archer@sourceware.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Subject: Re: Fixes for Mac OS X/x86 building/running Date: Thu, 12 Mar 2009 23:07:00 -0000 References: <26B42B2B-EBF1-48CB-9B10-1678C8FA8154@elis.ugent.be> X-SW-Source: 2009-q1/txt/msg00377.txt.bz2 On 12 Mar 2009, at 23:31, Tom Tromey wrote: > Just FYI, the machoread.c patch won't apply upstream, because we > haven't submitted the delayed partial symbol reading patch yet. Ah, so that one is actually appropriate for this list :) > I suspect you must have added the NULL in the wrong spot, because that > line is: > > (*objfile->sf->sym_read) (objfile, mainline); > > ... but the new field is the next field in the struct, > sym_read_psymbols. You're absolutely right, thanks! That's also the cause of the problems I experienced. Once I put the function pointer in the right place, everything started to work fine. I'll send a fixed patch tomorrow. Jonas PS: I've mailed the request for the copyright assignment form.