From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20720 invoked by alias); 11 Feb 2004 18:33:35 -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 20713 invoked from network); 11 Feb 2004 18:33:34 -0000 Received: from unknown (HELO localhost.redhat.com) (216.129.200.20) by sources.redhat.com with SMTP; 11 Feb 2004 18:33:34 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id B7A3A2B92; Wed, 11 Feb 2004 13:33:33 -0500 (EST) Message-ID: <402A757D.9020904@gnu.org> Date: Wed, 11 Feb 2004 18:33:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 MIME-Version: 1.0 To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: [rfa/mips] Shared library trampoline support for mips-linux References: <20040210231538.GA8420@nevyn.them.org> <40296B8A.5060502@gnu.org> <20040211000457.GA9655@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-02/txt/msg00303.txt.bz2 > On Tue, Feb 10, 2004 at 06:38:50PM -0500, Andrew Cagney wrote: > >> >- /* Hook in OS ABI-specific overrides, if they have been registered. */ >> >- gdbarch_init_osabi (info, gdbarch); >> >- >> > set_gdbarch_skip_trampoline_code (gdbarch, mips_skip_stub); >> > >> > set_gdbarch_in_solib_call_trampoline (gdbarch, mips_in_call_stub); >> > set_gdbarch_in_solib_return_trampoline (gdbarch, mips_in_return_stub); > >> >> Assuming that the default is no OS, I'm actually wondering why these are >> set at all. > > > Because they're used for MIPS16, presumably. The fact that MIPS16 call > stubs use the solib machinery is why I had a ??? in my question. If you can wrap those two in an "if (osabi isn't for an os)", and add a rude comment, I'm ok. I get the feeling that infrun should just have a list of per-osabi function names that it either silently step-outof or finishes. If it were user visible, people could even add to it. Andrew