From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5099 invoked by alias); 26 Mar 2003 23:31:29 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 5092 invoked from network); 26 Mar 2003 23:31:29 -0000 Received: from unknown (63.119.183.65) by sources.redhat.com with QMTP; 26 Mar 2003 23:31:29 -0000 Received: (qmail 23033 invoked from network); 26 Mar 2003 23:33:10 -0000 Received: from cpe-24-221-209-215.co.sprintbbd.net (HELO doc.com) (24.221.209.215) by external1 with SMTP; 26 Mar 2003 23:33:10 -0000 Date: Wed, 26 Mar 2003 23:31:00 -0000 Subject: objc-lang.c portability (Was Re: [PATCH] Step over Objective-C dispatch function) Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) Cc: gdb@sources.redhat.com To: Andrew Cagney From: Adam Fedor In-Reply-To: <3E7A2DCA.6050205@redhat.com> Message-Id: <0E3D4316-5FE3-11D7-8F82-000A277AC1A4@doc.com> Content-Transfer-Encoding: 7bit X-SW-Source: 2003-03/txt/msg00365.txt.bz2 On Thursday, March 20, 2003, at 02:08 PM, Andrew Cagney wrote: > > I've looked at what the underlying code is trying to do and, > unfortunatly, the original objc-lang.c botched its portability(1), > sigh! The file is currently native only so infrun.c can't directly > refer to objc-lang.c, and hence, will need to go via a dispatch table. > Going via a dispatch table wouldn't hurt anyway. > > (1) I noticed that the parameter extract methods assume host=target. > I'm wondering what's not portable with objc-lang.c? With the remaining patches I have that require this, I was thinking it might be easier to just fix it now. The alternative appears to be adding a whole bunch of things to the language_defn structure. I admit I don't really understand the problem though.