Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jason R Thorpe <thorpej@wasabisystems.com>
To: 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:47:00 -0000	[thread overview]
Message-ID: <20020528164621.B22765@dr-evil.shagadelic.org> (raw)
In-Reply-To: <1020528233517.ZM5467@localhost.localdomain>; from kevinb@redhat.com on Tue, May 28, 2002 at 04:35:17PM -0700

On Tue, May 28, 2002 at 04:35:17PM -0700, Kevin Buettner wrote:

 > > Would that be an acceptable interim solution?
 > 
 > Yeah, I like this better.

Ok, I'll post another patch shortly.

 > 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).

Yes, I understand.  But it still seems correct to cleanly separate
the targets so that one day you'll be able to specify precisely which
ones you want.

(Even without my patch, you can't properly cross debug both Linux and
NetBSD PowerPC binaries in the same gdb, because the Linux cross debug
stuff is incomplete.)

So, yes, one day I want to be able to say:

	--target=powerpc-unknown-netbsd,powerpc-unknown-linux-gnu

...or whatever, and have the right thing happen, all based on the
markers in the debugged executable that the gdbarch_osabi_*() stuff
can examine (the osabi stuff will even warn you if you try to debug
an executable which requires OS ABI support not compiled into GDB).

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>


  reply	other threads:[~2002-05-28 23:46 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
2002-05-28 16:47           ` Jason R Thorpe [this message]
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=20020528164621.B22765@dr-evil.shagadelic.org \
    --to=thorpej@wasabisystems.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=kevinb@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