This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
> 
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]