This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] Moving forward on the road to a truly multi-arched i386
- From: "Eli Zaretskii" <eliz at is dot elta dot co dot il>
- To: kettenis at chello dot nl
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sat, 15 Jun 2002 20:23:19 +0300
- Subject: Re: [PATCH] Moving forward on the road to a truly multi-arched i386
- References: <200206141945.g5EJjWe23815@elgar.kettenis.dyndns.org>
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
> Date: Fri, 14 Jun 2002 21:45:32 +0200 (CEST)
> From: Mark Kettenis <kettenis@chello.nl>
>
> Since nobody objected, I checked this in.
Darn! I missed one gotcha:
> +static enum gdb_osabi
> +i386_coff_osabi_sniffer (bfd *abfd)
> +{
> + if (strcmp (bfd_get_target (abfd), "coff-go32-exe") == 0)
> + return GDB_OSABI_GO32;
This should also allow "coff-go32", which is a raw COFF executable
without the DOS stub loader. DJGPP debugging supports that format as
well.