From: Daniel Jacobowitz <dmj+@andrew.cmu.edu>
To: Kevin Buettner <kevinb@cygnus.com>
Cc: Andrew Cagney <ac131313@cygnus.com>, gdb@sources.redhat.com
Subject: Re: [RFC] Changes to *_*regset functions
Date: Fri, 13 Jul 2001 12:43:00 -0000 [thread overview]
Message-ID: <20010713124314.A4541@nevyn.them.org> (raw)
In-Reply-To: <1010713193513.ZM20388@ocotillo.lan>
On Fri, Jul 13, 2001 at 12:35:13PM -0700, Kevin Buettner wrote:
> On Jul 13, 2:46pm, Andrew Cagney wrote:
>
> > > Along with the cross-core handling, and eventually cross-thread support, I
> > > want to multi-arch supply_gregset/fill_gregset/supply_fpregset/fill_fpregset,
> > > and make them target rather than native functions where possible. The issue,
> > > of course, is that the *regset_t and *reg_t types are not available to us
> > > when cross compiling, and attempting to make them available seems the wrong
> > > way to go.
> >
> >
> > Do they belong in gdbarch? gdbarch contains things that describe the
> > target systems ISA, ABI, ...
> >
> > Something like supply_gregset() might use gdbarch. I don't know that it
> > belongs in multi-arch.
>
> For Daniel's purposes, supply_gregset() does need to be multi-arch.
> Imagine wanting to debug UnixWare, Solaris/x86, Linux, and FreeBSD
> core files from a NetBSD/PPC platform. In other words, think of the
> core file format as an extension of the ABI.
Exactly what I wanted to address. The other issue is with thread
libraries; thread_db makes calls down to supply_gregset and
fill_gregset, so if we ever share that layer between two ABIs, this
will need to happen.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2001-07-13 12:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-13 10:26 Daniel Jacobowitz
2001-07-13 11:47 ` Andrew Cagney
2001-07-13 12:35 ` Kevin Buettner
2001-07-13 12:43 ` Daniel Jacobowitz [this message]
2001-07-13 12:55 ` Andrew Cagney
2001-07-13 12:21 ` Kevin Buettner
[not found] ` <3B4F4CC1.1A9076AB@home.com>
[not found] ` <1010713195425.ZM20451@ocotillo.lan>
2001-07-13 13:07 ` Can you point me in the right direction Stephen Smith
2001-07-13 13:29 ` Kevin Buettner
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=20010713124314.A4541@nevyn.them.org \
--to=dmj+@andrew.cmu.edu \
--cc=ac131313@cygnus.com \
--cc=gdb@sources.redhat.com \
--cc=kevinb@cygnus.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