diff options
author | Michael Snyder <msnyder@vmware.com> | 2004-01-06 00:58:48 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2004-01-06 00:58:48 +0000 |
commit | 3d29fdb4895aadc84a77abcd0712153dbf22a941 (patch) | |
tree | 4d80b1184b38e961d637d11fe94053e41005115e /sim/h8300 | |
parent | c06c4df5f854e3626f3cda97e50d966858dde65e (diff) | |
download | gdb-3d29fdb4895aadc84a77abcd0712153dbf22a941.zip gdb-3d29fdb4895aadc84a77abcd0712153dbf22a941.tar.gz gdb-3d29fdb4895aadc84a77abcd0712153dbf22a941.tar.bz2 |
2004-01-05 Michael Snyder <msnyder@redhat.com>
* compile.c (sim_load): Don't pass a type to bfd_openr.
Diffstat (limited to 'sim/h8300')
-rw-r--r-- | sim/h8300/ChangeLog | 4 | ||||
-rw-r--r-- | sim/h8300/compile.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog index 5d66c95..9938196 100644 --- a/sim/h8300/ChangeLog +++ b/sim/h8300/ChangeLog @@ -1,3 +1,7 @@ +2004-01-05 Michael Snyder <msnyder@redhat.com> + + * compile.c (sim_load): Don't pass a type to bfd_openr. + 2003-12-16 Michael Snyder <msnyder@redhat.com> Patch submitted by Anil Paranjape <AnilP1@KPITCummins.com> diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c index 462240c..ec5f974 100644 --- a/sim/h8300/compile.c +++ b/sim/h8300/compile.c @@ -5052,7 +5052,7 @@ sim_load (SIM_DESC sd, char *prog, bfd *abfd, int from_tty) if (abfd != NULL) prog_bfd = abfd; else - prog_bfd = bfd_openr (prog, "coff-h8300"); + prog_bfd = bfd_openr (prog, NULL); if (prog_bfd != NULL) { /* Set the cpu type. We ignore failure from bfd_check_format |