This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: MCF528x (MCFv4) support for ieee files
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: "Thorsten Brehm" <brehm at gmx dot net>
- Cc: binutils at sources dot redhat dot com, "Bernardo Innocenti" <bernie at develer dot com>, "Peter Barada" <pbarada at mail dot wm dot sps dot mot dot com>
- Date: 20 Oct 2003 08:58:12 -0700
- Subject: Re: MCF528x (MCFv4) support for ieee files
- References: <7359.1066639937@www59.gmx.net>
"Thorsten Brehm" <brehm@gmx.net> writes:
> However, I was still unable to convert the ieee output file to any other
> format. I got a "File format not recognized" error every time I tried to read
> the ieee file. I tracked the problem and found that the only problem appears to
> be the missing recognition of the "5282" processor type. I tried two minor
> modifications (see patch below) - and was lucky. I can now convert ieee files
> for the mcf5282 to coff
> format - and successfully use them in GDB. So far, the patch only works for
> the mcf5282 - one could easily extend it for the other processors of the 528x
> family.
>
> Very well then. However, I'm not yet really trusting the magic I did there.
> ;) I need to integrate the tool in our company's make process and I'd really
> be grateful for any comments before I dare to do that.
> Was that all what was missing or is there more to this issue? Comments very
> welcome.
That was probably a reasonable thing to do. Another approach would be
to modify ieee_object_p() in bfd/ieee.c to recognize whatever you find
in your IEEE files.
Ian