From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1508 invoked by alias); 8 May 2007 08:10:27 -0000 Received: (qmail 1497 invoked by uid 22791); 8 May 2007 08:10:26 -0000 X-Spam-Check-By: sourceware.org Received: from imx12.toshiba.co.jp (HELO imx12.toshiba.co.jp) (61.202.160.132) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 08 May 2007 08:10:22 +0000 Received: from wall11.toshiba.co.jp (wall11 [133.199.90.149]) by imx12.toshiba.co.jp with ESMTP id l488AEPs029542; Tue, 8 May 2007 17:10:14 +0900 (JST) Received: (from root@localhost) by wall11.toshiba.co.jp id l488ADkB004301; Tue, 8 May 2007 17:10:13 +0900 (JST) Received: from ovp11.toshiba.co.jp [133.199.90.148] by wall11.toshiba.co.jp with ESMTP id TAA04300; Tue, 8 May 2007 17:10:13 +0900 Received: from mx11.toshiba.co.jp (localhost [127.0.0.1]) by ovp11.toshiba.co.jp with ESMTP id l488ADII014638; Tue, 8 May 2007 17:10:13 +0900 (JST) Received: from mx.tjsys.co.jp by toshiba.co.jp id l488AD2A003846; Tue, 8 May 2007 17:10:13 +0900 (JST) Received: from is-com10 (IDENT:U2FsdGVkX1/FLNHVo+CtVNouRSX/h2nhbkTIdrIdpNU@filtering.tjsys.co.jp [157.79.3.71]) by mx.tjsys.co.jp (8.12.11/8.12.11) with SMTP id l488ACgH022453; Tue, 8 May 2007 17:10:12 +0900 (JST) Received: from localhost ([157.79.51.61]) by ims.tjsys.co.jp (iPlanet Messaging Server 5.2 HotFix 2.10 (built Dec 26 2005)) with ESMTP id <0JHP00H2XQOUQ1@ims.tjsys.co.jp>; Tue, 08 May 2007 17:10:07 +0900 (JST) Date: Tue, 08 May 2007 08:10:00 -0000 From: Emi SUZUKI Subject: Re: [rfc] [2/4] SPU overlay support: The SPU target part In-reply-to: <200705072225.l47MPxAl024340@d12av02.megacenter.de.ibm.com> To: uweigand@de.ibm.com Cc: gdb-patches@sourceware.org Message-id: <20070508.171059.207583878.emi-suzuki@tjsys.co.jp> MIME-version: 1.0 X-Mailer: Mew version 5.2 on Emacs 22.0.90 / Mule 5.0 (SAKAKI) Content-type: Text/Plain; charset=us-ascii Content-transfer-encoding: 7bit References: <200705072225.l47MPxAl024340@d12av02.megacenter.de.ibm.com> X-WAuditID: 0705081710070000015714 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-05/txt/msg00112.txt.bz2 Hello Ulrich, I know that the duscussion about the corresponding gdbarch changes is going on (and I unfortunately have no alternative idea about it), but just want to notice you something that I came across. > +static void > +spu_overlay_new_objfile (struct objfile *objfile) > +{ > + struct spu_overlay_table *ovly_table; > + bfd *obfd = objfile->obfd; > + struct obj_section *osect; It will cause SEGV if objfile is NULL. That code seems to be optimized out by `-O2' option of GCC, though. -- Emi SUZUKI / emi-suzuki at tjsys.co.jp