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
Date: Sat, 15 Jun 2002 20:23:19 +0300
From: "Eli Zaretskii" <eliz@is.elta.co.il>
Sender: halo1@zahav.net.il
CC: gdb-patches@sources.redhat.com
Reply-to: Eli Zaretskii <eliz@is.elta.co.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.
Should be easy to fix. Consider it done :-).
Mark