From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N3Ste-00057z-Ms for qemu-devel@nongnu.org; Thu, 29 Oct 2009 07:10:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N3Ste-00056q-3D for qemu-devel@nongnu.org; Thu, 29 Oct 2009 07:10:26 -0400 Received: from [199.232.76.173] (port=45713 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N3Std-00056i-UJ for qemu-devel@nongnu.org; Thu, 29 Oct 2009 07:10:25 -0400 Received: from fg-out-1718.google.com ([72.14.220.157]:46083) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N3Std-0004XY-HR for qemu-devel@nongnu.org; Thu, 29 Oct 2009 07:10:25 -0400 Received: by fg-out-1718.google.com with SMTP id 16so2096034fgg.10 for ; Thu, 29 Oct 2009 04:10:24 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <0F5F73E36031FD46AD3F2E6948F0C0A001E8011E@frimb01.corp.atmel.com> Date: Thu, 29 Oct 2009 12:10:24 +0100 Message-ID: <761ea48b0910290410l5d994415h3241c62c7005c730@mail.gmail.com> Subject: Re: [Qemu-devel] Cross-debugging support in QEMU using GDB From: Laurent Desnogues Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: qemu-devel@nongnu.org, "Boyapati, Anitha" On Thu, Oct 29, 2009 at 12:04 PM, Alexander Graf wrote: [...] >> More on (2): if there is no OS, then I think a small application like >> bootloader should probably be present to launch the cross-compiled >> executable on to Qemu. Any further suggestions on how to make (2) possib= le? >> =A0All the previous threads in developer mail archives dealt with debugg= ing >> linux image in some form or the other. > > Qemu does that job, interpreting the ELF headers. I'm not sure where the > linking is done though, so maybe better read the code there :-). For dynamically linked programs, the simulated ld.so will be run so you have no control over what's going on. Laurent