From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30783 invoked by alias); 18 Dec 2003 05:50:42 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 30774 invoked from network); 18 Dec 2003 05:50:39 -0000 Received: from unknown (HELO sohm.kpit.com) (203.129.230.82) by sources.redhat.com with SMTP; 18 Dec 2003 05:50:39 -0000 Content-Class: urn:content-classes:message Subject: RE: [PATCH] Fix problem with sim_load (h8300) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Thu, 18 Dec 2003 05:50:00 -0000 Message-ID: <69595093233BB547BB70CF5E492B63F203402D22@sohm.kpit.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Dhananjay R. Deshpande" To: "Michael Snyder" Cc: X-SW-Source: 2003-12/txt/msg00428.txt.bz2 Hi Michael, For convenience I use h8300-elf-gdb built with --enable-tragets=3Dh8300-cof= f. This way I can debug/test both coff and elf objects. Because of this bfd= recognizes "coff-h8300" format although binary is in elf32-h8300 format an= d it worked for me.=20 The patch works fine for elf only build. Please check it in. Regards, Dhananjay > -----Original Message----- > From: Michael Snyder [mailto:msnyder@redhat.com] > Sent: Thursday, December 18, 2003 1:25 AM > To: Dhananjay R. Deshpande > Cc: gdb-patches@sources.redhat.com > Subject: [PATCH] Fix problem with sim_load (h8300) >=20 >=20 >=20 > Dhananjay, this seems to fix the problem. I discovered that > in most cases people don't pass a specific bfd-target to bfd_openr. > They just let bfd figure out which target to use. >=20 > I'll give you a chance to try this out before I check it in. >=20 > Michael >=20 >=20