qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] Can 32-bit applications be debugged using gdb stub on 64-


From: alarson
Subject: [Qemu-discuss] Can 32-bit applications be debugged using gdb stub on 64-bit system emulations?
Date: Fri, 28 Oct 2016 10:30:09 -0500

I have a 32-bit application (an embedded OS) that we've been debugging
by running on a qemu system emulation (arm, ppc, mips, x86).  Its
worked well for many years.  Recently we've needed to switch to 64-bit
system emulations, but the application is still 32-bit.

The qemu gdb stub seems to insist on reporting that it is a 64-bit
architecture even when we've mode switched to 32-bit for running the
application.  As a consequence debugging doesn't work for a variety of
reasons, including the infamous: "Remote 'g' packet reply is too
long".  I have not been able to get any of the "solutions" that I've found 

to work.

Can 32-bit applications be debugged using QEMU's gdb stub on 64-bit
system emulations?  Pointers and suggestions solicited.

Aaron.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]