This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: RFA: USE_STRUCT_CONVENTION for NetBSD/i386
- To: jtc at redback dot com
- Subject: Re: RFA: USE_STRUCT_CONVENTION for NetBSD/i386
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Fri, 24 Mar 2000 13:57:20 +1100
- CC: gdb-patches at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <5msnxieegg.fsf@jtc.redbacknetworks.com>
"J.T. Conklin" wrote:
> ! int
> ! i386nbsd_use_struct_convention (int gcc_p, struct type *type)
> ! {
> ! return !(TYPE_LENGTH (type) == 1
> ! || TYPE_LENGTH (type) == 2
> ! || TYPE_LENGTH (type) == 4
> ! || TYPE_LENGTH (type) == 8);
> ! }
> !
I'd add a FIXME pointing out known problems with the function.
Otherwize ok.
I assume Mark is trying to figure out why NetBSD can't simply use a
common i386_use_struct_convention function. I take it from your answer,
that NetBSD's convention isn't 100% standard (where standard would mean
what someone other than Linux or *BSD did. Solaris/x86?).
Andrew