This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
RE: [PATCH] Fix problem with sim_load (h8300)
- From: "Dhananjay R. Deshpande" <dhananjayd at KPITCummins dot com>
- To: "Michael Snyder" <msnyder at redhat dot com>
- Cc: <gdb-patches at sources dot redhat dot com>
- Date: Thu, 18 Dec 2003 11:19:38 +0530
- Subject: RE: [PATCH] Fix problem with sim_load (h8300)
Hi Michael,
For convenience I use h8300-elf-gdb built with --enable-tragets=h8300-coff. 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 and it worked for me.
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)
>
>
>
> 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.
>
> I'll give you a chance to try this out before I check it in.
>
> Michael
>
>