This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2] tcg/i386: Use GDB JIT debugging interface only for hosts with ELF
- From: Richard Henderson <rth at twiddle dot net>
- To: Stefan Weil <sw at weilnetz dot de>
- Cc: qemu-devel at nongnu dot org, Blue Swirl <blauwirbel at gmail dot com>, gdb at sourceware dot org
- Date: Sat, 14 Apr 2012 12:42:31 -0400
- Subject: Re: [PATCH v2] tcg/i386: Use GDB JIT debugging interface only for hosts with ELF
- References: <1333813984-1516-1-git-send-email-sw@weilnetz.de>
On 04/07/2012 11:53 AM, Stefan Weil wrote:
> Not all i386 / x86_64 hosts use ELF.
> Ask the compiler whether ELF is used.
>
> On w64, gdb crashes when ELF_HOST_MACHINE is defined.
Hmm. Because the other way this could be addressed is
to fix gdb. (1) it shouldn't crash and (2) it could
support elf alongside pe-coff fairly easily i'd imagine;
just a matter of enabling that bfd backend.
Shall we ask gdb maintainers?
r~