Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: Jason R Thorpe <thorpej@wasabisystems.com>,
	Kevin Buettner <kevinb@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [PATCH/RFA] Generic OS ABI handling for PowerPC
Date: Tue, 28 May 2002 16:46:00 -0000	[thread overview]
Message-ID: <1020528233517.ZM5467@localhost.localdomain> (raw)
In-Reply-To: Jason R Thorpe <thorpej@wasabisystems.com> "Re: [PATCH/RFA] Generic OS ABI handling for PowerPC" (May 28,  3:26pm)

On May 28,  3:26pm, Jason R Thorpe wrote:

> On Tue, May 28, 2002 at 01:46:29PM -0700, Kevin Buettner wrote:
> 
>  > Umm... rs6000-tdep.c references ppc_linux_* functions too.  Are
>  > you suggesting that they too should be moved to rs6000-tdep.c?
> 
> No it doesn't.  My patch moves all references to those functions into
> ppc-linux-tdep.c only, and uses the GDB OS ABI stuff to hook it in.

I see.  Up 'til now I hadn't looked at the new machinery you added.

Nicely done.

>  >     ppc-sysv-tdep.c	- PowerPC SysV ABI
> 
> I'm happy to move the ppc_sysv stuff into ppc-sysv-tdep.c, then, for now,
> and add ppc-sysv-tdep.o to all the targets that currently use rs6000-tdep.o.
> 
> Would that be an acceptable interim solution?

Yeah, I like this better.

> It seems certainly better than requiring all PowerPC targets to
> slurp in ppc-linux-tdep.o (which contains a lot of code that is
> completely useless for NetBSD, for example).

Hmm.  I see where you're coming from, but be careful in how you go
about it because we don't want to preclude the building of a cross
debugger which can debug both NetBSD/PPC and Linux/PPC binaries
(connected to a suitable target of course).

Kevin


  reply	other threads:[~2002-05-28 23:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-28 12:41 Jason R Thorpe
2002-05-28 12:52 ` Kevin Buettner
2002-05-28 13:46   ` Jason R Thorpe
2002-05-28 14:12     ` Kevin Buettner
2002-05-28 16:35       ` Jason R Thorpe
2002-05-28 16:46         ` Kevin Buettner [this message]
2002-05-28 16:47           ` Jason R Thorpe
2002-05-28 19:42             ` Andrew Cagney
2002-05-28 17:59           ` Jason R Thorpe
2002-05-29 17:37             ` Kevin Buettner
2002-05-29 19:08               ` Jason R Thorpe

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=1020528233517.ZM5467@localhost.localdomain \
    --to=kevinb@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=thorpej@wasabisystems.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