From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20419 invoked by alias); 13 Jun 2003 23:38:01 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 20191 invoked from network); 13 Jun 2003 23:37:56 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.131) by sources.redhat.com with SMTP; 13 Jun 2003 23:37:56 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id D92472B5F; Fri, 13 Jun 2003 19:37:45 -0400 (EDT) Message-ID: <3EEA6049.10005@redhat.com> Date: Fri, 13 Jun 2003 23:38:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Buettner Cc: Jim Blandy , gdb-patches@sources.redhat.com Subject: Re: [ppc64-linux] gdbarch hook to find true execution entry point References: <1030611231105.ZM27287@localhost.localdomain> <1030613224805.ZM7628@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-06/txt/msg00489.txt.bz2 > 2003-06-11 Jim Blandy >> >> * gdbarch.sh (gdbarch_bfd_entry_point): New gdbarch method. >> * arch-utils.c (generic_bfd_entry_point): New function. >> * arch-utils.h (generic_bfd_entry_point): New declaration. >> * gdbarch.c, gdbarch.h: Regenerated. >> * solib-svr4.c (enable_break): Call it, instead of accessing >> tmp_bfd->start_address directly. > > > The solib-svr4.c change is okay with me. If you can get Andrew on board > for the gdbarch changes, you're good to go. If you wind up implementing > it in bfd, consider the solib change to be pre-approved. I'm still struggling to differentiate gdbarch_bfd_entry_point, entry_point_address(), CALL_DUMMY_ADDRESS, and now CONVERT_FROM_FUNC_PTR_ADDR. I need to re-read the threads. (And I've even got the original PowerOpen spec at home!) Andrew