This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa:ppc] Fix PPC/NBSD struct return; Was: userdef.exp regression for ppc?
- From: Jason R Thorpe <thorpej at wasabisystems dot com>
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Cc: Michael Elizabeth Chastain <mec at shout dot net>,gdb-patches at sources dot redhat dot com
- Date: Sun, 2 Jun 2002 11:15:36 -0700
- Subject: Re: [rfa:ppc] Fix PPC/NBSD struct return; Was: userdef.exp regression for ppc?
- Organization: Wasabi Systems, Inc.
- References: <200206011546.g51FkMj30586@duracef.shout.net> <3CF902B0.50405@cygnus.com>
On Sat, Jun 01, 2002 at 01:21:52PM -0400, Andrew Cagney wrote:
> The old code, for reasons I'm not sure, was failing to detect NetBSD and
> hence was failing ot set it.
The reason the old code didn't detect NetBSD is because it wasn't looking
for the .note sections that NetBSD uses to identify its binaries. The
generic OS ABI code does understand NetBSD's .note sections.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>