Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: Andrew Cagney <cagney@gnu.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [rfa/mips] Shared library trampoline support for mips-linux
Date: Wed, 11 Feb 2004 00:04:00 -0000	[thread overview]
Message-ID: <20040211000457.GA9655@nevyn.them.org> (raw)
In-Reply-To: <40296B8A.5060502@gnu.org>

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.

> >+  /* Hook in OS ABI-specific overrides, if they have been registered.  */
> >+  gdbarch_init_osabi (info, gdbarch);
> 
> >+#undef IN_SOLIB_DYNSYM_RESOLVE_CODE
> >+#define IN_SOLIB_DYNSYM_RESOLVE_CODE(PC) 
> >mips_linux_in_dynsym_resolve_code (PC)
> 
> ulgh, still not multi-arched :-(

Yeah.  I spent a little while thinking about how to multi-arch it and
couldn't come up with a good solution, so I let it be.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


  reply	other threads:[~2004-02-11  0:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-10 23:15 Daniel Jacobowitz
2004-02-10 23:38 ` Andrew Cagney
2004-02-11  0:04   ` Daniel Jacobowitz [this message]
2004-02-11 18:33     ` Andrew Cagney
2004-02-11 18:48       ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040211000457.GA9655@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=cagney@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox